Fixed build error in TV profile 90/85390/2
authorsuhyung Eom <suhyung.eom@samsung.com>
Thu, 25 Aug 2016 02:03:36 +0000 (11:03 +0900)
committersu hyung Eom <suhyung.eom@samsung.com>
Thu, 25 Aug 2016 02:07:28 +0000 (19:07 -0700)
ECORE_WL_EVENT_INDICATOR_FLICK isn't defined in TV profile
Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I71b727448c8ec58e624a2c987048dc647dd5dcd2

adaptors/ecore/common/ecore-indicator-impl.cpp

index 3fd874a..9a4c690 100644 (file)
@@ -310,7 +310,7 @@ struct Indicator::Impl
   : mIndicator(indicator),
     mEcoreEventHandler(NULL)
   {
-#ifdef WAYLAND
+#if defined(WAYLAND) && defined(DALI_PROFILE_MOBILE)
     mEcoreEventHandler = ecore_event_handler_add(ECORE_WL_EVENT_INDICATOR_FLICK,  EcoreEventIndicator, this);
 #elif !defined(DALI_PROFILE_UBUNTU)
     mEcoreEventHandler = ecore_event_handler_add(ECORE_X_EVENT_CLIENT_MESSAGE,  EcoreEventClientMessage, this);
@@ -355,7 +355,7 @@ struct Indicator::Impl
     }
   }
 
-#ifdef WAYLAND
+#if defined(WAYLAND) && defined(DALI_PROFILE_MOBILE)
   /**
    * Called when the Ecore indicator event is received.
    */
@@ -386,7 +386,7 @@ struct Indicator::Impl
     return ECORE_CALLBACK_PASS_ON;
   }
 
-#endif // WAYLAND
+#endif // WAYLAND && DALI_PROFILE_MOBILE
 
   // Data
   Indicator*           mIndicator;