equal
deleted
inserted
replaced
177 // |
177 // |
178 void CClockEComListener::Start() |
178 void CClockEComListener::Start() |
179 { |
179 { |
180 __PRINTS( "CClockEComListener::Start - Entry" ); |
180 __PRINTS( "CClockEComListener::Start - Entry" ); |
181 |
181 |
182 // Start the active object and listen for changes in the ECOM registry. |
182 if (!IsActive()) |
183 if( iEComSession ) |
183 { |
184 { |
184 // Start the active object and listen for changes in the ECOM registry. |
185 iEComSession->NotifyOnChange( iStatus ); |
185 if( iEComSession ) |
186 } |
186 { |
187 SetActive(); |
187 iEComSession->NotifyOnChange( iStatus ); |
|
188 SetActive(); |
|
189 } |
|
190 } |
|
191 |
188 |
192 |
189 __PRINTS( "CClockEComListener::Start - Exit" ); |
193 __PRINTS( "CClockEComListener::Start - Exit" ); |
190 } |
194 } |
191 |
195 |
192 // --------------------------------------------------------- |
196 // --------------------------------------------------------- |