contentstorage/caclient/s60/inc/caclientnotifierproxy.h
changeset 87 9d806967057c
parent 85 7feec50967db
child 93 82b66994846c
equal deleted inserted replaced
86:e492551a0d54 87:9d806967057c
     9  * Initial Contributors:
     9  * Initial Contributors:
    10  * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    11  *
    11  *
    12  * Contributors:
    12  * Contributors:
    13  *
    13  *
    14  * Description: 
    14  * Description:
    15  *
    15  *
    16  */
    16  */
    17 
    17 
    18 #ifndef CACLIENTNOTIFIERPROXY_H
    18 #ifndef CACLIENTNOTIFIERPROXY_H
    19 #define CACLIENTNOTIFIERPROXY_H
    19 #define CACLIENTNOTIFIERPROXY_H
    41      * Method invoked when entry is changed.
    41      * Method invoked when entry is changed.
    42      * @param entryId entry id.
    42      * @param entryId entry id.
    43      * @param changeType change type.
    43      * @param changeType change type.
    44      */
    44      */
    45     virtual void entryChanged(TInt entryId,
    45     virtual void entryChanged(TInt entryId,
    46         TChangeType changeType) const = 0;
    46                               TChangeType changeType) const = 0;
    47 
    47 
    48     /**
    48     /**
    49      * Method invoked when entry is changed.
    49      * Method invoked when entry is changed.
    50      * @param entry entry.
    50      * @param entry entry.
    51      * @param changeType change type.
    51      * @param changeType change type.
    52      */
    52      */
    53     virtual void entryChanged(const CCaInnerEntry &entry,
    53     virtual void entryChanged(const CCaInnerEntry &entry,
    54         TChangeType changeType) const = 0;
    54                               TChangeType changeType) const = 0;
    55 
    55 
    56     /**
    56     /**
    57      * Method invoked when entry was changed.
    57      * Method invoked when entry was changed.
    58      * @param entryId entry id.
    58      * @param entryId entry id.
    59      */
    59      */
    67 };
    67 };
    68 
    68 
    69 class CACLIENT_EXPORT CaClientNotifierProxy: public QObject,
    69 class CACLIENT_EXPORT CaClientNotifierProxy: public QObject,
    70     public IDataObserver
    70     public IDataObserver
    71 {
    71 {
    72 Q_OBJECT
    72     Q_OBJECT
    73 
    73 
    74 public:
    74 public:
    75 
    75 
    76     /**
    76     /**
    77      * Constructor.
    77      * Constructor.
    95      * Method invoked when entry is changed.
    95      * Method invoked when entry is changed.
    96      * @param entry entry.
    96      * @param entry entry.
    97      * @param changeType change type.
    97      * @param changeType change type.
    98      */
    98      */
    99     virtual void entryChanged(const CCaInnerEntry &entry,
    99     virtual void entryChanged(const CCaInnerEntry &entry,
   100         TChangeType changeType) const;
   100                               TChangeType changeType) const;
   101 
   101 
   102     /**
   102     /**
   103      * Method invoked when entry was changed.
   103      * Method invoked when entry was changed.
   104      * @param entryId entry id.
   104      * @param entryId entry id.
   105      */
   105      */
   135 
   135 
   136 signals:
   136 signals:
   137 
   137 
   138     void signalEntryChanged(int entryId, ChangeType changeType) const;
   138     void signalEntryChanged(int entryId, ChangeType changeType) const;
   139     void signalEntryChanged(const CaEntry &entry,
   139     void signalEntryChanged(const CaEntry &entry,
   140         ChangeType changeType) const;
   140                             ChangeType changeType) const;
   141     void signalEntryTouched(int id) const;
   141     void signalEntryTouched(int id) const;
   142     void signalGroupContentChanged(int groupId) const;
   142     void signalGroupContentChanged(int groupId) const;
   143 
   143 
   144 private:
   144 private:
   145     /**
   145     /**