author | cgandhi <chandradeep.gandhi@sasken.com> |
Tue, 06 Apr 2010 16:35:37 +0530 | |
changeset 2 | 86af6c333601 |
parent 1 | 4b1e636e8a71 |
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 |
2
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
11 |
* under the terms of the "Eclipse Public License v1.0" |
1
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
12 |
* which accompanies this distribution, and is available |
2
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
13 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html" |
1
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 |
|
2
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
23 |
#include <smfpluginbase.h> |
1
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> |
2
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
26 |
#include <smfplace.h> |
1
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 |
/** |
2
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
29 |
* @ingroup smf_plugin_group |
1
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
30 |
* Interface specification for fetching contacts. This class provides |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
31 |
* 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
|
32 |
* 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
|
33 |
* |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
34 |
* 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
|
35 |
* specific plug-in. |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
36 |
*/ |
2
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
37 |
class SmfContactFetcherPlugin : public SmfPluginBase |
1
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
38 |
{ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
39 |
Q_OBJECT |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
40 |
public: |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
41 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
42 |
* Constructor with default argument |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
43 |
* @param aParent The parent object |
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 |
SmfContactFetcherPlugin( QObject* aParent = 0 ); |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
46 |
|
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 |
* Destructor |
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 |
~SmfContactFetcherPlugin( ); |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
51 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
52 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
53 |
* Method to get the list of friends |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
54 |
* @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
|
55 |
* @param aPageNum The page to be extracted |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
56 |
* @param aItemsPerPage Number of items per page |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
57 |
* @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
58 |
*/ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
59 |
virtual SmfPluginError friends( SmfPluginRequestData *aRequest, |
2
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
60 |
const int aPageNum = SMF_FIRST_PAGE, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
61 |
const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0; |
1
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
62 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
63 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
64 |
* Method to get the list of followers |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
65 |
* @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
|
66 |
* @param aPageNum The page to be extracted |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
67 |
* @param aItemsPerPage Number of items per page |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
68 |
* @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
69 |
*/ |
2
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
70 |
virtual SmfPluginError followers( SmfPluginRequestData *aRequest, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
71 |
const int aPageNum = SMF_FIRST_PAGE, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
72 |
const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0; |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
73 |
|
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
74 |
/** |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
75 |
* Method to search for a contact |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
76 |
* @param aRequest [out] The request data to be sent to network |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
77 |
* @param aContact contact to be searched |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
78 |
* @param aPageNum The page to be extracted |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
79 |
* @param aItemsPerPage Number of items per page |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
80 |
* @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
81 |
*/ |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
82 |
virtual SmfPluginError search( SmfPluginRequestData *aRequest, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
83 |
const SmfContact *aContact, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
84 |
const int aPageNum = SMF_FIRST_PAGE, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
85 |
const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0; |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
86 |
|
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
87 |
/** |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
88 |
* Method to search for contacts (friends) who are near the user. |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
89 |
* Proximity defines accuracy level |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
90 |
* @param aRequest [out] The request data to be sent to network |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
91 |
* @param aLocation The location search criteria |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
92 |
* @param aProximity location search boundary |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
93 |
* @param aPageNum The page to be extracted |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
94 |
* @param aItemsPerPage Number of items per page |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
95 |
* @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
96 |
*/ |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
97 |
virtual SmfPluginError searchNear( SmfPluginRequestData *aRequest, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
98 |
const SmfPlace* aLocation, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
99 |
const SmfLocationSearchBoundary aProximity, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
100 |
const int aPageNum = SMF_FIRST_PAGE, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
101 |
const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0; |
1
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
102 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
103 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
104 |
* Method to get the list of groups |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
105 |
* @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
|
106 |
* @param aPageNum The page to be extracted |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
107 |
* @param aItemsPerPage Number of items per page |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
108 |
* @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
109 |
*/ |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
110 |
virtual SmfPluginError groups( SmfPluginRequestData *aRequest, |
2
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
111 |
const int aPageNum = SMF_FIRST_PAGE, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
112 |
const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0; |
1
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
113 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
114 |
/** |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
115 |
* Method to search for a contact in a group |
2
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
116 |
* @param aRequest [out] The request data to be sent to network |
1
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
117 |
* @param aGroup the group in which to search |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
118 |
* @param aPageNum The page to be extracted |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
119 |
* @param aItemsPerPage Number of items per page |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
120 |
* @return SmfPluginError Plugin error if any, else SmfPluginErrNone |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
121 |
*/ |
2
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
122 |
virtual SmfPluginError searchInGroup( SmfPluginRequestData *aRequest, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
123 |
const SmfGroup &aGroup, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
124 |
const int aPageNum = SMF_FIRST_PAGE, |
86af6c333601
Changed the common classes for location, events. Changed APIs for paged results. Added exporting to QContacts.
cgandhi <chandradeep.gandhi@sasken.com>
parents:
1
diff
changeset
|
125 |
const int aItemsPerPage = SMF_ITEMS_PER_PAGE ) = 0; |
1
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
126 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
127 |
}; |
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
128 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
129 |
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
|
130 |
|
4b1e636e8a71
Updating the interfaces for SMFClient and SMFPlugins
cgandhi <chandradeep.gandhi@sasken.com>
parents:
diff
changeset
|
131 |
#endif /* SMFCONTACTFETCHERPLUGIN_H_ */ |