Resource container update
[platform/upstream/iotivity.git] / service / basis / resourceContainer / include / BundleInfo.h
index d207bce..1c725b8 100644 (file)
@@ -18,7 +18,6 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-
 #ifndef BUNDLEINFO_H_
 #define BUNDLEINFO_H_
 
 
 using namespace std;
 
-namespace RC{
-       /*
-        * Describes a bundle with resources, that can be loaded dynamically.
-        */
-       class BundleInfo {
-               public:
-                       BundleInfo();
-                       virtual ~BundleInfo();
-                       void setName(string name);
-                       string getName();
-                       void setPath(string path);
-                       string getPath();
-                       void setVersion(string version);
-                       string getVersion();
-                       virtual int getId() = 0; // will be set by container
-                       static BundleInfo* createBundleInfo();
-               private:
-                       string m_name, m_path, m_version;
-       };
+namespace RC
+{
+    /*
+     * Describes a bundle with resources, that can be loaded dynamically.
+     */
+    class BundleInfo
+    {
+    public:
+        BundleInfo();
+        virtual ~BundleInfo();
+        virtual void setID(string name) = 0;
+        virtual string getID() = 0;
+        virtual void setPath(string path) = 0;
+        virtual string getPath() = 0;
+        virtual void setVersion(string version) = 0;
+        virtual string getVersion() = 0;
+        virtual int getId() = 0; // will be set by container
+        static BundleInfo* createBundleInfo();
+    protected:
+        string m_ID, m_path, m_version;
+    };
 }
 
 #endif /* BUNDLEINFO_H_ */