X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=service%2Fprotocol-plugin%2Fplugin-manager%2Fsrc%2FPlugin.h;h=6b4b1c7a145b24105ab885b23c640ab8dfbf5b3d;hb=935fdb9b67b6c10d007e652e9e2e028fd6ccfe09;hp=d360cf012dc5b102ee8cdd8915fe2b3eff37c286;hpb=00b3660e45c56cb3db35dc2596a054f801b5591a;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/protocol-plugin/plugin-manager/src/Plugin.h b/service/protocol-plugin/plugin-manager/src/Plugin.h index d360cf0..6b4b1c7 100644 --- a/service/protocol-plugin/plugin-manager/src/Plugin.h +++ b/service/protocol-plugin/plugin-manager/src/Plugin.h @@ -73,68 +73,67 @@ namespace OIC */ virtual ~Plugin(void); + /** - * Get unique ID of the plug-in + * Get unique ID of the plugin. * - * @return unique id string of the pluin. if ID is not exist, it return "" + * @return unique id string of the pluin. if ID is not exist, it return "". */ std::string getID(void); /** - * Get version of the plug-in - * - * @return version information string of the plugin. if Version is not exist, it return "" + * Get version of the plugin. * + * @return version information string of the plugin. if Version is not exist, it return "". */ std::string getVersion(void); /** - * Get name of the plug-in + * Get name of the plugin. * - * @return name string of the plugin. if Name is not exist, it return "" + * @return name string of the plugin. if Name is not exist, it return "". */ std::string getName(void); /** - * Get provider name of the plug-in - * - * @return provider name of the plugin. if ProviderName is not exist, it return "" + * Get provider name of the plugin. * + * @return provider name of the plugin. if ProviderName is not exist, it return "". */ std::string getProviderName(void); /** - * Get value for the attributes - * - * @param attribute attriubute string to get value - * @return value of the attribute. if "attribute" is not exist, it return "" + * Get value for the attributes. * + * @param attriubute string to get value. + * @return value of the attribute. if "attribute" is not exist, it return "". */ std::string getValueByAttribute(const std::string attribute); + /** * Check whether the plugin same or not. * - * @param plugin - * @return true if same, else return false - * + * @param plugin. + * @return true if same, else return false. */ bool operator==(Plugin &plugin); private: friend class CpluffAdapter; friend class FelixAdapter; - /** + + + /** * Set key, value. key is attribute name. * * @param key is atrribute name. * @param value for the attribute. - * @return void - * + * @return void. */ void setValue(const std::string key, const std::string value);