iaupdate/IAD/ui/inc/iaupdateuiconfigdata.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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:   Header file of CIAUpdateUiConfigData class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef IA_UPDATE_UI_CONFIG_DATA_H
       
    21 #define IA_UPDATE_UI_CONFIG_DATA_H
       
    22 
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 
       
    27 /**
       
    28  * CIAUpdateUiConfigData provides configuration data 
       
    29  * for the engine.
       
    30  *
       
    31  * @since S60 v3.2
       
    32  */
       
    33 class CIAUpdateUiConfigData : public CBase
       
    34     {
       
    35 
       
    36 public:
       
    37 
       
    38     /**
       
    39      * @return CIAUpdateUiConfigData*
       
    40      *
       
    41      * @since S60 v3.2
       
    42      */
       
    43     static CIAUpdateUiConfigData* NewL();
       
    44 
       
    45     /**
       
    46      * @return CIAUpdateUiConfigData*
       
    47      *
       
    48      * @since S60 v3.2
       
    49      */
       
    50     static CIAUpdateUiConfigData* NewLC();
       
    51 
       
    52 
       
    53     /**
       
    54      * Destructor
       
    55      *
       
    56      * @since S60 v3.2
       
    57      */
       
    58     virtual ~CIAUpdateUiConfigData();  
       
    59 
       
    60 
       
    61     /**
       
    62      * @return TInt Grid refresh delta hours.
       
    63      *
       
    64      * @since S60 v3.2
       
    65      */
       
    66     TInt GridRefreshDeltaHours() const;
       
    67 
       
    68 
       
    69     /**
       
    70      * @return TInt Query history delay hours.
       
    71      *
       
    72      * @since S60 v3.2
       
    73      */
       
    74     TInt QueryHistoryDelayHours() const;
       
    75 
       
    76 private:
       
    77 
       
    78     CIAUpdateUiConfigData();
       
    79     void ConstructL();
       
    80 
       
    81 
       
    82 private: // data
       
    83 
       
    84     TInt iGridRefreshDeltaHours;
       
    85     TInt iQueryHistoryDelayHours;
       
    86     
       
    87     };
       
    88     
       
    89 #endif // IA_UPDATE_UI_CONFIG_DATA_H
       
    90