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 // cmdnsregisternotifier.h |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalTechnology |
|
21 */ |
|
22 |
|
23 #ifndef CMDNSREGISTERNOTIFIER_H_ |
|
24 #define CMDNSREGISTERNOTIFIER_H_ |
|
25 |
|
26 //System Include |
|
27 #include <e32base.h> |
|
28 |
|
29 //User Include |
|
30 #include "cmdnsserverconstants.h" |
|
31 #include <mdns/dnsconstants.h> |
|
32 #include "mdnsdebug.h" |
|
33 class MPnPObserver; |
|
34 |
|
35 class RMdns; |
|
36 |
|
37 class CMdnsRegisterNotifier : public CActive |
|
38 { |
|
39 public: |
|
40 static CMdnsRegisterNotifier* NewL(RMdns& aMdns); |
|
41 ~CMdnsRegisterNotifier(); |
|
42 void SetPnpObserver(MPnPObserver* aObserver); |
|
43 private: |
|
44 CMdnsRegisterNotifier(RMdns& aMdns); |
|
45 void ConstructL(); |
|
46 void RunL(); |
|
47 void DoCancel(); |
|
48 TInt RunError(TInt aError); |
|
49 void Start(); |
|
50 private: |
|
51 RMdns& iMdns; |
|
52 HBufC8* iNotifyRcvdMessage; |
|
53 TPtr8 iPtrNotifyRcvdMessage; |
|
54 MPnPObserver* iObserver; |
|
55 /** |
|
56 FLOGGER debug trace member variable. |
|
57 */ |
|
58 __FLOG_DECLARATION_MEMBER_MUTABLE; |
|
59 }; |
|
60 |
|
61 #endif /* CMDNSREGISTERNOTIFIER_H_ */ |