From 08dd3ac4da9b9674428031041394703c3bc7f2bc Mon Sep 17 00:00:00 2001 From: GiWoong Kim Date: Fri, 14 Nov 2014 17:48:44 +0900 Subject: [PATCH] vigs: fix compilation errors in case of disable-qt configuration add vigs_qt5 stub functions Change-Id: I75309052be3e570f365f4df0bbfb774b8167713b Signed-off-by: Kitae Kim --- hw/vigs/vigs_qt5_stub.c | 50 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/hw/vigs/vigs_qt5_stub.c b/hw/vigs/vigs_qt5_stub.c index 458e32a440..800a8d49b4 100644 --- a/hw/vigs/vigs_qt5_stub.c +++ b/hw/vigs/vigs_qt5_stub.c @@ -1,3 +1,36 @@ +/* + * vigs stub + * + * Copyright (c) 2014 Samsung Electronics Co., Ltd. All rights reserved. + * + * Contact: + * Kitae Kim + * Sangho Park + * + * 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; +} -- 2.34.1