author | cgandhi <chandradeep.gandhi@sasken.com> |
Thu, 25 Mar 2010 14:44:08 +0530 | |
changeset 1 | 4b1e636e8a71 |
child 2 | 86af6c333601 |
permissions | -rw-r--r-- |
1
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
1 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
2 |
* @file smfcontactfetcherplugin.h |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
3 |
* @author Nalina Hariharan, Sasken Communication Technologies Ltd - Initial contribution |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
4 |
* @version 1.0 |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
5 |
* |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
6 |
* @section LICENSE |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
7 |
* |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
8 |
* Copyright (c) 2010 Sasken Communication Technologies Ltd. |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
9 |
* All rights reserved. |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
10 |
* This component and the accompanying materials are made available |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
11 |
* under the terms of the "{License}" |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
12 |
* which accompanies this distribution, and is available |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
13 |
* at the URL "{LicenseUrl}". |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
14 |
* |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
15 |
* @section DESCRIPTION |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
16 |
* |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
17 |
* Interface specification for fetching contacts |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
18 |
*/ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
19 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
20 |
#ifndef SMFCONTACTFETCHERPLUGIN_H_ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
21 |
#define SMFCONTACTFETCHERPLUGIN_H_ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
22 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
23 |
#include <smfproviderbase.h> |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
24 |
#include <smfcontact.h> |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
25 |
#include <smfgroup.h> |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
26 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
27 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
28 |
* Interface specification for fetching contacts. This class provides |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
29 |
* basic functionality to allow applications to obtain list of |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
30 |
* friends, followers, groups of a user in a social networking service. |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
31 |
* |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
32 |
* All of the functionality described here should be implemented by a service |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
33 |
* specific plug-in. |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
34 |
*/ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
35 |
class SmfContactFetcherPlugin : public QObject |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
36 |
{ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
37 |
Q_OBJECT |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
38 |
public: |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
39 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
40 |
* Constructor with default argument |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
41 |
* @param aParent The parent object |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
42 |
*/ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
43 |
SmfContactFetcherPlugin( QObject* aParent = 0 ); |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
44 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
45 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
46 |
* Destructor |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
47 |
*/ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
48 |
~SmfContactFetcherPlugin( ); |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
49 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
50 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
51 |
* Method to get the provider information |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
52 |
* @return Instance of SmfProviderBase |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
53 |
*/ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
54 |
virtual SmfProviderBase* getProviderInfo( ) = 0; |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
55 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
56 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
57 |
* Method to get the list of friends |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
58 |
* @param aRequest [out] The request data to be sent to network |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
59 |
* @param aContact to search for friend of a friend, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
60 |
* for self friend this parameter need not be included |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
61 |
* @param aPageNum The page to be extracted |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
62 |
* @param aItemsPerPage Number of items per page |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
63 |
* @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
64 |
*/ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
65 |
virtual SmfPluginError friends( SmfPluginRequestData *aRequest, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
66 |
const SmfContact aContact = 0, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
67 |
const int aPageNum = 0, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
68 |
const int aItemsPerPage = 10 ) = 0; |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
69 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
70 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
71 |
* Method to get the list of followers |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
72 |
* @param aRequest [out] The request data to be sent to network |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
73 |
* @param aContact to search for follower of a friend, for self |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
74 |
* followers this parameter need not be included |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
75 |
* @param aPageNum The page to be extracted |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
76 |
* @param aItemsPerPage Number of items per page |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
77 |
* @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
78 |
*/ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
79 |
virtual SmfPluginError followers( SmfPluginRequestData *aRequest, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
80 |
const SmfContact aContact = 0, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
81 |
const int aPageNum = 0, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
82 |
const int aItemsPerPage = 10 ) = 0; |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
83 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
84 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
85 |
* Method to search for a contact |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
86 |
* @param aContact contact to be searched |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
87 |
* @param aRequest [out] The request data to be sent to network |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
88 |
* @param aPageNum The page to be extracted |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
89 |
* @param aItemsPerPage Number of items per page |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
90 |
* @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
91 |
*/ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
92 |
virtual SmfPluginError search( const SmfContact &aContact, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
93 |
SmfPluginRequestData *aRequest, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
94 |
const int aPageNum = 0, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
95 |
const int aItemsPerPage = 10) = 0; |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
96 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
97 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
98 |
* Method to get the list of groups |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
99 |
* @param aRequest [out] The request data to be sent to network |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
100 |
* @param aContact to search for groups of a friend, for self |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
101 |
* group this parameter need not be included |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
102 |
* @param aPageNum The page to be extracted |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
103 |
* @param aItemsPerPage Number of items per page |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
104 |
* @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
105 |
*/ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
106 |
virtual SmfPluginError groups( SmfPluginRequestData *aRequest, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
107 |
const SmfContact aContact = 0, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
108 |
const int aPageNum = 0, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
109 |
const int aItemsPerPage = 10 ) = 0; |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
110 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
111 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
112 |
* Method to search for a contact in a group |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
113 |
* @param aGroup the group in which to search |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
114 |
* @param aRequest [out] The request data to be sent to network |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
115 |
* @param aPageNum The page to be extracted |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
116 |
* @param aItemsPerPage Number of items per page |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
117 |
* @param aRequest [out] The request data to be sent to network |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
118 |
* @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
119 |
*/ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
120 |
virtual SmfPluginError searchInGroup( const SmfGroup &aGroup, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
121 |
SmfPluginRequestData *aRequest, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
122 |
const int aPageNum = 0, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
123 |
const int aItemsPerPage = 10 ) = 0; |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
124 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
125 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
126 |
* Method to get the result for a network request. |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
127 |
* @param aTransportResult The result of transport operation |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
128 |
* @param aReply The QNetworkReply instance for the request |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
129 |
* @param aResult [out] An output parameter to the plugin manager.If the |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
130 |
* return value is SmfSendRequestAgain, QVariant will be of type |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
131 |
* SmfPluginRequestData. |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
132 |
* If last operation was friends() or followers() or search() or |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
133 |
* searchInGroup(), aResult will be of type QList<SmfContact> |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
134 |
* If last operation was groups(), aResult will be of type QList<SmfGroup> |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
135 |
* @param aRetType [out] SmfPluginRetType |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
136 |
* @param aIsLastPage [out] true if this the last page, else false |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
137 |
* @return SmfPluginError |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
138 |
*/ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
139 |
virtual SmfPluginError responseAvailable( |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
140 |
const SmfTransportResult aTransportResult, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
141 |
QNetworkReply *aReply, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
142 |
QVariant* aResult, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
143 |
SmfPluginRetType aRetType, |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
144 |
bool aIsLastPage) = 0; |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
145 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
146 |
}; |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
147 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
148 |
Q_DECLARE_INTERFACE( SmfContactFetcherPlugin, "org.symbian.smf.plugin.contact.fetcher/v1.0" ); |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
149 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
150 |
#endif /* SMFCONTACTFETCHERPLUGIN_H_ */ |