Fix redefine issue in header 89/127189/1
authorsungwook79.park <sungwook79.park@samsung.com>
Wed, 26 Apr 2017 10:42:50 +0000 (19:42 +0900)
committersungwook79.park <sungwook79.park@samsung.com>
Wed, 26 Apr 2017 10:42:50 +0000 (19:42 +0900)
Change-Id: I7cac7c48649231a450877cc5d8f88ea098258353
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
inc/MoreOption.h
inc/w-input-selector.h
src/MoreOption.cpp

index 70843ab..f410d52 100755 (executable)
@@ -26,9 +26,7 @@ class MoreOption
 {
        Evas_Object *nf;
        Evas_Object *more_option_layout;
-#ifdef _WEARABLE
        Eext_Object_Item *item;
-#endif
        Eina_Bool option_opened;
        void *voicedata;
 
index 9c3d323..2e86d7b 100755 (executable)
@@ -65,9 +65,15 @@ typedef enum {
    TIZEN_PROFILE_COMMON = 0x10,
 } tizen_profile_t;
 extern tizen_profile_t _get_tizen_profile();
+#if !defined(_TV)
 #define _TV (_get_tizen_profile() == TIZEN_PROFILE_TV)
+#endif
+#if !defined(_MOBILE)
 #define _MOBILE (_get_tizen_profile() == TIZEN_PROFILE_MOBILE)
+#endif
+#if !defined(_WEARABLE)
 #define _WEARABLE (_get_tizen_profile() == TIZEN_PROFILE_WEARABLE)
+#endif
 
 typedef struct appdata{
        Evas_Object* win_main;
@@ -75,9 +81,7 @@ typedef struct appdata{
        Evas_Object* conform;
        Evas_Object* naviframe;
        Evas_Object* genlist;
-#ifdef _WEARABLE
        Eext_Circle_Surface *circle_surface;
-#endif
 
        app_control_h source_app_control;
        int app_type;
index 2510f0b..6b12f6e 100755 (executable)
@@ -36,9 +36,7 @@ extern Evas_Object *g_setting_window;
 MoreOption::MoreOption(Evas_Object *naviframe, void* voicedata)
        : nf(naviframe)
        , more_option_layout(NULL)
-#ifdef _WEARABLE
        , item(NULL)
-#endif
        , option_opened(EINA_FALSE)
        , voicedata(voicedata) {
        /** todo. implement constructor */