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.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/utouch/frame.h') diff --git a/include/utouch/frame.h b/include/utouch/frame.h index 08e4e26..f136eb1 100644 --- a/include/utouch/frame.h +++ b/include/utouch/frame.h @@ -22,6 +22,10 @@ #ifndef _UTOUCH_FRAME_H #define _UTOUCH_FRAME_H +#ifdef __cplusplus +extern "C" { +#endif + #include #define UTOUCH_FRAME_VERSION 0x00001000 @@ -247,4 +251,8 @@ int utouch_frame_set_current_slot(utouch_frame_handle fh, int slot); const struct utouch_frame *utouch_frame_sync(utouch_frame_handle fh, utouch_frame_time_t time); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3