1 /* |
|
2 * Copyright (c) 2008 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: CMSStoreKeepOnPhoneSetting class definition |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_MSSTOREKEEPONPHONESETTING_H |
|
20 #define C_MSSTOREKEEPONPHONESETTING_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <aknsettingitemlist.h> |
|
24 #include "cmcommontypes.h" |
|
25 #include "mediaservant.hrh" |
|
26 |
|
27 // FORWARD DECLARATIONS |
|
28 class CMSAppUi; |
|
29 |
|
30 |
|
31 // CLASS DECLARATION |
|
32 |
|
33 /** |
|
34 * CMSStoreKeepOnPhoneSetting class. |
|
35 * |
|
36 * @since S60 5.1 |
|
37 */ |
|
38 NONSHARABLE_CLASS( CMSStoreKeepOnPhoneSetting ): |
|
39 public CAknEnumeratedTextPopupSettingItem |
|
40 { |
|
41 public: |
|
42 |
|
43 /** |
|
44 * Constructor. |
|
45 * |
|
46 * @since S60 5.1 |
|
47 * @param aSettingPageResourceId, setting page resource |
|
48 * @param aMediaType, mediatype |
|
49 * @param aSelection, selection index |
|
50 * return None |
|
51 */ |
|
52 CMSStoreKeepOnPhoneSetting( |
|
53 TInt aSettingPageResourceId, |
|
54 TCmMediaType aMediaType, |
|
55 TInt& aSelection |
|
56 ); |
|
57 |
|
58 /** |
|
59 * Destructor. |
|
60 */ |
|
61 virtual ~CMSStoreKeepOnPhoneSetting(); |
|
62 |
|
63 |
|
64 protected: |
|
65 |
|
66 // From base class CAknSettingItem |
|
67 |
|
68 /** |
|
69 * From CAknSettingItem |
|
70 * See base class definition |
|
71 */ |
|
72 void CompleteConstructionL(); |
|
73 |
|
74 private: |
|
75 |
|
76 /** |
|
77 * media type |
|
78 */ |
|
79 TCmMediaType iMediaType; |
|
80 }; |
|
81 |
|
82 #endif // C_MSSTOREKEEPONPHONESETTING_H |
|
83 |
|
84 // End of File |
|