equal
deleted
inserted
replaced
199 // Returns the number of controls owned |
199 // Returns the number of controls owned |
200 // --------------------------------------------------------- |
200 // --------------------------------------------------------- |
201 // |
201 // |
202 TInt CCamPostCaptureContainer::CountComponentControls() const |
202 TInt CCamPostCaptureContainer::CountComponentControls() const |
203 { |
203 { |
204 TInt count = 0; |
204 TInt count = CCamContainerBase::CountComponentControls(); |
205 if( ( iPaneInUse == ECamPaneCounter ) || ( iPaneInUse == ECamPaneProgress ) ) |
205 if( ( iPaneInUse == ECamPaneCounter ) || ( iPaneInUse == ECamPaneProgress ) ) |
206 { |
206 { |
207 count++; |
207 count++; |
208 } |
208 } |
209 |
209 |
223 // Return specified control owned by this control |
223 // Return specified control owned by this control |
224 // ----------------------------------------------------------------------------- |
224 // ----------------------------------------------------------------------------- |
225 // |
225 // |
226 CCoeControl* CCamPostCaptureContainer::ComponentControl( TInt aIndex ) const |
226 CCoeControl* CCamPostCaptureContainer::ComponentControl( TInt aIndex ) const |
227 { |
227 { |
228 CCoeControl* con = NULL; |
228 CCoeControl* con = CCamContainerBase::ComponentControl( aIndex ); |
|
229 if( con ) |
|
230 return con; |
229 switch( aIndex ) |
231 switch( aIndex ) |
230 { |
232 { |
231 case ECamPostCaptureSubControlNaviPane: |
233 case ECamPostCaptureSubControlNaviPane: |
232 { |
234 { |
233 switch( iPaneInUse ) |
235 switch( iPaneInUse ) |