cdafa743a3d49a19257ef9d737ed89f83a44f731
[profile/ivi/ico-uxf-homescreen.git] / lib / system-controller / CicoSCWaylandIF.cpp
1 /*
2  * Copyright (c) 2013, TOYOTA MOTOR CORPORATION.
3  *
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
7  *
8  */
9
10 //==========================================================================
11 /**
12  *  @file   CicoSCWaylandIF.cpp
13  *
14  *  @brief  This file implementation of CicoSCWaylandIF class
15  */
16 //==========================================================================
17
18 #include "CicoSCWaylandIF.h"
19 #include "CicoLog.h"
20
21 const char * CicoSCWaylandIF::ICO_WL_IVI_CONTROLLER_IF = "ivi_controller";
22 #ifdef GENIVI_WL_SHELL_INFO         /* GENIVI-LM is supporting the wl_shell_info    */
23 const char * CicoSCWaylandIF::ICO_WL_IVI_APPLICATION_IF= "ivi_application";
24 #endif /*GENIVI_WL_SHELL_INFO*/     /* GENIVI-LM is supporting the wl_shell_info    */
25 const char * CicoSCWaylandIF::ICO_WL_OUTPUT_IF         = "wl_output";
26
27
28 //--------------------------------------------------------------------------
29 /**
30  *  @brief  default constructor
31  */
32 //--------------------------------------------------------------------------
33 CicoSCWaylandIF::CicoSCWaylandIF()
34       : m_initialized(false)
35 {
36 }
37
38 //--------------------------------------------------------------------------
39 /**
40  *  @brief  destructor
41  */
42 //--------------------------------------------------------------------------
43 CicoSCWaylandIF::~CicoSCWaylandIF()
44 {
45 }
46
47 //--------------------------------------------------------------------------
48 /**
49  *  @brief  destructor
50  *
51  *  @param [in] date        user data
52  *  @param [in] registry    wayland registry
53  *  @param [in] name        wayland display id
54  *  @parma [in] interface   wayland interface name
55  *  @parma [in] version     wayland interface version number
56  */
57 //--------------------------------------------------------------------------
58 void
59 CicoSCWaylandIF::initInterface(void               *data,
60                                struct wl_registry *registry,
61                                uint32_t           name,
62                                const char         *interface,
63                                uint32_t           version)
64 {
65     ICO_WRN("CicoSCWaylandIF::initInterface called.");
66 }
67
68 //--------------------------------------------------------------------------
69 /**
70  *  @brief  inquire whether initialized
71  *
72  *  @return true on initialized, false no not initialized
73  *  @retval true    initialized
74  *  @retval false   not initialized
75  */
76 //--------------------------------------------------------------------------
77 bool
78 CicoSCWaylandIF::isInitialized(void)
79 {
80     return m_initialized;
81 }
82 // vim:set expandtab ts=4 sw=4: