equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-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 #ifndef NAPUPLINKAUTHORISATIONHELPER_H |
|
17 #define NAPUPLINKAUTHORISATIONHELPER_H |
|
18 |
|
19 |
|
20 #include <e32base.h> |
|
21 #include <btextnotifiers.h> |
|
22 |
|
23 |
|
24 class MNapUplinkAuthorisationRequester |
|
25 { |
|
26 public: |
|
27 virtual void MnuarNapUplinkAuthorisationHelperComplete(TInt aError, TNapConnectionResult aResult) = 0; |
|
28 }; |
|
29 |
|
30 |
|
31 NONSHARABLE_CLASS(CNapUplinkAuthorisationHelper) : public CActive |
|
32 { |
|
33 public: |
|
34 CNapUplinkAuthorisationHelper(MNapUplinkAuthorisationRequester& aNapUplinkAuthorisationRequester); |
|
35 ~CNapUplinkAuthorisationHelper(); |
|
36 |
|
37 void PerformNapUplinkAuthorisationL(); |
|
38 |
|
39 TPanConnectionList& PanConnectionList(); |
|
40 private: |
|
41 |
|
42 void RunL(); |
|
43 void DoCancel(); |
|
44 |
|
45 private: |
|
46 MNapUplinkAuthorisationRequester& iNapUplinkAuthorisationRequester; |
|
47 |
|
48 TNapConnectionResultPckg iResultBuf; |
|
49 |
|
50 RNotifier iNotifier; |
|
51 |
|
52 TPanConnectionListPckg iConnectionListPckg; |
|
53 }; |
|
54 |
|
55 #endif // NAPUPLINKAUTHORISATIONHELPER_H |
|
56 |