inc/ccontentmap.h
author jake
Tue, 13 Apr 2010 15:07:27 +0300
branchv5backport
changeset 56 7b5c31fac191
parent 54 666a2952b5b3
permissions -rw-r--r--
Many of the components were not compilingm,because bld.inf had undefined flag #ifdef RD_CUSTOMIZABLE_AI. All the flags removed now. Components do not compile right away. E.g. many icons are missing and need to be copied from Symbian3. See example from MCSPlugin. Shortcut plugin does not need to be compiled as MCSPlugin replaces it.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
30
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
     1
/*
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
     2
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
     3
* All rights reserved.
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
     4
* This component and the accompanying materials are made available
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
     6
* which accompanies this distribution, and is available
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
     8
*
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
     9
* Initial Contributors:
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    11
*
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    12
* Contributors:
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    13
*
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    14
* Description:  CContentMap - class used in Content Publisher
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    15
 *
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    16
*/
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    17
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    18
#ifndef C_CONTENTMAP_H
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    19
#define C_CONTENTMAP_H
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    20
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    21
#include "cpliwmap.h"
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    22
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    23
// CLASS DECLARATION
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    24
/**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    25
 *  Map which contains ids and serialized data stored by 
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    26
 * 	Content Publisher
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    27
 *
54
666a2952b5b3 renamed dlls+exe to prevent conflicts with existing files in emulator; changelog attached.
Christian Morlok <symbian.org@christianmorlok.de>
parents: 30
diff changeset
    28
 *  @lib cputils_hs_hs.dll
30
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    29
 *  @since S60 v5.0
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    30
 */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    31
NONSHARABLE_CLASS( CContentMap ): public CCPLiwMap
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    32
    {
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    33
public:
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    34
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    35
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    36
     * Two-phased constructor.
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    37
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    38
    IMPORT_C static CContentMap* NewL( );
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    39
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    40
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    41
     * Two-phased constructor.
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    42
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    43
    IMPORT_C static CContentMap* NewLC( );
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    44
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    45
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    46
     * Destructor.
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    47
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    48
    virtual ~CContentMap();
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    49
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    50
        
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    51
private:
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    52
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    53
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    54
     * Adds to database current content
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    55
     *  
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    56
     * @param aSqlDb handle to database
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    57
     * @param aNotificationList list of notifications to fill in when 
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    58
     *        something was actually changed in dataabse
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    59
     *
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    60
     * @return id of added entry
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    61
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    62
	TInt32 AddL( RSqlDatabase aSqlDb,
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    63
            CLiwDefaultList* aNotificationList = NULL ) const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    64
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    65
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    66
     * Fetches entries from database
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    67
     *  
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    68
     * @param aSqlDb handle to database
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    69
     * @param aList target list for enntries
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    70
     * @param aItemsToDelete ids of entries for removal - 
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    71
     *        they were found to be expired
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    72
     *
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    73
     * @return number of fetched entries
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    74
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    75
    TUint GetListL( RSqlDatabase aSqlDb,
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    76
            CLiwGenericParamList* aList,
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    77
            RArray<TInt32>& aItemsToDelete ) const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    78
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    79
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    80
     * Removes entries from database
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    81
     *  
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    82
     * @param aSqlDb handle to database
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    83
     * @param aNotificationList list of notifications to fill in when 
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    84
     *        something was actually changed in dataabse
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    85
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    86
    void RemoveL( RSqlDatabase aSqlDb ,
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    87
            CLiwDefaultList* aNotificationList = 0 ) const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    88
    
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    89
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    90
     * Saves results from query to SQLite Server
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    91
     *  
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    92
     * @param aStmt handle to SQL statement
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    93
     * @param aList target list for enntries
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    94
     * @param aItemsToDelete ids of entries for removal - 
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    95
     *        they were found to be expired
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    96
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    97
    void SaveQueryResultsL( RSqlStatement& aStmt ,
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    98
            CLiwGenericParamList& aList,
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
    99
            RArray<TInt32>& aItemsToDelete ) const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   100
    
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   101
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   102
     * Prepares SQL query for Add operation
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   103
     *
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   104
     * @param aSqlDb handle to database  
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   105
     * @param aStmt handle to SQL statement
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   106
     * @param aQuery SQL query
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   107
     *
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   108
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   109
    void PrepareStmtforAddL(RSqlDatabase aSqlDb,
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   110
            RSqlStatement& aStmt ,
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   111
            const TDesC& aQuery ) const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   112
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   113
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   114
     * Prepares SQL query for Update operation
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   115
     *
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   116
     * @param aSqlDb handle to database  
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   117
     * @param aStmt handle to SQL statement
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   118
     * @param aId id of entry to update
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   119
     *
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   120
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   121
    void PrepareStmtforUpdateL( RSqlDatabase aSqlDb,
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   122
            RSqlStatement& aStmt,
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   123
            TInt32 aId ) const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   124
    
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   125
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   126
     * Updates entry in database
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   127
     *  
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   128
     * @param aSqlDb handle to database
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   129
     * @param aId id entry to update
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   130
     * @param aNotificationList list of notifications to fill in when 
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   131
     *        something was actually changed in dataabse
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   132
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   133
    void UpdateL( RSqlDatabase aSqlDb, TInt32 aId,
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   134
            CLiwDefaultList* aNotificationList ) const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   135
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   136
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   137
     * Performs actuall add operation
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   138
     *  
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   139
     * @param aSqlDb handle to database
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   140
     * @param aNotificationList list of notifications to fill in when 
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   141
     *        something was actually changed in dataabse
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   142
     *
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   143
     * @return id of added entry
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   144
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   145
    TInt32 AddToDbL( RSqlDatabase aSqlDb,
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   146
            CLiwDefaultList* aNotificationList ) const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   147
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   148
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   149
     * Appends sorting criteria as strings to SQL query according to aSort
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   150
     *
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   151
     * @param aQuery SQL query
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   152
     * @param aSort sort filter as TInt
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   153
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   154
    void AppendSortL( RBuf& aQuery, const TCPSortOrder& aSort ) const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   155
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   156
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   157
     * Checks expiration time
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   158
     * @param aExpirationTime time to checking with current time
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   159
     * @return true if aExpirationTime is correct
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   160
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   161
    TBool IsOutdated( const TTime aExpirationTime ) const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   162
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   163
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   164
     * Check if data map is set
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   165
     *
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   166
     * @return ETrue if ContentType was set, EFalse if not
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   167
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   168
    void IsDataMapL() const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   169
    
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   170
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   171
     * Gets expiration time from own data
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   172
     * @param aResult expiration date
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   173
     * @return ETrue if expiration date is find, EFalse if not 
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   174
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   175
    TBool GetExpirationDateL( TTime& aResult ) const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   176
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   177
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   178
     * Check if IDs are valid for Delete operation
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   179
     *
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   180
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   181
    void IsValidForDeleteL() const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   182
    
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   183
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   184
     * Check if IDs are valid for GetList operation
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   185
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   186
    void IsValidForGetListL() const ;    
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   187
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   188
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   189
     *
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   190
     * @return ETrue if supported, EFalse if not
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   191
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   192
    TBool ActivateActionSupport( ) const;      
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   193
    
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   194
	/**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   195
     *
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   196
     * @return ETrue if activate flag is set, EFalse if not
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   197
     */
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   198
	TBool GetActivateInfo( ) const;
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   199
	
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   200
	                                              
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   201
private:
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   202
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   203
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   204
     * C++ default constructor.
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   205
     */    
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   206
    CContentMap();
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   207
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   208
    /**
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   209
     * Perform the second phase construction of a CContentMap object.
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   210
     */        
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   211
    void ConstructL();
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   212
    
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   213
    };
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   214
f9f9f96b1873 user: kashif.sayed
kashif.sayed
parents:
diff changeset
   215
#endif // C_CONTENTMAP_H