equal
deleted
inserted
replaced
|
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: Custom setting item for selectin used connection |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef SERVER_SETTING_CONNECTION_SETTING_ITEM_H |
|
21 #define SERVER_SETTING_CONNECTION_SETTING_ITEM_H |
|
22 |
|
23 #include <e32base.h> |
|
24 #include <aknsettingitemlist.h> |
|
25 #include <cmapplicationsettingsui.h> |
|
26 |
|
27 /** |
|
28 * A custom setting for selecting the used destination or connection method. |
|
29 */ |
|
30 class CServerSettingConnectionSettingItem : public CAknSettingItem |
|
31 { |
|
32 public: |
|
33 |
|
34 CServerSettingConnectionSettingItem(TInt aIdentifier, TCmSettingSelection& aSelection); |
|
35 virtual ~CServerSettingConnectionSettingItem(); |
|
36 |
|
37 |
|
38 void StoreL(); |
|
39 void LoadL(); |
|
40 void EditItemL( TBool aCalledFromMenu ); |
|
41 |
|
42 const TDesC& SettingTextL(); |
|
43 |
|
44 private: |
|
45 |
|
46 void UpdateSettingTextL(); |
|
47 |
|
48 TCmSettingSelection& iExternalValue; |
|
49 TCmSettingSelection iInternalValue; |
|
50 |
|
51 HBufC* iSettingText; |
|
52 }; |
|
53 |
|
54 #endif // SERVER_SETTING_CONNECTION_SETTING_ITEM_H |