equal
deleted
inserted
replaced
17 |
17 |
18 #ifndef CACLIENTPROXY_H |
18 #ifndef CACLIENTPROXY_H |
19 #define CACLIENTPROXY_H |
19 #define CACLIENTPROXY_H |
20 |
20 |
21 #include <QMutex> |
21 #include <QMutex> |
|
22 #include <QSharedPointer> |
22 |
23 |
23 // INCLUDES |
24 // INCLUDES |
24 #include "cadef.h" |
25 #include "cadef.h" |
25 #include "caclientsession.h" |
26 #include "caclientsession.h" |
26 #include "canotifier.h" |
27 #include "canotifier.h" |
|
28 #include "cahandlerproxy.h" |
27 |
29 |
28 //FORWARD DECLARATIONS |
30 //FORWARD DECLARATIONS |
29 class CCaHandlerEngine; |
31 |
30 class CaClientNotifierProxy; |
32 class CaClientNotifierProxy; |
31 class CaEntry; |
33 class CaEntry; |
32 class CaQuery; |
34 class CaQuery; |
33 class CaNotifierFilter; |
35 class CaNotifierFilter; |
34 |
36 |
213 * @param sourceList list of ids. |
215 * @param sourceList list of ids. |
214 */ |
216 */ |
215 void getEntryIdsL(const CaQuery &query, |
217 void getEntryIdsL(const CaQuery &query, |
216 QList<int> &sourceIdList); |
218 QList<int> &sourceIdList); |
217 |
219 |
218 /** |
|
219 * Method for fetching entries. Symbian specific. |
|
220 * @param entry entry |
|
221 * @param command command. |
|
222 */ |
|
223 void executeCommandL(const CaEntry &entry, |
|
224 const QString &command); |
|
225 |
220 |
226 /** |
221 /** |
227 * Touch. |
222 * Touch. |
228 * @param aEntry entry to be touched. |
223 * @param aEntry entry to be touched. |
229 */ |
224 */ |
238 private: |
233 private: |
239 // Session to server. |
234 // Session to server. |
240 // Own. |
235 // Own. |
241 RCaClientSession mSession; |
236 RCaClientSession mSession; |
242 |
237 |
243 // Engine handler. |
238 // Command handler. |
244 // Own. |
239 QSharedPointer<CaHandlerProxy> mCommandHandler; |
245 CCaHandlerEngine *mHandler; |
|
246 |
240 |
247 // Mutex to serialize access to mSessions. |
241 // Mutex to serialize access to mSessions. |
248 QMutex mMutex; |
242 QMutex mMutex; |
249 }; |
243 }; |
250 |
244 |