smf/inc/smfplugins/smfmusic/smfmusicserviceplugin.h
changeset 7 be09cf1f39dd
parent 6 c39a6cfd1fb9
child 8 4102c67b6e56
--- a/smf/inc/smfplugins/smfmusic/smfmusicserviceplugin.h	Tue May 18 17:33:55 2010 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,82 +0,0 @@
-/**
- * Copyright (c) 2010 Sasken Communication Technologies Ltd. 
- * All rights reserved.
- * This component and the accompanying materials are made available 
- * under the terms of the "Eclipse Public License v1.0"
- * which accompanies  this distribution, and is available 
- * at the URL "http://www.eclipse.org/legal/epl-v10.html"
- * 
- * Initial Contributors:
- * Chandradeep Gandhi, Sasken Communication Technologies Ltd - Initial contribution
- *
- * Contributors:
- * Manasij Roy, Nalina Hariharan
- * 
- * Description:
- * Interface specification for music services
- *
- */
-
-
-#ifndef SMFMUSICSERVICEPLUGIN_H_
-#define SMFMUSICSERVICEPLUGIN_H_
-
-#include <smfpluginbase.h>
-#include <smfmusicprofile.h>
-#include <smfplace.h>
-
-// Forward declaration
-class SmfPluginUtil;
-
-/**
- * @ingroup smf_plugin_group
- * Interface specification for music services. This class provides basic 
- * functionality to allow application to search for a user or check for
- * user information etc.
- *
- * All of the functionality described here should be implemented by a service
- * specific plug-in.
- */
-class SmfMusicServicePlugin : public SmfPluginBase
-	{
-public:
-	/**
-	 * Constructor with default argument
-	 * @param aUtil The SmfPluginUtil instance. The plugins can 
-	 * call the method getAuthKeys() of this class, with its pluginID to 
-	 * get the OAuth keys, keys are returned only if this plugin is 
-	 * authorised by Smf franework
-	 */
-	SmfMusicServicePlugin( SmfPluginUtil *aUtil );
-	
-	/**
-	 * Destructor
-	 */
-	~SmfMusicServicePlugin( );
-	
-	/**
-	 * Method to get self profile information
-	 * @param aRequest [out] The request data to be sent to network
-	 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone
-	 */
-	virtual SmfPluginError userInfo( SmfPluginRequestData &aRequest ) = 0;
-	
-	/**
-	 * Method to search information about other service users for a 
-	 * particular place
-	 * @param aRequest [out] The request data to be sent to network
-	 * @param aPlace The place which is the search criteria
-	 * @param aPageNum The page to be extracted
-	 * @param aItemsPerPage Number of items per page
-	 * @return SmfPluginError Plugin error if any, else SmfPluginErrNone
-	 */
-	virtual SmfPluginError searchUser( SmfPluginRequestData &aRequest,
-			const SmfPlace &aPlace,
-			const int aPageNum = SMF_FIRST_PAGE, 
-			const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0;
-	
-	};
-
-Q_DECLARE_INTERFACE( SmfMusicServicePlugin, "org.symbian.smf.plugin.music.service/v1.0" );
-
-#endif /* SMFMUSICSERVICEPLUGIN_H_ */