iaupdate/IAD/engine/controller/inc/iaupdatectrlconsts.h
changeset 0 ba25891c3a9e
child 18 3ba40be8e484
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef IA_UPDATE_CTRL_CONSTS_H
       
    21 #define IA_UPDATE_CTRL_CONSTS_H
       
    22 
       
    23 /**
       
    24  * IAUpdateCtrlConsts
       
    25  * Gives constants for the controller.
       
    26  * 
       
    27  * @note Some of these values need to be updated when 
       
    28  * new versions of the controller are published.
       
    29  *
       
    30  * @since S60 v3.2
       
    31  */
       
    32 namespace IAUpdateCtrlConsts
       
    33     {
       
    34     
       
    35     /**
       
    36      * Software type is sent to the server side to inform 
       
    37      * that a software is using the iaupdate engine.
       
    38      * 
       
    39      * @note The type should always remain same 
       
    40      *       because we are always using the same engine.    
       
    41      *
       
    42      * @since S60 v3.2
       
    43      */
       
    44     _LIT( KSoftwareType, "s60-iaupdate" );
       
    45 
       
    46     /**
       
    47      * Version gives the version of the iaupdate engine.
       
    48      * Version informs which version of the engine is used.
       
    49      * Thus, the server can check what kind of responses
       
    50      * the client can understand.
       
    51      *
       
    52      * @note This should be updated when new releases of
       
    53      *       the controller are published. So, the server
       
    54      *       knows what kind of responses it can send.
       
    55      *
       
    56      * @since S60 v3.2
       
    57      */
       
    58     _LIT( KSoftwareVersion, "2.0.8" );
       
    59     
       
    60     /**
       
    61      * Product code value that is used when emulator is used.
       
    62      *
       
    63      * @since S60 v3.2
       
    64      */
       
    65     _LIT( KWinsProductCode, "00000000" );
       
    66 
       
    67     /**
       
    68      * Default storage max size in KBs. This is used if the value 
       
    69      * is not given in the configuration file. Automatic cache 
       
    70      * cleaning will be started if cache size exceeds this value. 
       
    71      * Notice, automatic cleaning can be turned off. Then, this
       
    72      * value does not have any effect.
       
    73      */
       
    74     _LIT( KDefaultStorageMaxSize, "1024" );
       
    75 
       
    76     /**
       
    77      * This defines the time interval after which the cache is
       
    78      * thought as expired and it can be cleared.
       
    79      */
       
    80     const TInt KCacheClearIntervalDays( 30 );
       
    81     
       
    82     }
       
    83     
       
    84 #endif // IA_UPDATE_CTRL_CONSTS_H