equal
deleted
inserted
replaced
|
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 RADIOSETTINGS_H_ |
|
19 #define RADIOSETTINGS_H_ |
|
20 |
|
21 // User includes |
|
22 #include "radiowrapperexport.h" |
|
23 |
|
24 // Forward declarations |
|
25 class RadioSettingsPrivate; |
|
26 |
|
27 // Class declaration |
|
28 class WRAPPER_DLL_EXPORT RadioSettings |
|
29 { |
|
30 Q_DECLARE_PRIVATE_D( d_ptr, RadioSettings ) |
|
31 Q_DISABLE_COPY( RadioSettings ) |
|
32 |
|
33 friend class RadioEngineWrapperPrivate; |
|
34 |
|
35 public: |
|
36 |
|
37 // First time start |
|
38 bool isFirstTimeStart(); |
|
39 |
|
40 // Favorites |
|
41 bool showFavorites() const; |
|
42 void setShowFavorites( bool showFavorites ); |
|
43 bool toggleShowFavorites(); |
|
44 |
|
45 private: |
|
46 |
|
47 explicit RadioSettings(); |
|
48 |
|
49 private: // data |
|
50 |
|
51 /** |
|
52 * Unmodifiable pointer to the private implementation |
|
53 */ |
|
54 RadioSettingsPrivate* const d_ptr; |
|
55 |
|
56 }; |
|
57 |
|
58 #endif // RADIOSETTINGS_H_ |