vigs: fix compilation errors in case of disable-qt configuration 04/30304/1
authorGiWoong Kim <giwoong.kim@samsung.com>
Fri, 14 Nov 2014 08:48:44 +0000 (17:48 +0900)
committerGiWoong Kim <giwoong.kim@samsung.com>
Fri, 14 Nov 2014 08:49:19 +0000 (17:49 +0900)
add vigs_qt5 stub functions

Change-Id: I75309052be3e570f365f4df0bbfb774b8167713b
Signed-off-by: Kitae Kim <kt920.kim@samsung.com>
hw/vigs/vigs_qt5_stub.c

index 458e32a4407c4048d9887cfacd577b2270e744b9..800a8d49b45baa80e3edcba6f212d692a6dea684 100644 (file)
@@ -1,3 +1,36 @@
+/*
+ * vigs stub
+ *
+ * Copyright (c) 2014 Samsung Electronics Co., Ltd. All rights reserved.
+ *
+ * Contact:
+ * Kitae Kim <kt920.kim@samsung.com>
+ * Sangho Park <sangho1206.park@samsung.com>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ *
+ * Contributors:
+ * - S-Core Co., Ltd
+ *
+ */
+
+/*
+ * This is just a temporary implemention to fix compilation errors
+ * in case of "disable-qt" configuration. We should consider it later.
+ */
+
 #include "emulator_common.h"
 #include "vigs_qt5.h"
 
@@ -19,3 +52,20 @@ void *vigs_qt5_gl_context_create(bool is_gl2)
 {
     return NULL;
 }
+
+void vigs_qt5_register_capture_request_listener(void *listener,
+                                                void (*handler)(void *))
+{
+    return;
+}
+
+void vigs_qt5_unregister_capture_request_listener(void *listener)
+{
+    return;
+}
+
+void vigs_qt5_process_captured(bool captured, void *pixels,
+                               int width, int height)
+{
+    return;
+}