2 * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
4 * This program is licensed under the terms and conditions of the
5 * Apache License, version 2.0. The full text of the Apache License is at
6 * http://www.apache.org/licenses/LICENSE-2.0
10 //==========================================================================
12 * @file CicoSCWaylandIF.h
14 * @brief This file is definition of CicoSCWaylandIF class
16 //==========================================================================
17 #ifndef __CICO_SC_WAYLAND_IF_H__
18 #define __CICO_SC_WAYLAND_IF_H__
20 #include <wayland-client.h>
22 //==========================================================================
24 * @brief This class is abstract class of wayland interface
26 //==========================================================================
27 class CicoSCWaylandIF {
29 // initialize interface
30 virtual void initInterface(void *data,
31 struct wl_registry *registry,
33 const char *interface,
36 // inquire whether initialized
37 bool isInitialized(void);
40 // default constructor
44 virtual ~CicoSCWaylandIF();
46 // assignment operator
47 CicoSCWaylandIF& operator=(const CicoSCWaylandIF &object);
50 CicoSCWaylandIF(const CicoSCWaylandIF &object);
53 // interface name of genivi ivi_controller
54 static const char * ICO_WL_IVI_CONTROLLER_IF;
55 #ifdef GENIVI_WL_SHELL_INFO /* GENIVI-LM is supporting the wl_shell_info */
56 // interface name of genivi ivi_application
57 static const char * ICO_WL_IVI_APPLICATION_IF;
58 #endif /*GENIVI_WL_SHELL_INFO*/ /* GENIVI-LM is supporting the wl_shell_info */
59 // interface name of wayland output
60 static const char * ICO_WL_OUTPUT_IF;
65 #endif // __CICO_SC_WAYLAND_IF_H__
66 // vim:set expandtab ts=4 sw=4: