contentstorage/srvinc/castorageproxy.h
changeset 73 4bc7b118b3df
parent 60 f62f87b200ec
child 80 397d00875918
equal deleted inserted replaced
66:32469d7d46ff 73:4bc7b118b3df
    16  */
    16  */
    17 
    17 
    18 #ifndef CASTORAGEPROXY_H
    18 #ifndef CASTORAGEPROXY_H
    19 #define CASTORAGEPROXY_H
    19 #define CASTORAGEPROXY_H
    20 
    20 
       
    21 #include "cadef.h"
    21 #include "caoperationparams.h"
    22 #include "caoperationparams.h"
    22 
    23 
    23 
    24 
    24 // FORWARD DECLARATIONS
    25 // FORWARD DECLARATIONS
    25 class CCaStorage;
    26 class CCaStorage;
    82     IMPORT_C void GetEntriesIdsL( const CCaInnerQuery* aQuery,
    83     IMPORT_C void GetEntriesIdsL( const CCaInnerQuery* aQuery,
    83             RArray<TInt>& aResultIdArray );
    84             RArray<TInt>& aResultIdArray );
    84 
    85 
    85     /**
    86     /**
    86      * Adds or Updates data to storage.
    87      * Adds or Updates data to storage.
    87      * In case when data is added the input aEntry serves
    88      * In case when data is added the input aEntry serves.
    88      * also as an output entry.
    89      * also as an output entry.
    89      * @param aEntry Entry data.
    90      * @param aEntry Entry data.
    90      * @param aUpdate is entry updated by a client
    91      * @param aUpdate is entry updated by a client.
       
    92      * @param aItemAppearanceChange a type of change of the item.
    91      */
    93      */
    92     IMPORT_C void AddL( CCaInnerEntry* aEntry, TBool aUpdate = EFalse );
    94     IMPORT_C void AddL( CCaInnerEntry* aEntry,
       
    95         TBool aUpdate = EFalse,
       
    96         TItemAppearance aItemAppearanceChange = EItemAppearanceNotChanged );
    93 
    97 
    94     /**
    98     /**
    95      * Removes entries from storage.
    99      * Removes entries from storage.
    96      * @param aEntryIds Ids of entries to be removed.
   100      * @param aEntryIds Ids of entries to be removed.
    97      */
   101      */