--- a/smf/smfservermodule/smfserver/smfplugins/smfmusicsearchplugin.h Mon Jun 07 11:43:45 2010 +0100
+++ b/smf/smfservermodule/smfserver/smfplugins/smfmusicsearchplugin.h Wed Jun 23 19:51:49 2010 +0530
@@ -110,6 +110,30 @@
const SmfTrackInfo &aTrack ) = 0;
/**
+ * Method to post the rating on a track
+ * @param aRequest [out] The request data to be sent to network
+ * @param aTrack The track on which rating should be posted
+ * @param aRating The rating values
+ * @return SmfPluginError Plugin error if any, else SmfPluginErrNone
+ */
+ virtual SmfPluginError postRating(
+ SmfPluginRequestData &aRequest,
+ const SmfTrackInfo &aTrack,
+ const SmfMusicRating &aRating ) = 0;
+
+ /**
+ * Method to post comment on a track
+ * @param aRequest [out] The request data to be sent to network
+ * @param aTrack The track on which comment should be posted
+ * @param aComment The comment content
+ * @return SmfPluginError Plugin error if any, else SmfPluginErrNone
+ */
+ virtual SmfPluginError postComments(
+ SmfPluginRequestData &aRequest,
+ const SmfTrackInfo &aTrack,
+ const SmfComment &aComment ) = 0;
+
+ /**
* Customised method for SmfMusicSearchPlugin interface
* @param aRequest [out] The request data to be sent to network
* @param aOperation The operation type (should be known between
@@ -123,6 +147,6 @@
};
-Q_DECLARE_INTERFACE( SmfMusicSearchPlugin, "org.symbian.smf.plugin.music.search/v1.0" );
+Q_DECLARE_INTERFACE( SmfMusicSearchPlugin, "org.symbian.smf.plugin.music.search/v0.2" );
#endif /* SMFMUSICSEARCHPLUGIN_H_ */