smf/smfservermodule/smfserver/smfplugins/smfmusicsearchplugin.h
changeset 18 013a02bf2bb0
parent 14 a469c0e6e7fb
child 25 a180113055cb
equal deleted inserted replaced
17:106a4bfcb866 18:013a02bf2bb0
    98 			const SmfTrackInfo &aTrack,
    98 			const SmfTrackInfo &aTrack,
    99 			const int aPageNum = SMF_FIRST_PAGE, 
    99 			const int aPageNum = SMF_FIRST_PAGE, 
   100 			const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0;
   100 			const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0;
   101 	
   101 	
   102 	/**
   102 	/**
   103 	 * Method to post the currently playing track
       
   104 	 * @param aRequest [out] The request data to be sent to network
       
   105 	 * @param aTrack The current playing track, that should be posted
       
   106 	 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone
       
   107 	 */
       
   108 	virtual SmfPluginError postCurrentPlaying( 
       
   109 			SmfPluginRequestData &aRequest,
       
   110 			const SmfTrackInfo &aTrack ) = 0;
       
   111 	
       
   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 	/**
       
   137 	 * Customised method for SmfMusicSearchPlugin interface
   103 	 * Customised method for SmfMusicSearchPlugin interface
   138 	 * @param aRequest [out] The request data to be sent to network
   104 	 * @param aRequest [out] The request data to be sent to network
   139 	 * @param aOperation The operation type (should be known between 
   105 	 * @param aOperation The operation type (should be known between 
   140 	 * the client interface and the plugin)
   106 	 * the client interface and the plugin)
   141 	 * @param aData The data required to form the request (The type 
   107 	 * @param aData The data required to form the request (The type