Initialize Tizen 2.3
[framework/web/wrt-plugins-common.git] / src_wearable / modules / API / SoftKeyboardChangeEvent / SoftKeyboardChangeEvent.cpp
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        SoftKeyboardChangeEvent.cpp
19  * @author      Yunchan Cho (yunchan.cho@samsung.com)
20  * @version     0.1
21  * @brief       softkeyboardchange event class implementation
22  */
23
24 #include "SoftKeyboardChangeEvent.h"
25
26 namespace WrtDeviceApis {
27 namespace SoftKeyboardChangeEvent {
28 namespace Api {
29 SoftKeyboardChangeEvent::SoftKeyboardChangeEvent(
30     std::string state, int width, int height) :
31     m_state(state), m_width(width), m_height(height)
32 {}
33
34 SoftKeyboardChangeEvent::~SoftKeyboardChangeEvent()
35 {}
36
37 std::string SoftKeyboardChangeEvent::getState() const
38 {
39     return m_state;
40 }
41
42 int SoftKeyboardChangeEvent::getWidth() const
43 {
44     return m_width;
45 }
46
47 int SoftKeyboardChangeEvent::getHeight() const
48 {
49     return m_height;
50 }
51 } // Api
52 } // SoftKeyboardChangeEvent
53 } // WrtDeviceApis