9bfa9da42a3b90e5aacbb6aec3d81617021aa656
[profile/ivi/wrt-plugins-tizen.git] / src / platform / API / Application / ApplicationInformation.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 #include "ApplicationInformation.h"
18
19 namespace TizenApis {
20 namespace Api {
21 namespace Application { 
22 ApplicationInformation::ApplicationInformation()
23 {
24 }
25
26 ApplicationInformation::~ApplicationInformation()
27 {
28 }
29
30 std::string ApplicationInformation::getName() const
31 {
32         return m_name;
33 }
34 void ApplicationInformation::setName(const std::string &name)
35 {
36         m_name = name;
37 }
38
39 std::string ApplicationInformation::getPackage() const
40 {
41         return m_package;
42 }
43 void ApplicationInformation::setPackage(const std::string &package)
44 {
45         m_package = package;
46 }
47
48 std::string ApplicationInformation::getIconPath() const
49 {
50         return m_iconPath;
51 }
52 void ApplicationInformation::setIconPath(const std::string &iconPath)
53 {
54         m_iconPath = iconPath;
55 }
56
57 std::string ApplicationInformation::getVersion() const
58 {
59         return m_version;
60 }
61 void ApplicationInformation::setVersion(const std::string &version)
62 {
63         m_version = version;
64 }
65
66 }
67 }
68 }