radioengine/settings/inc/cradioapplicationsettings.h
changeset 24 6df133bd92e1
child 28 075425b8d9a4
equal deleted inserted replaced
23:a2b50a479edf 24:6df133bd92e1
       
     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 #include "cradiosettingsbase.h"
       
    24 
       
    25 /**
       
    26  * Concrete implementation of application settings.
       
    27  */
       
    28 NONSHARABLE_CLASS( CRadioApplicationSettings ) : public CRadioSettingsBase
       
    29                                                , public MRadioApplicationSettings
       
    30     {
       
    31 
       
    32 public:
       
    33 
       
    34     static CRadioApplicationSettings* NewL( CRadioRepositoryManager& aRepositoryManager, CCoeEnv& aCoeEnv );
       
    35 
       
    36     ~CRadioApplicationSettings();
       
    37 
       
    38 // from base class MRadioApplicationSettings
       
    39 
       
    40     TInt SetActiveFocusLocation( TInt aIndex );
       
    41     TInt ActiveFocusLocation() const;
       
    42     void SetAudioPlayHistoryL( TRadioCRAudioPlayHistory aHistory );
       
    43     TRadioCRAudioPlayHistory AudioPlayHistory() const;
       
    44     TInt UpdateStartCount();
       
    45     TInt SetUiFlags( TUint aUiFlags );
       
    46     TUint UiFlags() const;
       
    47 
       
    48 private:
       
    49 
       
    50     CRadioApplicationSettings( CRadioRepositoryManager& aRepositoryManager, CCoeEnv& aCoeEnv );
       
    51 
       
    52     void ConstructL();
       
    53 
       
    54     };
       
    55 
       
    56 #endif // C_RADIOAPPLICATIONSETTINGS_H