6df9ceb0028f6533ced1e2a69ae533441411c3ff
[platform/core/uifw/libscl-ui-nui.git] / scl / sclgwes.h
1 /*
2  * Copyright (c) 2012 - 2014 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
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 #include <stdio.h>
19 #include <stdlib.h>
20 #include <string.h>
21
22 #include "scltypes.h"
23 #include "sclconfig.h"
24 #include "sclwindows.h"
25 #include "sclgraphics.h"
26 #include "sclevents.h"
27
28 #ifndef __SCL_GWES_H__
29 #define __SCL_GWES_H__
30
31 #ifdef __cplusplus
32 //SCL_BEGIN_DECLS
33 #endif
34
35 namespace scl
36 {
37 /**
38  * @brief The base class to work as a soft-based keyboard
39  *
40  * This class implements all functions for working as a soft-based keyboard
41  * In side of ISE developer, they can modify it by their requirements.
42  */
43 class CSCLGwes
44 {
45 private:
46     CSCLGwes();
47 public :
48     virtual ~CSCLGwes();
49
50     static CSCLGwes* get_instance();
51
52 private:
53 public:
54     void init(sclwindow parent, scl16 width, scl16 height);
55     void fini();
56
57     CSCLGraphics *m_graphics;
58     CSCLWindows *m_windows;
59     CSCLEvents *m_events;
60 };
61
62 } /* End of scl namespace */
63
64 #ifdef __cplusplus
65 //SCL_END_DECLS
66 #endif
67
68 #endif //__SCL_GWES_H__