author | Simon Howkins <simonh@symbian.org> |
Thu, 18 Nov 2010 15:05:52 +0000 | |
branch | RCL_3 |
changeset 76 | 40780c2f3a6b |
parent 69 | cf1b3ddbe9a1 |
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 setting UI |
|
15 |
* |
|
16 |
*/ |
|
17 |
||
18 |
#ifndef C_CMSETTINGSUIIMPL_H |
|
19 |
#define C_CMSETTINGSUIIMPL_H |
|
20 |
||
21 |
#include <e32def.h> |
|
22 |
#include <e32base.h> |
|
23 |
#include <ConeResLoader.h> |
|
24 |
||
25 |
class CCmManagerImpl; |
|
26 |
||
27 |
/** |
|
28 |
* Implementation of setting UI |
|
29 |
* |
|
30 |
* @lib cmmanager.lib |
|
31 |
* @since S60 v3.2 |
|
32 |
*/ |
|
33 |
NONSHARABLE_CLASS(CCmSettingsUiImpl) : public CBase |
|
34 |
{ |
|
35 |
public: |
|
36 |
||
37 |
/** Epoc constructor */ |
|
38 |
static CCmSettingsUiImpl* NewL(); |
|
39 |
||
40 |
/** Destructor */ |
|
41 |
virtual ~CCmSettingsUiImpl(); |
|
42 |
||
43 |
//========================================================================= |
|
44 |
// UI API |
|
45 |
// |
|
46 |
public: |
|
47 |
||
48 |
/** |
|
49 |
* Launches the Settings UI |
|
50 |
* for handling Destinations and Connection Methods |
|
51 |
* @since 3.2 |
|
52 |
*/ |
|
53 |
TInt RunSettingsL(); |
|
54 |
||
55 |
/** |
|
56 |
* Launches a dialog with a list of Destination |
|
57 |
* @since 3.2 |
|
58 |
* @param aDestinationId ID of the selected Destination |
|
59 |
* @return TBool |
|
60 |
*/ |
|
61 |
TBool SelectDestinationDlgL( TUint32& aDestinationId ); |
|
62 |
||
63 |
private: |
|
64 |
||
65 |
/** First stage constructor */ |
|
66 |
CCmSettingsUiImpl(); |
|
67 |
||
68 |
/** Epoc constructor */ |
|
69 |
void ConstructL(); |
|
70 |
||
71 |
/** Load resource */ |
|
72 |
TInt LoadResourceL (); |
|
73 |
||
74 |
private: // data |
|
75 |
||
76 |
CCmManagerImpl* iCmManagerImpl; |
|
77 |
RConeResourceLoader iResourceReader; |
|
78 |
}; |
|
79 |
||
80 |
#endif // C_CMSETTINGSUIIMPL_H |