equal
deleted
inserted
replaced
|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent |
|
19 */ |
|
20 |
|
21 #ifndef _CWRAPGETDETNET_H_ |
|
22 #define _CWRAPGETDETNET_H_ |
|
23 |
|
24 #include <etelmm.h> |
|
25 #include <mmretrieve.h> |
|
26 |
|
27 // Wrapper object for CRetrieveMobilePhoneDetectedNetworks. |
|
28 // The CRetrieveMobilePhoneDetectedNetworks active object needs |
|
29 // both a CActiveScheduler installed and for it to have been started. |
|
30 // As a result of starting the CActiveScheduler, another AO must be |
|
31 // implemented to stop the CActiveScheduler when the |
|
32 // CRetrieveMobilePhoneDetetctedNetworks active object completes. |
|
33 |
|
34 class CWrapperGetDetectedNetworks : public CActive |
|
35 { |
|
36 public: |
|
37 static CWrapperGetDetectedNetworks* NewL(RMobilePhone& aPhone); |
|
38 ~CWrapperGetDetectedNetworks(); |
|
39 void Start(); |
|
40 CMobilePhoneNetworkList *RetrieveList(); |
|
41 |
|
42 protected: |
|
43 CWrapperGetDetectedNetworks(RMobilePhone& aPhone); |
|
44 void ConstructL(); |
|
45 virtual void RunL(); |
|
46 virtual void DoCancel(); |
|
47 |
|
48 private: |
|
49 CRetrieveMobilePhoneDetectedNetworks* iRetrieve; |
|
50 RMobilePhone& iPhone3; |
|
51 }; |
|
52 |
|
53 #endif |