|
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 IRQSETTINGS_P_H_ |
|
19 #define IRQSETTINGS_P_H_ |
|
20 |
|
21 #include <QString> |
|
22 #include "irqenums.h" |
|
23 #include "irviewdefinitions.h" |
|
24 |
|
25 class XQSettingsManager; |
|
26 |
|
27 class IRQSettingsPrivate |
|
28 { |
|
29 public: |
|
30 IRQSettingsPrivate(); |
|
31 virtual ~IRQSettingsPrivate(); |
|
32 |
|
33 /** |
|
34 * Initialize, get the CIRSettings instance |
|
35 * @return bool |
|
36 */ |
|
37 bool init(); |
|
38 |
|
39 QString privatePath(); |
|
40 |
|
41 bool isFlagTermsAndConditions(bool& aFlag); |
|
42 void setFlagTermsAndConditions(); |
|
43 void reSetFlagTermsAndConditions(); |
|
44 |
|
45 bool getIRID(QString& aIRID); |
|
46 int getVolumeSetting(); |
|
47 void setVolumeSetting(int aPlayVolume); |
|
48 void setTimeOut(int aTimeOut); |
|
49 int getTimeOut(); |
|
50 int getSongHistoryShow(); |
|
51 void setSongHistoryShow(int aShowFlag); |
|
52 |
|
53 /** |
|
54 * setStartingViewId() |
|
55 * Sets the starting view Id in cenrep |
|
56 */ |
|
57 void setStartingViewId(int aStartingViewId); |
|
58 |
|
59 /** |
|
60 * getStartingViewId() |
|
61 * Gets the starting view Id from cenrep |
|
62 */ |
|
63 bool getStartingViewId(TIRViewId& aStartingViewId); |
|
64 |
|
65 void setPreferredQuality(IRQPreferredQuality aQualityValue); |
|
66 |
|
67 /** |
|
68 * getPreferredQuality() |
|
69 * Gets the Preferred Quality from cenrep |
|
70 */ |
|
71 IRQPreferredQuality getPreferredQuality() const; |
|
72 |
|
73 /** |
|
74 * getGlobalAdvFlag() |
|
75 * Gets the global adv flag from cenrep. True: enable NAE adv |
|
76 */ |
|
77 bool getGlobalAdvFlag(bool& aFlag); |
|
78 |
|
79 bool getManuallyInputtedStationUrl(QString& aUrl); |
|
80 void setManuallyInputtedStationUrl(const QString& aUrl); |
|
81 bool getManuallyInputtedStationName(QString& aName); |
|
82 void setManuallyInputtedStationName(const QString& aName); |
|
83 bool getSearchText(QString& aSearchText); |
|
84 void setSearchText(const QString& aSearchText); |
|
85 |
|
86 int getMinDiskSpaceRequired(); |
|
87 bool getIdentifySongEnabled(); |
|
88 int getSongRecognitionAppUid(); |
|
89 QString getIsdsUrl(); |
|
90 |
|
91 private: |
|
92 XQSettingsManager* mSettingsManager; |
|
93 QString mPrivatePath; |
|
94 }; |
|
95 |
|
96 #endif /* IRQSETTINGS_P_H_ */ |