contentstorage/caclient/inc/canotifier_p.h
changeset 93 82b66994846c
parent 87 9d806967057c
child 94 dbb8300717f7
equal deleted inserted replaced
92:782e3408c2ab 93:82b66994846c
    19 #define CANOTIFIER_PRIVATE_H
    19 #define CANOTIFIER_PRIVATE_H
    20 
    20 
    21 class CaClientNotifierProxy;
    21 class CaClientNotifierProxy;
    22 class CaNotifier;
    22 class CaNotifier;
    23 class CaNotifierFilter;
    23 class CaNotifierFilter;
       
    24 class CaObserver;
    24 
    25 
    25 class CaNotifierPrivate
    26 class CaNotifierPrivate
    26 {
    27 {
    27 public:
    28 public:
    28 
    29 
    31         EntryChangedWithEntryNotifierType,
    32         EntryChangedWithEntryNotifierType,
    32         EntryTouchedNotifierType,
    33         EntryTouchedNotifierType,
    33         GroupContentChangedNotifierType
    34         GroupContentChangedNotifierType
    34     };
    35     };
    35 
    36 
    36     CaNotifierPrivate(const CaNotifierFilter &notifierFilter);
    37     CaNotifierPrivate(const CaNotifierFilter &notifierFilter, 
       
    38             CaClientNotifierProxy *notifierProxy);
    37     ~CaNotifierPrivate();
    39     ~CaNotifierPrivate();
    38 
    40 
    39     int registerNotifier(NotifierType notifierType);
    41     int registerNotifier(NotifierType notifierType);
    40     void unregisterNotifier(NotifierType notifierType);
    42     void unregisterNotifier(NotifierType notifierType);
    41 
    43 
    42     void makeConnect();
    44     void makeConnect();
    43 
    45 
    44     void makeDisconnect();
       
    45 
       
    46 private:
    46 private:
    47 
    47 
    48     /*!
       
    49      * Points to the CaNotifier instance that uses
       
    50      * this private implementation.
       
    51      */
       
    52     const CaNotifier *m_q;
    48     const CaNotifier *m_q;
    53 
    49 
    54     /*!
       
    55      * Own.
       
    56      */
       
    57     const CaNotifierFilter *mNotifierFilter;
    50     const CaNotifierFilter *mNotifierFilter;
    58 
    51 
    59     /*!
    52     const CaObserver *mObserver;
    60      * Own.
    53 
    61      */
       
    62     CaClientNotifierProxy *mNotifierProxy;
    54     CaClientNotifierProxy *mNotifierProxy;
    63 
    55 
    64     friend class CaNotifier;
    56     friend class CaNotifier;
    65 
    57 
    66 };
    58 };