smf/inc/smfplugins/base/smfpluginutil.h
changeset 5 edb9dc8273d9
parent 3 0446eb7b28aa
equal deleted inserted replaced
4:969092730d34 5:edb9dc8273d9
    50  * plugins from Smf framework
    50  * plugins from Smf framework
    51  */
    51  */
    52 class SmfPluginUtil : public QObject
    52 class SmfPluginUtil : public QObject
    53 	{
    53 	{
    54 	Q_OBJECT
    54 	Q_OBJECT
    55 
       
    56 public:
    55 public:
    57 	/**
    56 	/**
    58 	 * Method to get the instance of SmfPluginUtil class
    57 	 * Method to get the instance of SmfPluginUtil class
    59 	 * @param aParser The JSON parser utility object instance
    58 	 * @param aParser The JSON parser utility object instance
    60 	 * @return The instance of SmfPluginUtil class
    59 	 * @return The instance of SmfPluginUtil class
    74 
    73 
    75 	/**
    74 	/**
    76 	 * Method called by plugins to get the OAuth Keys. The PM sends the
    75 	 * Method called by plugins to get the OAuth Keys. The PM sends the
    77 	 * keys only if the pluginID is that of a currently loaded plugin
    76 	 * keys only if the pluginID is that of a currently loaded plugin
    78 	 * @param aKeys [out] The OAuth keys
    77 	 * @param aKeys [out] The OAuth keys
       
    78 	 * @param aRegToken The plugin's registration token
    79 	 * @param aPluginID The ID of the plugin that requests for
    79 	 * @param aPluginID The ID of the plugin that requests for
    80 	 * the OAuth keys
    80 	 * the OAuth keys
    81 	 */
    81 	 */
    82 	void getAuthKeys( QMap<QString, QString> &aKeys, QString aPluginID );
    82 	void getAuthKeys( QMap<QString, QString> &aKeys, 
       
    83 			const QString aRegToken, 
       
    84 			const QString aPluginID );
    83 
    85 
    84 	/**
    86 	/**
    85 	 * Method called by plugins to get the Nonce value
    87 	 * Method called by plugins to get the Nonce value
    86 	 * @param aStr [out] The Nonce value
    88 	 * @param aStr [out] The Nonce value
    87 	 */
    89 	 */
   108 			const SmfParsingMode aMode);
   110 			const SmfParsingMode aMode);
   109 
   111 
   110 private:
   112 private:
   111 	/**
   113 	/**
   112 	 * Constructor with default argument
   114 	 * Constructor with default argument
   113 	 * @param aParent The parent object
   115 	 * @param aParser The QJOSN parser object
   114 	 */
   116 	 */
   115 	SmfPluginUtil ( Parser *aParser );
   117 	SmfPluginUtil ( Parser *aParser );
   116 
   118 
   117 
   119 
   118 private:
   120 private: