107ba5bdedc31eb9bc7bee63964da60dfb66b38c
[framework/uifw/ise-default.git] / mcf / include / mcfgwes.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.tizenopensource.org/license
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18
19 #include <stdio.h>
20 #include <stdlib.h>
21 #include <string.h>
22
23 #include "mcftypes.h"
24 #include "mcfconfig.h"
25 #include "mcfwindows.h"
26 #include "mcfgraphics.h"
27 #include "mcfevents.h"
28
29 #ifndef __MCF_GWES_H__
30 #define __MCF_GWES_H__
31
32 #ifdef __cplusplus
33 //MCF_BEGIN_DECLS
34 #endif
35
36 namespace mcf
37 {
38 /**
39  * @brief The base class to work as a soft-based keyboard
40  *
41  * This class implements all functions for working as a soft-based keyboard
42  * In side of ISE developer, they can modify it by their requirements.
43  */
44 class CMCFGwes
45 {
46 private:
47     static CMCFGwes* sInstance; /* For singleton */
48     CMCFGwes();
49 public :
50     ~CMCFGwes();
51
52     static CMCFGwes* get_instance();
53
54 private:
55
56 public:
57     void init(mcfwindow parentWnd, mcf16 width, mcf16 height);
58
59     CMCFGraphics *mGrps;
60     CMCFWindows *mWnd;
61     CMCFEvents *mEvt;
62 };
63
64 } /* End of mcf namespace */
65
66 #ifdef __cplusplus
67 //MCF_END_DECLS
68 #endif
69
70 #endif //__MCF_GWES_H__