--- a/example/lastfmmusiceventplugin/lastfmmusiceventplugin.cpp Thu Sep 23 17:43:31 2010 +0530
+++ b/example/lastfmmusiceventplugin/lastfmmusiceventplugin.cpp Mon Oct 11 21:59:54 2010 +0530
@@ -185,6 +185,7 @@
{
Q_UNUSED(aItemsPerPage);
Q_UNUSED(aPageNum);
+ Q_UNUSED(aLocation)
SmfPluginError error = SmfPluginErrUserNotLoggedIn;
@@ -427,6 +428,7 @@
const int aPageNum ,
const int aItemsPerPage )
{
+ Q_UNUSED(aPageNum)
Q_UNUSED(aItemsPerPage);
SmfPluginError error = SmfPluginErrUserNotLoggedIn;
writeLog("MusicEventPlugin::events()");
@@ -915,10 +917,22 @@
QStringList & aArguments,
QIODevice::OpenModeFlag aMode ) const
{
+ Q_UNUSED(aProgram)
+ Q_UNUSED(aArguments)
+ Q_UNUSED(aMode)
return m_authAppId;
}
/**
+ * Method to get the authentication application process name
+ * @return The authentication application process name (eg: "FlickrAuthApp.exe")
+ */
+QString MusicProviderBase::authenticationAppName( ) const
+ {
+ return m_authAppName;
+ }
+
+/**
* Method to get the unique registration ID provided by the
* Smf for authorised plugins
* @return The unique registration ID/token provided by the Smf for
@@ -939,6 +953,7 @@
m_supportedLanguages << "English" ;
m_pluginId = "lastfmmusiceventplugin.qtplugin";
m_authAppId = "0xE1D8C7D8";
+ m_authAppName = "LastFm.exe";
QSettings iSettings;
m_smfRegToken = iSettings.value("CMLastFmRegToken").toString();
m_validity = iSettings.value("LastFmExpiryTime").toDateTime();