1 /* |
|
2 * Copyright (c) 2002 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: Setting item class for profile name setting. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CPROFILENAMESETTINGITEM_H |
|
21 #define CPROFILENAMESETTINGITEM_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <aknsettingitemlist.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CProfileEngineHandler; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 /** |
|
31 * Setting item class for profile name setting. |
|
32 * CProfileNameSettingItem extends CAknTextSettingItem in order to launch |
|
33 * CProfileNameSettingPage instead of CCAknTextSettingPage. |
|
34 * |
|
35 * @lib ProfileSettingsView.lib |
|
36 * @since 1.2 |
|
37 */ |
|
38 NONSHARABLE_CLASS( CProfileNameSettingItem ) : public CAknTextSettingItem |
|
39 { |
|
40 public: // Constructor |
|
41 |
|
42 /** |
|
43 * C++ constructor. |
|
44 * @param aIdentifier Setting item identifier. |
|
45 * @param aText A descriptor where new profile name is stored. |
|
46 * @param aEngineHandler Profile Engine Handler. |
|
47 */ |
|
48 CProfileNameSettingItem( |
|
49 TInt aIdentifier, |
|
50 TDes& aText, |
|
51 CProfileEngineHandler& aEngineHandler ); |
|
52 |
|
53 private: // Functions from base classes |
|
54 |
|
55 /** |
|
56 * From CAknSettingItem |
|
57 */ |
|
58 void EditItemL( TBool aCalledFromMenu ); |
|
59 |
|
60 private: // Data |
|
61 |
|
62 // Profile Engine Handler. |
|
63 CProfileEngineHandler& iEngineHandler; |
|
64 |
|
65 }; |
|
66 |
|
67 #endif // CPROFILENAMESETTINGITEM_H |
|
68 |
|
69 // End of File |
|