author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 13 Oct 2010 14:59:48 +0300 | |
branch | RCL_3 |
changeset 69 | cf1b3ddbe9a1 |
parent 58 | 83ca720e2b9a |
permissions | -rw-r--r-- |
58 | 1 |
/* |
69
cf1b3ddbe9a1
Revision: 201039
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
58
diff
changeset
|
2 |
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
58 | 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: Implementation of settings UI |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
#ifndef C_CMSETTINGSUI_H |
|
19 |
#define C_CMSETTINGSUI_H |
|
20 |
||
21 |
#include <e32def.h> |
|
22 |
#include <e32base.h> |
|
23 |
||
24 |
class CCmSettingsUiImpl; |
|
25 |
||
26 |
/** |
|
27 |
* Implementation of Setting UI |
|
28 |
* |
|
29 |
* @lib cmmanager.lib |
|
30 |
* @since S60 v3.2 |
|
31 |
*/ |
|
32 |
NONSHARABLE_CLASS(CCmSettingsUi) : public CBase |
|
33 |
{ |
|
34 |
public: |
|
35 |
||
36 |
enum TResult |
|
37 |
{ |
|
38 |
EBack, |
|
39 |
EExit |
|
40 |
}; |
|
41 |
||
42 |
/** Epoc constructor */ |
|
43 |
IMPORT_C static CCmSettingsUi* NewL(); |
|
44 |
||
45 |
/** Destructor */ |
|
46 |
virtual ~CCmSettingsUi(); |
|
47 |
||
48 |
//========================================================================= |
|
49 |
// UI API |
|
50 |
// |
|
51 |
public: |
|
52 |
||
53 |
/** |
|
54 |
* Launches the Settings UI |
|
55 |
* for handling Destinations and Connection Methods |
|
56 |
* @since 3.2 |
|
57 |
* @return TResult - the softkey the user exited with |
|
58 |
*/ |
|
59 |
IMPORT_C TResult RunSettingsL(); |
|
60 |
||
61 |
/** |
|
62 |
* Launches a dialog with a list of Destination |
|
63 |
* @since 3.2 |
|
64 |
* @param aDestinationId ID of the selected Destination |
|
65 |
* @return TBool |
|
66 |
*/ |
|
67 |
IMPORT_C TBool SelectDestinationDlgL( TUint32& aDestinationId ); |
|
68 |
||
69 |
private: |
|
70 |
||
71 |
/** First stage constructor */ |
|
72 |
CCmSettingsUi(); |
|
73 |
||
74 |
/** Epoc constructor */ |
|
75 |
void ConstructL(); |
|
76 |
||
77 |
private: // data |
|
78 |
||
79 |
CCmSettingsUiImpl* iImpl; |
|
80 |
}; |
|
81 |
||
82 |
#endif // C_CMSETTINGSUI_H |