contentstorage/caclient/inc/caservice_p.h
branchGCC_SURGE
changeset 105 e7325f632549
parent 104 9b022b1f357c
child 121 0b3699f6c654
equal deleted inserted replaced
81:5ef31a21fdd5 105:e7325f632549
    25 class CaEntry;
    25 class CaEntry;
    26 class CaQuery;
    26 class CaQuery;
    27 class CaService;
    27 class CaService;
    28 class CaNotifier;
    28 class CaNotifier;
    29 class CaClientNotifierProxy;
    29 class CaClientNotifierProxy;
       
    30 class CaHandlerProxy;
    30 
    31 
    31 class CaServicePrivate
    32 class CaServicePrivate
    32 {
    33 {
    33 
    34 
    34 public:
    35 public:
    55 
    56 
    56     bool appendEntriesToGroup(int groupId, const QList<int> &entryIdList);
    57     bool appendEntriesToGroup(int groupId, const QList<int> &entryIdList);
    57 
    58 
    58     bool prependEntriesToGroup(int groupId, const QList<int> &entryIdList);
    59     bool prependEntriesToGroup(int groupId, const QList<int> &entryIdList);
    59 
    60 
    60     bool executeCommand(const CaEntry &entry, const QString &command);
    61     int executeCommand(const CaEntry &entry, const QString &command);
    61 
    62 
    62     CaNotifier *createNotifier(const CaNotifierFilter &filter);
    63     CaNotifier *createNotifier(const CaNotifierFilter &filter);
    63 
    64 
    64     bool customSort(int groupId, QList<int> &entryIdList);
    65     bool customSort(int groupId, QList<int> &entryIdList);
    65 
    66 
    67 
    68 
    68 private:
    69 private:
    69 
    70 
    70     CaService *const m_q;
    71     CaService *const m_q;
    71 
    72 
       
    73     // Command handler.
       
    74     QSharedPointer<CaHandlerProxy> mCommandHandler;
       
    75 
    72     CaClientProxy *mProxy;
    76     CaClientProxy *mProxy;
    73  
    77  
    74     CaClientNotifierProxy *mNotifierProxy;
    78     CaClientNotifierProxy *mNotifierProxy;
    75 
    79 
    76     mutable ErrorCode mErrorCode;
    80     mutable ErrorCode mErrorCode;