equal
deleted
inserted
replaced
1 // Copyright (c) 2004-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 // service change notify |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef CSERVICECHAGENOTIFIER_H |
|
24 #define CSERVICECHAGENOTIFIER_H |
|
25 |
|
26 #include <e32base.h> |
|
27 #include <etelpckt.h> |
|
28 |
|
29 #include "ceteldrivernotifier.h" |
|
30 |
|
31 /** notifier for status of packet service */ |
|
32 class CServiceChangeNotifier : public CEtelDriverNotifier |
|
33 { |
|
34 public: |
|
35 CServiceChangeNotifier(RPacketService& aPacketService, |
|
36 CPdpFsmInterface& aPdpFsmInterface); |
|
37 ~CServiceChangeNotifier(); |
|
38 |
|
39 virtual void Start(); |
|
40 |
|
41 protected: |
|
42 virtual void Notify(const TRequestStatus& aStatus); |
|
43 virtual void DoCancel(); |
|
44 |
|
45 private: |
|
46 /** underlying packet service */ |
|
47 RPacketService& iPacketService; |
|
48 |
|
49 /** status of a packet service */ |
|
50 RPacketService::TStatus iServiceStatus; |
|
51 }; |
|
52 |
|
53 #endif // CSERVICECHAGENOTIFY_H |
|