--- a/smf/smfservermodule/smfclient/client/smfcontactfetcher.h Tue May 18 17:37:12 2010 +0530
+++ b/smf/smfservermodule/smfclient/client/smfcontactfetcher.h Fri May 21 15:45:10 2010 +0100
@@ -26,9 +26,11 @@
#include "smfcontact.h"
#include "smflocation.h"
#include "smfgroup.h"
+
class SmfProvider; //base-class for service provider
class SmfContact; //class for Contact in a social network
class SmfGroup; //class for a group in social network
+class SmfContactFetcherPrivate;
typedef QList<SmfContact> SmfContactList;
typedef QList<SmfGroup> SmfGroupList;
@@ -57,7 +59,7 @@
* @param parent base provider info
* @param contact Used for searching friends of the given contact
* Seeing as this is a plug-in implementation, these will realistically
- * be generated by SMF factory of some kind
+ * be generated by SMF factory of some kind
*/
SmfContactFetcher(SmfProvider* baseProvider);
SmfContactFetcher(SmfProvider* baseProvider, SmfContact* contact);
@@ -91,7 +93,7 @@
* When the list is big user can specify the page number and per page item data.
* If not supplied by the user default values are used.
* @param pageNum Page number to download, SMF_FIRST_PAGE denotes fresh query.
- * @param perPage Item per page, default is SMF_ITEMS_PER_PAGE
+ * @param perPage Item per page, default is SMF_ITEMS_PER_PAGE
*/
void search(SmfContact* contact,int pageNum=SMF_FIRST_PAGE,int perPage=SMF_ITEMS_PER_PAGE) ; // list of contact objects
@@ -134,14 +136,14 @@
* @param customData Custom data to be sent
* Note:-Interpretation of operationId and customData is upto the concerned
* plugin and client application. service provider should provide some
- * serializing-deserializing utilities for these custom data
+ * serializing-deserializing utilities for these custom data
*/
void customRequest(const int& operationId,QByteArray* customData);
//APIs to get/set base provider info (SmfProvider)
/**
- * Gets the base provider info
+ * Gets the base provider info
*/
SmfProvider* getProvider() ;
@@ -154,7 +156,7 @@
* @param list list of friends
* @param error error value
* @param resultPage Page number info
- * @see friends()
+ * @see friends()
*/
void friendsListAvailable(SmfContactList* list, SmfError error, SmfResultPage resultPage);
@@ -186,7 +188,7 @@
* In that case this signal is emitted multiple times.
* @param list List of filtered contacts
* @param resultPage Page number info
- * @see search()
+ * @see search()
*/
void searchContactFinished(SmfContactList* list,SmfError error, SmfResultPage resultPage);
@@ -214,7 +216,7 @@
/**
* Emitted when custom data is available
* @param operationId Requested operation id
- * @param customData Custom data received, interpretation is not the responsibility of Smf
+ * @param customData Custom data received, interpretation is not the responsibility of Smf
*/
void customDataAvailable(int operationId, QByteArray* customData);
//so that private impl can directly call emit