radioengine/settings/inc/cradioapplicationsettings.h
branchRCL_3
changeset 20 93c594350b9a
parent 19 cce62ebc198e
equal deleted inserted replaced
19:cce62ebc198e 20:93c594350b9a
     1 /*
       
     2 * Copyright (c) 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef C_RADIOAPPLICATIONSETTINGS_H
       
    19 #define C_RADIOAPPLICATIONSETTINGS_H
       
    20 
       
    21 // User includes
       
    22 #include "mradioapplicationsettings.h"
       
    23 
       
    24 // Forward declarations
       
    25 class CRepository;
       
    26 
       
    27 /**
       
    28  * Concrete implementation of application settings.
       
    29  */
       
    30 NONSHARABLE_CLASS( CRadioApplicationSettings ) : public CBase
       
    31                                                , public MRadioApplicationSettings
       
    32     {
       
    33 
       
    34 public:
       
    35 
       
    36     static CRadioApplicationSettings* NewL();
       
    37 
       
    38     ~CRadioApplicationSettings();
       
    39 
       
    40 // from base class MRadioApplicationSettings
       
    41 
       
    42     TBool IsFirstTimeStart();
       
    43     void SetFirstTimeStartPerformed( TBool aFirstTimeStartPerformed );
       
    44     TInt SetUiFlags( TUint aUiFlags );
       
    45     TUint UiFlags() const;
       
    46 
       
    47 private:
       
    48 
       
    49     CRadioApplicationSettings();
       
    50 
       
    51     void ConstructL();
       
    52     
       
    53 private: // data
       
    54     CRepository* iRepository;
       
    55 
       
    56     };
       
    57 
       
    58 #endif // C_RADIOAPPLICATIONSETTINGS_H