equal
deleted
inserted
replaced
|
1 // Copyright (c) 2008-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 // The asynchronous callbacks used by the Network Gateway |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 @released |
|
22 */ |
|
23 #ifndef __NETGATEWAYASYNCCALLBACK_H__ |
|
24 #define __NETGATEWAYASYNCCALLBACK_H__ |
|
25 |
|
26 #include <e32base.h> |
|
27 #include <lbs/lbsnetcommon.h> |
|
28 |
|
29 class CLbsNetworkProtocolBase; |
|
30 |
|
31 /** |
|
32 The async callback class used to reject the PrivacyRequest from a PM |
|
33 |
|
34 @see CNetworkGateway::ProcessPrivacyRequest |
|
35 @see CAsyncCallBack |
|
36 */ |
|
37 class CRejectPrivacyRequestCallback : public CAsyncCallBack |
|
38 { |
|
39 public: |
|
40 static CRejectPrivacyRequestCallback* NewL(); |
|
41 virtual ~CRejectPrivacyRequestCallback(); |
|
42 |
|
43 void CallBack(CLbsNetworkProtocolBase* aProtocol, const TLbsNetSessionId& aSessionId); |
|
44 |
|
45 protected: |
|
46 virtual void RunL(); |
|
47 |
|
48 private: |
|
49 CRejectPrivacyRequestCallback(); |
|
50 |
|
51 private: |
|
52 CLbsNetworkProtocolBase* iProtocol; |
|
53 TLbsNetSessionId iSessionId; |
|
54 }; |
|
55 |
|
56 #endif //__NETGATEWAYASYNCCALLBACK_H__ |