43407ec5a1b0611fe9ae2c9ceef06b97ba5cbc65
[profile/ivi/ico-uxf-homescreen.git] / src / syscond / CicoSysConDaemon.h
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   CicoSysConDaemon.h
13  *
14  *  @brief  This file is definition of CicoSysConDaemon class
15  */
16 //==========================================================================
17 #ifndef __CICO_SYS_CON_DAEMON_H__
18 #define __CICO_SYS_CON_DAEMON_H__
19
20 #include <stdio.h>
21 #include "CicoEFLApp.h"
22
23 //==========================================================================
24 //  Forward declaration
25 //==========================================================================
26 class CicoSCWindowController;
27 class CicoSCInputController;
28 class CicoSCResourceManager;
29
30 //==========================================================================
31 /**
32  *  @brief  ELF Application functions for SystemController
33  */
34 //==========================================================================
35 class CicoSysConDaemon : public CicoEFLApp {
36 public:
37     // default constructor
38     CicoSysConDaemon();
39
40     // destructor
41     virtual ~CicoSysConDaemon();
42
43     // callback function on create
44     virtual bool onCreate(void *user_data);
45
46     // callback function on terminate
47     virtual void onTerminate(void *user_data);
48
49     // callback function on pause
50     virtual void onPause(void *user_data);
51
52     // callback function on resume
53     virtual void onResume(void *user_data);
54
55     // callback function on service
56     virtual void onService(service_h service, void *user_data);
57
58 protected:
59     // assignment operator
60     CicoSysConDaemon& operator=(const CicoSysConDaemon &object);
61
62     // copy constructor
63     CicoSysConDaemon(const CicoSysConDaemon &object);
64
65 private:
66     // CicoSCWindowController instance
67     CicoSCWindowController* m_winctrl;
68
69     // CicoSCInputController instance
70     CicoSCInputController*  m_inputctrl;
71
72     // CicoSCResourceManager instance
73     CicoSCResourceManager*  m_resourcemgr;
74 };
75 #endif  // __CICO_SYS_CON_DAEMON_H__
76 // vim:set expandtab ts=4 sw=4: