|
1 /* |
|
2 * Copyright (c) 2008 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 the License "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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef C_VCXNSCONTENTHARVESTERSERVICELISTENER_H |
|
21 #define C_VCXNSCONTENTHARVESTERSERVICELISTENER_H |
|
22 |
|
23 #include <e32base.h> |
|
24 #include <e32property.h> |
|
25 #include "videochpssubscriber.h" |
|
26 |
|
27 class CVcxNsChPublishableData; |
|
28 class CVcxNsChPublisher; |
|
29 |
|
30 /** |
|
31 * CVcxNsContentHarvesterServiceListener |
|
32 * |
|
33 * @lib vcxnscontentharvesterplugin.dll |
|
34 * @since S60 5.0 |
|
35 */ |
|
36 class CVcxNsContentHarvesterServiceListener : public CBase, |
|
37 public MCHPSObserver |
|
38 { |
|
39 |
|
40 public: |
|
41 |
|
42 static CVcxNsContentHarvesterServiceListener* NewL( CVcxNsChPublisher* aPublisher, |
|
43 CVcxNsChPublishableData* aPublishableData ); |
|
44 |
|
45 virtual ~CVcxNsContentHarvesterServiceListener(); |
|
46 |
|
47 |
|
48 private: |
|
49 |
|
50 CVcxNsContentHarvesterServiceListener( CVcxNsChPublisher* aPublisher, |
|
51 CVcxNsChPublishableData* aPublishableData ); |
|
52 |
|
53 void ConstructL(); |
|
54 |
|
55 // from MCHPSObserver |
|
56 |
|
57 void ValueChanged( const TUint32& aKey, const TInt& aValue ); |
|
58 |
|
59 private: // data |
|
60 |
|
61 /** |
|
62 * The property to be watched: vod service count |
|
63 */ |
|
64 CVcxNsCHPSSubscriber* iVodServiceCount; |
|
65 |
|
66 /** |
|
67 * The property to be watched: live tx service count |
|
68 */ |
|
69 CVcxNsCHPSSubscriber* iLiveTvServiceCount; |
|
70 |
|
71 |
|
72 /** |
|
73 * CVcxNsChPublisher. |
|
74 */ |
|
75 CVcxNsChPublisher* iPublisher; |
|
76 |
|
77 /** |
|
78 * CVcxNsChPublishableData. |
|
79 */ |
|
80 CVcxNsChPublishableData* iPublishableData; |
|
81 |
|
82 }; |
|
83 |
|
84 #endif // C_VCXNSCONTENTHARVESTERMPXCLIENT_H |