Initialize Tizen 2.3
[framework/web/wrt-plugins-common.git] / src_wearable / modules / API / SoftKeyboardChangeEvent / ISoftKeyboardChangeEvent.h
1 /*
2  * Copyright (c) 2012 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  * @file        ISoftKeyboardChangeEvent.h
19  * @author      Yunchan Cho (yunchan.cho@samsung.com)
20  * @version     0.1
21  * @brief       softkeyboardchange event interfece
22  */
23
24 #ifndef WRT_PLUGIN_SOFTKEYBOARD_CHANGE_EVENT_INTERFACE_H
25 #define WRT_PLUGIN_SOFTKEYBOARD_CHANGE_EVENT_INTERFACE_H
26
27 #include <memory>
28
29 namespace WrtDeviceApis {
30 namespace SoftKeyboardChangeEvent {
31 namespace Api {
32 class ISoftKeyboardChangeEvent
33 {
34   public:
35     virtual std::string getState() const = 0;
36     virtual int getWidth() const = 0;
37     virtual int getHeight() const = 0;
38
39     virtual ~ISoftKeyboardChangeEvent() {}
40 };
41
42 typedef std::shared_ptr<ISoftKeyboardChangeEvent> ISoftKeyboardChangeEventPtr;
43 } // Api
44 } // SoftKeyboardChangeEvent
45 } // WrtDeviceApis
46
47 #endif // WRT_PLUGIN_SOFTKEYBOARD_CHANGE_EVENT_INTERFACE_H