5bd25dc8853d4f52d07bb652a74607f7d3b284c2
[profile/ivi/ico-uxf-homescreen.git] / tests / system-controller / test-dummy-hs / CicoBaseWin.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   CicoBaseWin.h
13  *
14  *  @brief  
15  */
16 /*========================================================================*/    
17
18 #include <stdio.h>
19 #include <Ecore_Evas.h>
20
21 #include "CicoGeometry.h"
22
23 #ifndef __CICO_BASE_WIN_H__
24 #define __CICO_BASE_WIN_H__
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29
30 class CicoBaseWin {
31 public:
32     // Default Constructor
33     CicoBaseWin(const char *title,
34                 const CicoGeometry &geometry);
35     
36     // Destructor
37     virtual ~CicoBaseWin();
38
39     // Show Window
40     void show(void);
41
42     // Get instance of ecore_evas
43     Ecore_Evas* getEcoreEvas(void) const;
44
45     // Get instance of evas
46     Evas* getEvas(void) const;
47
48 protected:
49     // Default Constructor
50     CicoBaseWin();
51  
52     // Assignment Operator
53     CicoBaseWin& operator=(const CicoBaseWin &object);
54
55     // Copy Constructor
56     CicoBaseWin(const CicoBaseWin &object);
57
58 private:
59     static void onDestroy(Ecore_Evas *window);
60
61
62 public:
63     static Ecore_Evas *_window;
64 private:
65
66     CicoGeometry _geometry;
67
68 //    CicoBackground *_background;
69
70 //    CicoImage *_bgImage;
71 };
72
73 #ifdef __cplusplus
74 }
75 #endif
76
77 #endif  /* __CICO_BASE_WIN_H__ */
78 /* vim:set expandtab ts=4 sw=4: */