1 //******************************************************************
3 // Copyright 2015 Samsung Electronics All Rights Reserved.
5 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
7 // Licensed under the Apache License, Version 2.0 (the "License");
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
11 // http://www.apache.org/licenses/LICENSE-2.0
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an "AS IS" BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
19 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
21 #include "BundleInfoInternal.h"
25 BundleInfoInternal::BundleInfoInternal()
30 BundleInfoInternal::~BundleInfoInternal()
35 void BundleInfoInternal::setID(string id)
40 string BundleInfoInternal::getID()
45 void BundleInfoInternal::setPath(string path)
49 string BundleInfoInternal::getPath()
54 void BundleInfoInternal::setVersion(string version)
59 string BundleInfoInternal::getVersion()
64 void BundleInfoInternal::setLoaded(bool loaded)
69 bool BundleInfoInternal::isLoaded()
74 void BundleInfoInternal::setActivated(bool activated)
76 m_activated = activated;
79 bool BundleInfoInternal::isActivated()
84 int BundleInfoInternal::getId()
89 void BundleInfoInternal::setId(int id)
94 void BundleInfoInternal::setBundleActivator(activator_t* activator)
96 m_activator = activator;
99 activator_t* BundleInfoInternal::getBundleActivator()
104 void BundleInfoInternal::setBundleDeactivator(deactivator_t* deactivator)
106 m_deactivator = deactivator;
109 deactivator_t* BundleInfoInternal::getBundleDeactivator()
111 return m_deactivator;
114 void BundleInfoInternal::setBundleHandle(void* handle)
116 m_bundleHandle = handle;
119 void* BundleInfoInternal::getBundleHandle()
121 return m_bundleHandle;