Beta merge 2
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Application / ApplicationEvent.cpp
1 /*
2  * Copyright (c) 2011 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 "ApplicationEvent.h"
19
20 namespace TizenApis {
21 namespace Api {
22 namespace Application {
23 ApplicationEvent::ApplicationEvent()
24 {
25 }
26
27 ApplicationEvent::~ApplicationEvent()
28 {
29 }
30
31 std::string ApplicationEvent::getCode() const
32 {
33         return m_code;
34 }
35 void ApplicationEvent::setCode(const std::string code)
36 {
37         m_code = code;
38 }
39
40 ApplicationInformationPtr ApplicationEvent::getApplicationInformation() const
41 {
42         return m_appinfo;
43 }
44
45 void ApplicationEvent::setApplicationInformation(const ApplicationInformationPtr &appinfo)
46 {
47         m_appinfo = appinfo;
48 }
49
50 ApplicationContextPtr ApplicationEvent::getApplicationContext() const
51 {
52         return m_contextinfo;
53 }
54
55 void ApplicationEvent::setApplicationContext(const ApplicationContextPtr &contextinfo)
56 {
57         m_contextinfo = contextinfo;
58 }
59
60
61 }
62 }
63 }
64