equal
deleted
inserted
replaced
|
1 /** @file |
|
2 * Copyright (c) 2005-2006 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: Declares virtual MUpnpNotifyTimerObserver callback class |
|
15 * and the implemented active object class CUpnpNotifyTimer |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef C_CUPNPMSEARCHTIMER_H |
|
21 #define C_CUPNPMSEARCHTIMER_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32base.h> |
|
25 #include "upnpnotifytimer.h" |
|
26 |
|
27 // CLASS DECLARATION |
|
28 /** |
|
29 * Class with m-search timer |
|
30 * |
|
31 * @since Series60 3.2 |
|
32 */ |
|
33 class CUpnpMSearchTimer : public CUpnpNotifyTimer |
|
34 { |
|
35 private: |
|
36 |
|
37 /** |
|
38 * Constructor |
|
39 */ |
|
40 IMPORT_C CUpnpMSearchTimer( MUpnpNotifyTimerObserver* aObserver); |
|
41 |
|
42 public: |
|
43 IMPORT_C static CUpnpMSearchTimer* NewL(MUpnpNotifyTimerObserver* aObserver, |
|
44 const TDesC8& aTarget, |
|
45 const TDesC8& aMX); |
|
46 |
|
47 IMPORT_C static CUpnpMSearchTimer* NewLC(MUpnpNotifyTimerObserver* aObserver, |
|
48 const TDesC8& aTarget, |
|
49 const TDesC8& aMX); |
|
50 |
|
51 void ConstructL(const TDesC8& aTarget, |
|
52 const TDesC8& aMX); |
|
53 |
|
54 /** |
|
55 * Destructor. |
|
56 */ |
|
57 ~CUpnpMSearchTimer(); |
|
58 |
|
59 IMPORT_C TInt GetNextValue(); |
|
60 IMPORT_C TPtrC8 GetTarget(); |
|
61 |
|
62 |
|
63 private: |
|
64 // search target |
|
65 HBufC8* iTarget; |
|
66 // mx configuration |
|
67 HBufC8* iMXString; |
|
68 // mx processor |
|
69 TLex8 iMX; |
|
70 |
|
71 }; |
|
72 |
|
73 |
|
74 #endif // C_CUPNPMSEARCHTIMER_H |
|
75 |
|
76 // End Of File |