From a06bde2b7aec991b798de9a8e0d7972adaabb40d Mon Sep 17 00:00:00 2001 From: Henrik Rydberg Date: Mon, 14 Feb 2011 10:19:09 +0100 Subject: Add C++ header integration Signed-off-by: Henrik Rydberg --- include/utouch/frame-mtdev.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/utouch/frame-mtdev.h') diff --git a/include/utouch/frame-mtdev.h b/include/utouch/frame-mtdev.h index f3957b9..f8da032 100644 --- a/include/utouch/frame-mtdev.h +++ b/include/utouch/frame-mtdev.h @@ -22,6 +22,10 @@ #ifndef _UTOUCH_FRAME_MTDEV_H #define _UTOUCH_FRAME_MTDEV_H +#ifdef __cplusplus +extern "C" { +#endif + #define MTDEV_NO_LEGACY_API #include @@ -36,4 +40,8 @@ int utouch_frame_init_mtdev(utouch_frame_handle fh, const struct utouch_frame * utouch_frame_pump_mtdev(utouch_frame_handle fh, const struct input_event *ev); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3