From 534f46b5236e58dd69fd4b4fd019518ffa96778b Mon Sep 17 00:00:00 2001 From: wang_zhiqiang Date: Tue, 21 Aug 2018 14:48:01 +0800 Subject: Change homescreen-service from c project to c++ project To impove homescreen-service's extensibility, Changed homescreen.c to homescreen.cpp, hs-helper.h/hs-helper.c to hs-helper.hpp. Change-Id: I12301f2eec237b0952830c9050c99475cacebb6d Signed-off-by: wang_zhiqiang --- src/hmi-debug.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/hmi-debug.h') diff --git a/src/hmi-debug.h b/src/hmi-debug.h index 2a744ba..3c71ff5 100644 --- a/src/hmi-debug.h +++ b/src/hmi-debug.h @@ -17,6 +17,10 @@ #ifndef __HMI_DEBUG_H__ #define __HMI_DEBUG_H__ +#ifdef __cplusplus +extern "C" { +#endif + #include #include #include @@ -67,4 +71,7 @@ static void _HMI_LOG(enum LOG_LEVEL level, const char* file, const char* func, c free(message); } +#ifdef __cplusplus +} +#endif #endif //__HMI_DEBUG_H__ \ No newline at end of file -- cgit 1.2.3-korg