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