summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/utouch/frame-mtdev.h8
-rw-r--r--include/utouch/frame.h8
2 files changed, 16 insertions, 0 deletions
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 @@
22#ifndef _UTOUCH_FRAME_MTDEV_H 22#ifndef _UTOUCH_FRAME_MTDEV_H
23#define _UTOUCH_FRAME_MTDEV_H 23#define _UTOUCH_FRAME_MTDEV_H
24 24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
25#define MTDEV_NO_LEGACY_API 29#define MTDEV_NO_LEGACY_API
26 30
27#include <utouch/frame.h> 31#include <utouch/frame.h>
@@ -36,4 +40,8 @@ int utouch_frame_init_mtdev(utouch_frame_handle fh,
36const struct utouch_frame * 40const struct utouch_frame *
37utouch_frame_pump_mtdev(utouch_frame_handle fh, const struct input_event *ev); 41utouch_frame_pump_mtdev(utouch_frame_handle fh, const struct input_event *ev);
38 42
43#ifdef __cplusplus
44}
45#endif
46
39#endif 47#endif
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 @@
22#ifndef _UTOUCH_FRAME_H 22#ifndef _UTOUCH_FRAME_H
23#define _UTOUCH_FRAME_H 23#define _UTOUCH_FRAME_H
24 24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
25#include <stdint.h> 29#include <stdint.h>
26 30
27#define UTOUCH_FRAME_VERSION 0x00001000 31#define UTOUCH_FRAME_VERSION 0x00001000
@@ -247,4 +251,8 @@ int utouch_frame_set_current_slot(utouch_frame_handle fh, int slot);
247const struct utouch_frame *utouch_frame_sync(utouch_frame_handle fh, 251const struct utouch_frame *utouch_frame_sync(utouch_frame_handle fh,
248 utouch_frame_time_t time); 252 utouch_frame_time_t time);
249 253
254#ifdef __cplusplus
255}
256#endif
257
250#endif 258#endif