smf/smfservermodule/smfcommon/smfprovider.cpp
changeset 26 83d6a149c755
parent 18 013a02bf2bb0
equal deleted inserted replaced
25:a180113055cb 26:83d6a149c755
    79 	{
    79 	{
    80 	return m_appUrl;
    80 	return m_appUrl;
    81 	}
    81 	}
    82 
    82 
    83 /**
    83 /**
       
    84  * Method to get the ID of the authentication application 
       
    85  * for this service
       
    86  * @return The ID (UID3) of the authentication application 
       
    87  */
       
    88 QString SmfProvider::authenticationAppId( ) const
       
    89 	{
       
    90 	return m_authAppId;
       
    91 	}
       
    92 
       
    93 /**
       
    94  * Method to get the name of the authentication process
       
    95  * @return The name of the authentication process 
       
    96  */
       
    97 QString SmfProvider::authenticationAppName( ) const
       
    98 	{
       
    99 	return m_authAppName;
       
   100 	}
       
   101 
       
   102 /**
    84  * List of interfaces that this provider support
   103  * List of interfaces that this provider support
    85  * @return List of supported interface names
   104  * @return List of supported interface names
    86  */
   105  */
    87 QList<QString> SmfProvider::supportedInterfaces() const
   106 QList<QString> SmfProvider::supportedInterfaces() const
    88 	{
   107 	{
   140  * @param url application url
   159  * @param url application url
   141  */
   160  */
   142 void SmfProvider::setApplicationUrl(QUrl& url)
   161 void SmfProvider::setApplicationUrl(QUrl& url)
   143 	{
   162 	{
   144 	m_appUrl = url;
   163 	m_appUrl = url;
       
   164 	}
       
   165 
       
   166 /**
       
   167  * Sets the ID of the authentication application for this service
       
   168  * @param id The ID (UID3) of the authentication application 
       
   169  */
       
   170 void SmfProvider::setAuthenticationAppId( const QString& id )
       
   171 	{
       
   172 	m_authAppId = id;
       
   173 	}
       
   174 
       
   175 /**
       
   176  * Sets the Name of the authentication application process
       
   177  * @param name The name of the authentication process 
       
   178  */
       
   179 void SmfProvider::setAuthenticationAppName( const QString& name )
       
   180 	{
       
   181 	m_authAppName = name;
   145 	}
   182 	}
   146 
   183 
   147 /**
   184 /**
   148  * Sets list of interfaces that this provider supports
   185  * Sets list of interfaces that this provider supports
   149  * @param types List of supported interface names
   186  * @param types List of supported interface names
   178 	out<<base.m_description;
   215 	out<<base.m_description;
   179 	out<<base.m_serviceUrl;
   216 	out<<base.m_serviceUrl;
   180 	out<<base.m_appUrl;
   217 	out<<base.m_appUrl;
   181 	out<<base.m_serviceTypes;
   218 	out<<base.m_serviceTypes;
   182 	out<<base.m_supportedLanguages;
   219 	out<<base.m_supportedLanguages;
       
   220 	out<<base.m_authAppId;
       
   221 	out<<base.m_authAppName;
   183 	return out; 
   222 	return out; 
   184 	}
   223 	}
   185 
   224 
   186 /**
   225 /**
   187  * Method for Internalization. Reads a SmfProvider object from 
   226  * Method for Internalization. Reads a SmfProvider object from 
   197 	in>>base.m_description;
   236 	in>>base.m_description;
   198 	in>>base.m_serviceUrl;
   237 	in>>base.m_serviceUrl;
   199 	in>>base.m_appUrl;
   238 	in>>base.m_appUrl;
   200 	in>>base.m_serviceTypes;
   239 	in>>base.m_serviceTypes;
   201 	in>>base.m_supportedLanguages;
   240 	in>>base.m_supportedLanguages;
       
   241 	in>>base.m_authAppId;
       
   242 	in>>base.m_authAppName;
   202 	return in; 
   243 	return in; 
   203 	}
   244 	}