equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002 - 2007 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: ?Description |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef LOCODBEARERPLUGINOBS_H_ |
|
20 #define LOCODBEARERPLUGINOBS_H_ |
|
21 |
|
22 #include <e32base.h> |
|
23 #include <e32debug.h> |
|
24 #include <StifLogger.h> |
|
25 #include <testclassassert.h> |
|
26 |
|
27 #include <locodbearerplugin.h> |
|
28 #include <locodbearerpluginobserver.h> |
|
29 #include <locodbearer.h> |
|
30 |
|
31 NONSHARABLE_CLASS( CLocodBearerPluginObs ) : public MLocodBearerPluginObserver |
|
32 { |
|
33 public: |
|
34 static CLocodBearerPluginObs* NewL( CStifLogger* aLog ); |
|
35 virtual ~CLocodBearerPluginObs(); |
|
36 |
|
37 void ActivateObserver( TBool& aLocodBearerStatus ); |
|
38 |
|
39 private: |
|
40 CLocodBearerPluginObs( CStifLogger* aLog ); |
|
41 |
|
42 void ConstructL(); |
|
43 void NotifyBearerStatus( TLocodBearer aBearer, TBool aStatus ); |
|
44 |
|
45 private: |
|
46 CStifLogger* iLog; |
|
47 CActiveSchedulerWait* iWait; |
|
48 TBool iLocodBearerStatus; |
|
49 }; |
|
50 |
|
51 #endif /*LOCODBEARERPLUGINOBS_H_*/ |