equal
deleted
inserted
replaced
78 SmfPluginError MusicLyricsPlugin::lyrics( SmfPluginRequestData &aRequest, |
78 SmfPluginError MusicLyricsPlugin::lyrics( SmfPluginRequestData &aRequest, |
79 const SmfTrackInfo &aTrack, |
79 const SmfTrackInfo &aTrack, |
80 const int aPageNum , |
80 const int aPageNum , |
81 const int aItemsPerPage ) |
81 const int aItemsPerPage ) |
82 { |
82 { |
|
83 Q_UNUSED(aItemsPerPage) |
|
84 Q_UNUSED(aPageNum) |
|
85 Q_UNUSED(aTrack) |
83 SmfPluginError error = SmfPluginErrUserNotLoggedIn; |
86 SmfPluginError error = SmfPluginErrUserNotLoggedIn; |
84 |
87 |
85 writeLog("MusicLyricsPlugin::lyrics()"); |
88 writeLog("MusicLyricsPlugin::lyrics()"); |
86 |
89 |
87 QString baseString; |
90 QString baseString; |
120 const SmfTrackInfo &aTrack, |
123 const SmfTrackInfo &aTrack, |
121 const SmfSubtitleSearchFilter &aFilter , |
124 const SmfSubtitleSearchFilter &aFilter , |
122 const int aPageNum , |
125 const int aPageNum , |
123 const int aItemsPerPage ) |
126 const int aItemsPerPage ) |
124 { |
127 { |
|
128 Q_UNUSED(aItemsPerPage) |
|
129 Q_UNUSED(aPageNum) |
|
130 Q_UNUSED(aTrack) |
|
131 Q_UNUSED(aFilter) |
125 //spanda_13 |
132 //spanda_13 |
126 SmfPluginError error = SmfPluginErrUserNotLoggedIn; |
133 SmfPluginError error = SmfPluginErrUserNotLoggedIn; |
127 |
134 |
128 writeLog("MusicLyricsPlugin::subtitle()"); |
135 writeLog("MusicLyricsPlugin::subtitle()"); |
129 |
136 |
539 */ |
546 */ |
540 QString MusicProviderBase::authenticationApp( QString &aProgram, |
547 QString MusicProviderBase::authenticationApp( QString &aProgram, |
541 QStringList & aArguments, |
548 QStringList & aArguments, |
542 QIODevice::OpenModeFlag aMode ) const |
549 QIODevice::OpenModeFlag aMode ) const |
543 { |
550 { |
|
551 Q_UNUSED(aProgram) |
|
552 Q_UNUSED(aArguments) |
|
553 Q_UNUSED(aMode) |
544 return m_authAppId; |
554 return m_authAppId; |
|
555 } |
|
556 |
|
557 /** |
|
558 * Method to get the authentication application process name |
|
559 * @return The authentication application process name (eg: "FlickrAuthApp.exe") |
|
560 */ |
|
561 QString MusicProviderBase::authenticationAppName( ) const |
|
562 { |
|
563 return m_authAppName; |
545 } |
564 } |
546 |
565 |
547 /** |
566 /** |
548 * Method to get the unique registration ID provided by the |
567 * Method to get the unique registration ID provided by the |
549 * Smf for authorised plugins |
568 * Smf for authorised plugins |
562 m_serviceUrl = QUrl(QString("http://api.lyricsfly.com")); |
581 m_serviceUrl = QUrl(QString("http://api.lyricsfly.com")); |
563 m_serviceType << m_serviceName << m_description;// << (QString)(m_serviceUrl); |
582 m_serviceType << m_serviceName << m_description;// << (QString)(m_serviceUrl); |
564 m_supportedLanguages << "English" ; |
583 m_supportedLanguages << "English" ; |
565 m_pluginId = "musiclyricsplugin.qtplugin"; |
584 m_pluginId = "musiclyricsplugin.qtplugin"; |
566 m_authAppId = "0xEFE2FD23"; |
585 m_authAppId = "0xEFE2FD23"; |
|
586 m_authAppName = "abc.exe"; |
567 m_smfRegToken = "hsdfusdghf"; |
587 m_smfRegToken = "hsdfusdghf"; |
568 |
588 |
569 //sandeep_Added_13-08-2010 |
589 //sandeep_Added_13-08-2010 |
570 /* m_serviceName = "allsubs"; |
590 /* m_serviceName = "allsubs"; |
571 m_description = "Description"; |
591 m_description = "Description"; |