|
1 /** |
|
2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @internalComponent |
|
23 @released |
|
24 */ |
|
25 |
|
26 #ifndef _NETWORKREQUESTHANDLER_H |
|
27 #define _NETWORKREQUESTHANDLER_H |
|
28 |
|
29 class CTestNetworkGateway; |
|
30 class CLbsAdmin; |
|
31 class CNGMessageSwitch; |
|
32 class CPrivacyAndLocationHandler; |
|
33 class CNrhServer; |
|
34 class CX3pHandler; |
|
35 class MNrhServerObserver; |
|
36 |
|
37 #include "lbsrootapi.h" |
|
38 #include "lbsnetregstatusint.h" |
|
39 |
|
40 #if defined(_DEBUG) |
|
41 #include "LbsOomListener.h" |
|
42 #endif |
|
43 |
|
44 class CLbsNetworkRequestHandler : public CBase |
|
45 { |
|
46 public: |
|
47 static CLbsNetworkRequestHandler* NewL(CNrhServer* aNrhServer); |
|
48 ~CLbsNetworkRequestHandler(); |
|
49 |
|
50 public: |
|
51 CLbsAdmin* Admin() const; |
|
52 RLbsNetworkRegistrationStatus& NetworkRegistrationStatus(); |
|
53 |
|
54 protected: |
|
55 CLbsNetworkRequestHandler(CNrhServer* aNrhServer); |
|
56 void ConstructL(); |
|
57 |
|
58 private: |
|
59 CLbsAdmin* iAdmin; |
|
60 CNGMessageSwitch* iNgMessageSwitch; |
|
61 CPrivacyAndLocationHandler* iPrivLocHandler; |
|
62 // iNrhServer is used to register relevant subcomponent classes for |
|
63 // server callbacks |
|
64 CNrhServer* iNrhServer; |
|
65 CX3pHandler* iX3pHandler; |
|
66 RLbsNetworkRegistrationStatus iNetRegStatus; |
|
67 |
|
68 #if defined(_DEBUG) |
|
69 CLbsOomListener* iOomListener; |
|
70 #endif |
|
71 }; |
|
72 |
|
73 #endif // _NETWORKREQUESTHANDLER_H |