|
1 /* |
|
2 * Copyright (c) 2005-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: Header file for RNDIS refusal notifier |
|
15 * |
|
16 */ |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalComponent |
|
21 */ |
|
22 |
|
23 #ifndef RNDISREFUSALNOTIFIER_H |
|
24 #define RNDISREFUSALNOTIFIER_H |
|
25 |
|
26 #include <e32base.h> // CBase |
|
27 #include <e32std.h> // TBuf |
|
28 #include <eiknotapi.h> // For MEikSrvNotifierBase2 |
|
29 |
|
30 NONSHARABLE_CLASS(CRndisNetworkConnectionRefusalNotifier) |
|
31 : public MEikSrvNotifierBase2 |
|
32 /** |
|
33 RNDIS network connection refusal notifier |
|
34 */ |
|
35 { |
|
36 public: |
|
37 //Create CRndisNetworkConnectionRefusalNotifier. |
|
38 static CRndisNetworkConnectionRefusalNotifier* NewLC(); |
|
39 //Destructor |
|
40 ~CRndisNetworkConnectionRefusalNotifier(); |
|
41 |
|
42 public: |
|
43 // virtual functions from MEikSrvNotifierBase2 |
|
44 virtual void Release(); |
|
45 virtual TNotifierInfo RegisterL(); |
|
46 virtual TNotifierInfo Info() const; |
|
47 virtual TPtrC8 StartL(const TDesC8& aBuffer); |
|
48 virtual void StartL(const TDesC8& aBuffer, TInt aReplySlot, const RMessagePtr2& aMessage); |
|
49 virtual void Cancel(); |
|
50 virtual TPtrC8 UpdateL(const TDesC8& aBuffer); |
|
51 |
|
52 private: |
|
53 CRndisNetworkConnectionRefusalNotifier(); |
|
54 void ConstructL(); |
|
55 |
|
56 private: |
|
57 TNotifierInfo iInfo; |
|
58 }; |
|
59 |
|
60 #endif //RNDISREFUSALNOTIFIER_H |