example/MusicLyricsPlugin/MusicLyricsPlugin.cpp
changeset 26 83d6a149c755
parent 23 574948b60dab
--- a/example/MusicLyricsPlugin/MusicLyricsPlugin.cpp	Thu Sep 23 17:43:31 2010 +0530
+++ b/example/MusicLyricsPlugin/MusicLyricsPlugin.cpp	Mon Oct 11 21:59:54 2010 +0530
@@ -80,6 +80,9 @@
 				const int aPageNum , 
 				const int aItemsPerPage  ) 
 	{
+	Q_UNUSED(aItemsPerPage)
+	Q_UNUSED(aPageNum)
+	Q_UNUSED(aTrack)
 	 SmfPluginError error = SmfPluginErrUserNotLoggedIn;
 		
 	writeLog("MusicLyricsPlugin::lyrics()");
@@ -122,6 +125,10 @@
 				const int aPageNum , 
 				const int aItemsPerPage ) 
 	{
+	Q_UNUSED(aItemsPerPage)
+		Q_UNUSED(aPageNum)
+	Q_UNUSED(aTrack)
+	Q_UNUSED(aFilter)
 	//spanda_13
 	SmfPluginError error = SmfPluginErrUserNotLoggedIn;
 			
@@ -541,10 +548,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 
@@ -564,6 +583,7 @@
 	  m_supportedLanguages << "English" ;
 	  m_pluginId =    "musiclyricsplugin.qtplugin";
 	  m_authAppId =   "0xEFE2FD23";
+	  m_authAppName = "abc.exe";
 	  m_smfRegToken = "hsdfusdghf";
 	  
 	  //sandeep_Added_13-08-2010