0.9.14 release -- add: TIVI-1751 Home Screen needs to use system notifications framework
[profile/ivi/ico-uxf-homescreen.git] / src / onscreen / CicoOSEFLApp.h
1 /*
2  * Copyright (c) 2014, 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   CicoOSEFLApp.h
13  *
14  *  @brief  This file is definition of CicoOSEFLApp class
15  */
16 //==========================================================================
17 #ifndef __CICO_OS_EFL_APP_H__
18 #define __CICO_OS_EFL_APP_H__
19
20 #include "CicoEFLApp.h"
21
22 //==========================================================================
23 //  Forward declaration
24 //==========================================================================
25 class CicoOnScreen;
26
27 //==========================================================================
28 /**
29  *  @brief  ELF Application functions for OnScreen
30  */
31 //==========================================================================
32 class CicoOSEFLApp : public CicoEFLApp {
33 public:
34     // default constructor
35     CicoOSEFLApp();
36
37     // destructor
38     virtual ~CicoOSEFLApp();
39
40     // callback function on create
41     virtual bool onCreate(void *user_data);
42
43     // callback function on terminate
44     virtual void onTerminate(void *user_data);
45
46     // callback function on pause
47     virtual void onPause(void *user_data);
48
49     // callback function on resume
50     virtual void onResume(void *user_data);
51
52     // callback function on service
53     virtual void onService(service_h service, void *user_data);
54
55 protected:
56     // assignment operator
57     CicoOSEFLApp& operator=(const CicoOSEFLApp &object);
58
59     // copy constructor
60     CicoOSEFLApp(const CicoOSEFLApp &object);
61
62 private:
63     // CicoOnScreen instance
64     CicoOnScreen* m_onscreen;
65 };
66 #endif  // __CICO_OS_EFL_APP_H__
67 // vim:set expandtab ts=4 sw=4: