108 virtual SmfPluginError postCurrentPlaying( |
108 virtual SmfPluginError postCurrentPlaying( |
109 SmfPluginRequestData &aRequest, |
109 SmfPluginRequestData &aRequest, |
110 const SmfTrackInfo &aTrack ) = 0; |
110 const SmfTrackInfo &aTrack ) = 0; |
111 |
111 |
112 /** |
112 /** |
|
113 * Method to post the rating on a track |
|
114 * @param aRequest [out] The request data to be sent to network |
|
115 * @param aTrack The track on which rating should be posted |
|
116 * @param aRating The rating values |
|
117 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
|
118 */ |
|
119 virtual SmfPluginError postRating( |
|
120 SmfPluginRequestData &aRequest, |
|
121 const SmfTrackInfo &aTrack, |
|
122 const SmfMusicRating &aRating ) = 0; |
|
123 |
|
124 /** |
|
125 * Method to post comment on a track |
|
126 * @param aRequest [out] The request data to be sent to network |
|
127 * @param aTrack The track on which comment should be posted |
|
128 * @param aComment The comment content |
|
129 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
|
130 */ |
|
131 virtual SmfPluginError postComments( |
|
132 SmfPluginRequestData &aRequest, |
|
133 const SmfTrackInfo &aTrack, |
|
134 const SmfComment &aComment ) = 0; |
|
135 |
|
136 /** |
113 * Customised method for SmfMusicSearchPlugin interface |
137 * Customised method for SmfMusicSearchPlugin interface |
114 * @param aRequest [out] The request data to be sent to network |
138 * @param aRequest [out] The request data to be sent to network |
115 * @param aOperation The operation type (should be known between |
139 * @param aOperation The operation type (should be known between |
116 * the client interface and the plugin) |
140 * the client interface and the plugin) |
117 * @param aData The data required to form the request (The type |
141 * @param aData The data required to form the request (The type |
121 virtual SmfPluginError customRequest( SmfPluginRequestData &aRequest, |
145 virtual SmfPluginError customRequest( SmfPluginRequestData &aRequest, |
122 const int &aOperation, QByteArray *aData ) = 0; |
146 const int &aOperation, QByteArray *aData ) = 0; |
123 |
147 |
124 }; |
148 }; |
125 |
149 |
126 Q_DECLARE_INTERFACE( SmfMusicSearchPlugin, "org.symbian.smf.plugin.music.search/v1.0" ); |
150 Q_DECLARE_INTERFACE( SmfMusicSearchPlugin, "org.symbian.smf.plugin.music.search/v0.2" ); |
127 |
151 |
128 #endif /* SMFMUSICSEARCHPLUGIN_H_ */ |
152 #endif /* SMFMUSICSEARCHPLUGIN_H_ */ |