profile: added stub for no profile available 35/40035/1 accepted/tizen/common/20150528.081220 accepted/tizen/mobile/20150528.113801 accepted/tizen/tv/20150528.113731 accepted/tizen/wearable/20150528.113749 submit/tizen/20150528.065925
authorJinhyung Choi <jinhyung2.choi@samsung.com>
Thu, 28 May 2015 03:07:51 +0000 (12:07 +0900)
committerJinhyung Choi <jinhyung2.choi@samsung.com>
Thu, 28 May 2015 03:07:51 +0000 (12:07 +0900)
Change-Id: I0f7eb191ec602dffe70d9d27420e482316d85a82
Signed-off-by: Jinhyung Choi <jinhyung2.choi@samsung.com>
CMakeLists.txt
src/stub.cpp [new file with mode: 0644]

index a2b55cfc8bf5fd34e05ca3a6fe4d84aaec7cf6ca..e83ffd2dc71ba2d5c5d236cb92cc1838f3997bb4 100644 (file)
@@ -36,19 +36,20 @@ IF(USE_D_MOBILE)
     SET(SRCS ${SRCS}
         src/mobile.cpp
     )
-ENDIF(USE_D_MOBILE)
 
-IF(USE_D_WEARABLE)
+ELSEIF(USE_D_WEARABLE)
     SET(SRCS ${SRCS}
         src/wearable.cpp
     )
-ENDIF(USE_D_WEARABLE)
-
-IF(USE_D_TV)
+ELSEIF(USE_D_TV)
     SET(SRCS ${SRCS}
         src/tv.cpp
     )
-ENDIF(USE_D_TV)
+ELSE(USE_D_MOBILE)
+    SET(SRCS ${SRCS}
+        src/stub.cpp
+    )
+ENDIF(USE_D_MOBILE)
 
 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
 
diff --git a/src/stub.cpp b/src/stub.cpp
new file mode 100644 (file)
index 0000000..9398392
--- /dev/null
@@ -0,0 +1,37 @@
+/*
+ * emulator-daemon
+ *
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact:
+ * Jinhyung Choi <jinhyung2.choi@samsnung.com>
+ * Sangho Park <sangho1206.park@samsung.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
+
+#include "emuld.h"
+
+bool extra_evdi_command(ijcommand* ijcmd)
+{
+    return true;
+}
+
+void add_vconf_map_profile(void)
+{
+}
+