--- smsdaemon/Plugin.h 2008/12/12 14:06:11 184 +++ smsdaemon/Plugin.h 2008/12/18 06:53:29 196 @@ -18,7 +18,7 @@ /* Called when a incomming sms triggers this plugin. * Use the conversation object to write the response. - * Note: the plugin is responsible for parsing and validating the arguments, + * Note: the plugin is responsible for parsing and validating the arguments, * and if necessary write a error message back to the user. */ virtual void Execute(ISmsTransceiver& modem, SMS& sms) = 0; @@ -26,18 +26,27 @@ /* * returns the command that triggers this plugin, for example: "myplugin" */ - virtual std::string GetCommand() {return _command;} + virtual std::string GetCommand() + { + return _command; + } /* * Returns a desciption of this plugin - displayed when somebody calls "help" */ - virtual std::string GetDescription() {return _description;} + virtual std::string GetDescription() + { + return _description; + } /* - * A helper plugin is not accessible to the client but can be used to build a proxy / decorater plugin - */ - virtual bool IsHelper() {return false;} + * A helper plugin is not accessible to the client but can be used to build a proxy / decorater plugin + */ + virtual bool IsHelper() + { + return false; + } virtual ~Plugin() {} protected: