Update container and build script for rearrangement of headers
[platform/upstream/iotivity.git] / service / resource-manipulation / include / BundleInfo.h
1 //******************************************************************
2 //
3 // Copyright 2015 Samsung Electronics All Rights Reserved.
4 //
5 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
6 //
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
10 //
11 //      http://www.apache.org/licenses/LICENSE-2.0
12 //
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.
18 //
19 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
20
21 #ifndef BUNDLEINFO_H_
22 #define BUNDLEINFO_H_
23
24 #include <string>
25
26 namespace OIC
27 {
28     namespace Service
29     {
30         /*
31          * Describes a bundle with resources, that can be loaded dynamically.
32          */
33         class BundleInfo
34         {
35             public:
36                 BundleInfo();
37                 virtual ~BundleInfo();
38                 virtual void setID(std::string name) = 0;
39                 virtual std::string getID() = 0;
40                 virtual void setPath(std::string path) = 0;
41                 virtual std::string getPath() = 0;
42                 virtual void setActivatorName(std::string activator) = 0;
43                 virtual std::string getActivatorName() = 0;
44                 virtual void setLibraryPath(std::string libpath) = 0;
45                 virtual std::string getLibraryPath() = 0;
46                 virtual void setVersion(std::string version) = 0;
47                 virtual std::string getVersion() = 0;
48                 static BundleInfo *build();
49             protected:
50                 std::string m_ID, m_path, m_version;
51         };
52     }
53 }
54
55 #endif /* BUNDLEINFO_H_ */