equal
deleted
inserted
replaced
39 { |
39 { |
40 public: // Constructors and destructor |
40 public: // Constructors and destructor |
41 /** |
41 /** |
42 * Two-phased constructor. |
42 * Two-phased constructor. |
43 */ |
43 */ |
44 static CWrtHarvesterPublisherObserver* NewLC( const TDesC& aName, CWrtHarvester* aHarvester ); |
44 static CWrtHarvesterPublisherObserver* NewLC( const TDesC& aBundleId, CWrtHarvester* aHarvester ); |
45 |
45 |
46 /** |
46 /** |
47 * Destructor. |
47 * Destructor. |
48 */ |
48 */ |
49 virtual ~CWrtHarvesterPublisherObserver(); |
49 virtual ~CWrtHarvesterPublisherObserver(); |
78 void RegisterL( CLiwDefaultMap* aFilter ); |
78 void RegisterL( CLiwDefaultMap* aFilter ); |
79 |
79 |
80 /** |
80 /** |
81 * |
81 * |
82 */ |
82 */ |
83 const TDesC& Name(); |
83 const TDesC& BundleId(); |
84 |
84 |
85 |
85 /** |
|
86 * Cancel all the registered notifications. |
|
87 * @return void. |
|
88 */ |
|
89 void ReleaseL(); |
|
90 |
86 private: |
91 private: |
87 /** |
92 /** |
88 * Perform the second phase construction |
93 * Perform the second phase construction |
89 */ |
94 */ |
90 void ConstructL( const TDesC& aName ); |
95 void ConstructL( const TDesC& aBundleId ); |
91 |
96 |
92 /** |
97 /** |
93 * Default constructor. |
98 * Default constructor. |
94 */ |
99 */ |
95 CWrtHarvesterPublisherObserver( CWrtHarvester* aHarvester ); |
100 CWrtHarvesterPublisherObserver( CWrtHarvester* aHarvester ); |
96 |
101 |
97 // Prhohibited |
102 // Prhohibited |
98 CWrtHarvesterPublisherObserver(); |
103 CWrtHarvesterPublisherObserver(); |
99 |
|
100 /** |
|
101 * Cancel all the registered notifications. |
|
102 * @return void. |
|
103 */ |
|
104 void ReleaseL(); |
|
105 |
104 |
106 /** |
105 /** |
107 * Initialise Liw connection to Content publishing service. |
106 * Initialise Liw connection to Content publishing service. |
108 */ |
107 */ |
109 void InitLiwL(); |
108 void InitLiwL(); |
127 // Not owned |
126 // Not owned |
128 CWrtHarvester* iHarvester; |
127 CWrtHarvester* iHarvester; |
129 |
128 |
130 // Name of the observed publisher |
129 // Name of the observed publisher |
131 // Owned |
130 // Owned |
132 HBufC* iName; |
131 HBufC* iBundleId; |
133 |
132 |
134 // Call back error code |
133 // Call back error code |
135 TInt iError; |
134 TInt iError; |
136 }; |
135 }; |
137 |
136 |