|
1 /* |
|
2 * Copyright (c) 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: Generic view class for vcommand app |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // INCLUDE FILES |
|
20 |
|
21 #include <AknQueryDialog.h> |
|
22 #include <aknnotewrappers.h> |
|
23 #include <featmgr.h> |
|
24 #include <StringLoader.h> |
|
25 #include <AknGlobalNote.h> |
|
26 #include <AknWaitDialog.h> |
|
27 #include <hlplch.h> |
|
28 |
|
29 #include <ctsydomainpskeys.h> |
|
30 |
|
31 #include <vcommand.rsg> |
|
32 #include "vcappui.h" |
|
33 #include "vcgenericview.h" |
|
34 #include "vcfolderview.h" |
|
35 #include "vcgenericcontainer.h" |
|
36 #include "vcommandconstants.h" |
|
37 #include "vcommand.hrh" |
|
38 #include "vcommandconstants.h" |
|
39 #include "vcplaybackdialog.h" |
|
40 #include "voiceuibldvariant.hrh" |
|
41 |
|
42 #include <vcommanddomaincrkeys.h> |
|
43 #include <centralrepository.h> |
|
44 |
|
45 #include <coemain.h> |
|
46 #include <apgcli.h> |
|
47 #include <apgtask.h> |
|
48 #include <apacmdln.h> |
|
49 |
|
50 #include "rubydebug.h" |
|
51 |
|
52 |
|
53 // ================= MEMBER FUNCTIONS ======================= |
|
54 |
|
55 |
|
56 // ---------------------------------------------------------------------------- |
|
57 // CVCGenericView::CVCGenericView |
|
58 // C++ constructor |
|
59 // ---------------------------------------------------------------------------- |
|
60 // |
|
61 CVCGenericView::CVCGenericView( CVCModel& aModel ): |
|
62 iModel( aModel ) |
|
63 { |
|
64 } |
|
65 |
|
66 // ---------------------------------------------------------------------------- |
|
67 // CVCGenericView::ConstructL |
|
68 // Two-phased constructor |
|
69 // ---------------------------------------------------------------------------- |
|
70 // |
|
71 void CVCGenericView::ConstructL( TInt aResourceId ) |
|
72 { |
|
73 RUBY_DEBUG_BLOCKL( "CVCGenericView::ConstructL" ); |
|
74 |
|
75 BaseConstructL( aResourceId ); |
|
76 SetFolderTitleL( KNullDesC() ); |
|
77 } |
|
78 |
|
79 // ---------------------------------------------------------------------------- |
|
80 // CVCGenericView::~CVCGenericView |
|
81 // Destructor |
|
82 // ---------------------------------------------------------------------------- |
|
83 // |
|
84 CVCGenericView::~CVCGenericView() |
|
85 { |
|
86 delete iFolderName; |
|
87 |
|
88 if( iContainer ) |
|
89 { |
|
90 AppUi()->RemoveFromStack( iContainer ); |
|
91 delete iContainer; |
|
92 iContainer = NULL; |
|
93 } |
|
94 } |
|
95 |
|
96 // ---------------------------------------------------------------------------- |
|
97 // TUid CVCGenericView::Id |
|
98 // ---------------------------------------------------------------------------- |
|
99 // |
|
100 TUid CVCGenericView::Id() const |
|
101 { |
|
102 return KUidVCMainView; |
|
103 } |
|
104 |
|
105 // ---------------------------------------------------------------------------- |
|
106 // CVCGenericView::HandleCommandL |
|
107 // ---------------------------------------------------------------------------- |
|
108 // |
|
109 void CVCGenericView::HandleCommandL( TInt aCommand ) |
|
110 { |
|
111 RUBY_DEBUG_BLOCKL( "CVCGenericView::HandleCommandL" ); |
|
112 |
|
113 // We will only handle one event at a time |
|
114 if( !iContainer->IsHandlingKeyPressInProgress() ) |
|
115 { |
|
116 iContainer->SetHandlingKeyPressInProgress( ETrue ); |
|
117 DoHandleCommandL( aCommand ); |
|
118 iContainer->SetHandlingKeyPressInProgress( EFalse ); |
|
119 } |
|
120 } |
|
121 |
|
122 // ---------------------------------------------------------------------------- |
|
123 // CVCGenericView::DoHandleCommandL |
|
124 // ---------------------------------------------------------------------------- |
|
125 // |
|
126 // Defines basic operations for listbox items. Those operations are: opening a folder, |
|
127 // editing an item, playing an item and launching help. More sophisticated features |
|
128 // can be defined in inherited classes. |
|
129 // |
|
130 void CVCGenericView::DoHandleCommandL( TInt aCommand ) |
|
131 { |
|
132 RUBY_DEBUG_BLOCKL( "CVCGenericView::DoHandleCommandL" ); |
|
133 |
|
134 switch ( aCommand ) |
|
135 { |
|
136 case EAknSoftkeySelect: // Middle softkey |
|
137 { |
|
138 TInt current( iContainer->CurrentSelection() ); |
|
139 |
|
140 // Msk can be pressed before the listbox is populated in which case |
|
141 // we ignore the key press |
|
142 if( current != KErrNotFound ) |
|
143 { |
|
144 if( iContainer->IsItemFolderL( current ) ) |
|
145 { |
|
146 DoHandleCommandL( EVCCmdOpen ); |
|
147 } |
|
148 else |
|
149 { |
|
150 DoHandleCommandL( EVCCmdEdit ); |
|
151 } |
|
152 } |
|
153 |
|
154 break; |
|
155 } |
|
156 |
|
157 case EAknSoftkeyExit: // exit the application |
|
158 { |
|
159 static_cast<CVCAppUi*>( iEikonEnv->AppUi() )->ExitProgram(); |
|
160 break; |
|
161 } |
|
162 |
|
163 case EAknSoftkeyBack: // back to main view from folder |
|
164 { |
|
165 #ifdef __VCOMMAND_CONTROL_PANEL |
|
166 if( Id() == KUidVCMainView ) |
|
167 { |
|
168 static_cast<CVCAppUi*>( iEikonEnv->AppUi() )->ExitProgram(); |
|
169 break; |
|
170 } |
|
171 else // Id() == KUidVCFolderView |
|
172 { |
|
173 AppUi()->ActivateLocalViewL( KUidVCMainView ); |
|
174 break; |
|
175 } |
|
176 #else |
|
177 AppUi()->ActivateLocalViewL( KUidVCMainView ); |
|
178 break; |
|
179 #endif |
|
180 } |
|
181 |
|
182 case EVCCmdOpen: // open folder |
|
183 { |
|
184 TInt current = iContainer->CurrentSelection(); |
|
185 static_cast <CVCFolderView*> |
|
186 ( AppUi()->View( KUidVCFolderView ) ) |
|
187 ->SetFolderTitleL( iContainer->GetFolderTitle( current ) ); |
|
188 // Store the focused folder. Used when returning from folder view. |
|
189 iFocusedIndex = current; |
|
190 AppUi()->ActivateLocalViewL( KUidVCFolderView ); |
|
191 |
|
192 break; |
|
193 } |
|
194 |
|
195 case EVCCmdEdit: // edit voice command extra text |
|
196 { |
|
197 TRAPD(err, iContainer->ShowEditTextL() ); |
|
198 if ( err == KErrNoMemory || err == KErrDiskFull ) User::Leave(err); |
|
199 break; |
|
200 } |
|
201 |
|
202 case EVCCmdPlayback: // playback voice command |
|
203 { |
|
204 TRAP_IGNORE( PlaybackVoiceCommandL() ); |
|
205 break; |
|
206 } |
|
207 |
|
208 case EVCCmdDelete: // delete a voice command |
|
209 { |
|
210 TRAP_IGNORE( iContainer->DeleteVCommandL() ); |
|
211 break; |
|
212 } |
|
213 |
|
214 case EVCCmdSettings: // modify settings |
|
215 { |
|
216 iFocusedIndex = iContainer->CurrentSelection(); |
|
217 AppUi()->ActivateLocalViewL( KUidVCSettingsView ); |
|
218 break; |
|
219 } |
|
220 |
|
221 case EVCCmdStartVui: // start in tutorial mode |
|
222 { |
|
223 TRAP_IGNORE( LaunchDemoVoiceUiL() ); |
|
224 break; |
|
225 } |
|
226 |
|
227 case EAknCmdHelp: // launch help dialog |
|
228 { |
|
229 HlpLauncher::LaunchHelpApplicationL( iEikonEnv->WsSession(), |
|
230 AppUi()->AppHelpContextL() ); |
|
231 break; |
|
232 } |
|
233 |
|
234 case EVCCmdRemove: // item can not be removed |
|
235 { |
|
236 CannotDeleteNoteL(); |
|
237 break; |
|
238 } |
|
239 |
|
240 case EVCCmdIgnore: |
|
241 { |
|
242 break; // do nothing |
|
243 } |
|
244 |
|
245 default: |
|
246 { |
|
247 AppUi()->HandleCommandL( aCommand ); |
|
248 break; |
|
249 } |
|
250 } |
|
251 } |
|
252 |
|
253 // ---------------------------------------------------------------------------- |
|
254 // CVCGenericView::LaunchDemoVoiceUiL |
|
255 // ---------------------------------------------------------------------------- |
|
256 // |
|
257 void CVCGenericView::LaunchDemoVoiceUiL() const |
|
258 { |
|
259 RUBY_DEBUG_BLOCKL( "CVCGenericView::LaunchDemoVoiceUiL" ); |
|
260 |
|
261 CRepository* client = CRepository::NewLC( KCRUidVCommandSettings ); |
|
262 User::LeaveIfError( client->Set( KVuiDemoMode, ETrue ) ); |
|
263 CleanupStack::PopAndDestroy( client ); |
|
264 |
|
265 TApaTaskList apaTaskList( CCoeEnv::Static()->WsSession() ); |
|
266 TApaTask apaTask = apaTaskList.FindApp( KVoiceUiUid ); |
|
267 |
|
268 if ( apaTask.Exists() ) |
|
269 { |
|
270 apaTask.BringToForeground(); |
|
271 } |
|
272 else |
|
273 { |
|
274 RApaLsSession apaLsSession; |
|
275 User::LeaveIfError( apaLsSession.Connect() ); |
|
276 |
|
277 TApaAppInfo appInfo; |
|
278 User::LeaveIfError( apaLsSession.GetAppInfo( appInfo, KVoiceUiUid ) ); |
|
279 |
|
280 TFileName appName = appInfo.iFullName; |
|
281 CApaCommandLine* apaCommandLine = CApaCommandLine::NewLC(); |
|
282 |
|
283 apaCommandLine->SetExecutableNameL( appName ); |
|
284 apaCommandLine->SetCommandL( EApaCommandRunWithoutViews ); |
|
285 User::LeaveIfError ( apaLsSession.StartApp( *apaCommandLine ) ); |
|
286 CleanupStack::PopAndDestroy( apaCommandLine ); |
|
287 |
|
288 apaLsSession.Close(); |
|
289 } |
|
290 } |
|
291 |
|
292 // ---------------------------------------------------------------------------- |
|
293 // CVCGenericView::CheckMiddleSoftkeyLabelL |
|
294 // ---------------------------------------------------------------------------- |
|
295 // |
|
296 void CVCGenericView::SetMiddleSoftkeyLabelL( TInt aIndex ) const |
|
297 { |
|
298 RUBY_DEBUG_BLOCKL( "CVCGenericView::SetMiddleSoftkeyLabelL" ); |
|
299 |
|
300 RemoveCommandFromMSK(); |
|
301 |
|
302 if( iModel.Count() == 0 ) |
|
303 { |
|
304 DoSetMiddleSoftKeyLabelL( R_TEXT_SOFTKEY_EMPTY, EVCCmdIgnore ); |
|
305 } |
|
306 else if( iContainer->IsItemFolderL( aIndex ) ) |
|
307 { |
|
308 DoSetMiddleSoftKeyLabelL( R_QTN_VC_OPEN, EVCCmdOpen ); |
|
309 } |
|
310 else |
|
311 { |
|
312 DoSetMiddleSoftKeyLabelL( R_QTN_VC_EDIT, EVCCmdEdit ); |
|
313 } |
|
314 } |
|
315 |
|
316 // ---------------------------------------------------------------------------- |
|
317 // CVCGenericView::SetMiddleSoftKeyLabelL |
|
318 // ---------------------------------------------------------------------------- |
|
319 // |
|
320 void CVCGenericView::DoSetMiddleSoftKeyLabelL( const TInt aResourceId, |
|
321 const TInt aCommandId ) const |
|
322 { |
|
323 RUBY_DEBUG_BLOCKL( "CVCGenericView::DoSetMiddleSoftKeyLabelL" ); |
|
324 |
|
325 CEikButtonGroupContainer* cbaGroup = Cba(); |
|
326 if ( cbaGroup ) |
|
327 { |
|
328 HBufC* mskText = StringLoader::LoadLC( aResourceId ); |
|
329 TPtr mskPtr = mskText->Des(); |
|
330 cbaGroup->AddCommandToStackL( KVcMskControlID, aCommandId, mskPtr ); |
|
331 CleanupStack::PopAndDestroy( mskText ); |
|
332 } |
|
333 } |
|
334 |
|
335 // ---------------------------------------------------------------------------- |
|
336 // CVCGenericView::RemoveCommandFromMSK |
|
337 // ---------------------------------------------------------------------------- |
|
338 // |
|
339 void CVCGenericView::RemoveCommandFromMSK() const |
|
340 { |
|
341 if ( Cba() ) |
|
342 { |
|
343 Cba()->RemoveCommandFromStack( KVcMskControlID, EVCCmdOpen ); |
|
344 Cba()->RemoveCommandFromStack( KVcMskControlID, EVCCmdEdit ); |
|
345 } |
|
346 } |
|
347 |
|
348 // ---------------------------------------------------------------------------- |
|
349 // CVCGenericView::HandleClientRectChange |
|
350 // ---------------------------------------------------------------------------- |
|
351 // |
|
352 void CVCGenericView::HandleClientRectChange() |
|
353 { |
|
354 if ( iContainer ) |
|
355 { |
|
356 iContainer->SetRect( ClientRect() ); |
|
357 } |
|
358 } |
|
359 |
|
360 // ---------------------------------------------------------------------------- |
|
361 // CVCGenericView::DoActivateL |
|
362 // ---------------------------------------------------------------------------- |
|
363 // |
|
364 void CVCGenericView::DoActivateL( const TVwsViewId& aPrevViewId, |
|
365 TUid, const TDesC8& ) |
|
366 { |
|
367 RUBY_DEBUG_BLOCKL( "CVCGenericView::DoActivateL" ); |
|
368 |
|
369 if( !iContainer ) |
|
370 { |
|
371 iContainer = new ( ELeave ) CVCGenericContainer( MenuBar(), iModel, *this ); |
|
372 iContainer->SetMopParent( this ); |
|
373 iContainer->ConstructL( ClientRect() ); |
|
374 AppUi()->AddToStackL( *this, iContainer ); |
|
375 |
|
376 iContainer->ActivateL(); |
|
377 } |
|
378 |
|
379 // Returning from folder or settings view |
|
380 if( aPrevViewId.iViewUid.iUid == KUidVCFolderView.iUid || |
|
381 aPrevViewId.iViewUid.iUid == KUidVCSettingsView.iUid ) |
|
382 { |
|
383 // Set the focus on the folder that was opened previously |
|
384 iContainer->SetCurrentSelection( iFocusedIndex ); |
|
385 } |
|
386 |
|
387 // Set msk label |
|
388 SetMiddleSoftkeyLabelL( iContainer->CurrentSelection() ); |
|
389 } |
|
390 |
|
391 // ---------------------------------------------------------------------------- |
|
392 // CVCGenericView::DoDeactivate |
|
393 // ---------------------------------------------------------------------------- |
|
394 // |
|
395 void CVCGenericView::DoDeactivate() |
|
396 { |
|
397 if( iContainer ) |
|
398 { |
|
399 AppUi()->RemoveFromStack( iContainer ); |
|
400 delete iContainer; |
|
401 iContainer = NULL; |
|
402 } |
|
403 } |
|
404 |
|
405 |
|
406 // ---------------------------------------------------------------------------- |
|
407 // CVCGenericView::DynInitMenuPaneL |
|
408 // ---------------------------------------------------------------------------- |
|
409 void CVCGenericView::DynInitMenuPaneL( TInt aResourceId, |
|
410 CEikMenuPane* aMenuPane ) |
|
411 { |
|
412 RUBY_DEBUG_BLOCKL( "CVCGenericView::DynInitMenuPaneL" ); |
|
413 |
|
414 if( aMenuPane ) |
|
415 { |
|
416 // Check which menu item we are handling |
|
417 if( aResourceId == R_VCOMMAND_MENU ) |
|
418 { |
|
419 // if help is not enabled, do not show "help" |
|
420 if( !FeatureManager::FeatureSupported( KFeatureIdHelp ) ) |
|
421 { |
|
422 aMenuPane->SetItemDimmed( EAknCmdHelp, ETrue ); |
|
423 } |
|
424 |
|
425 TInt listBoxIndex( iContainer->CurrentSelection() ); |
|
426 |
|
427 if( listBoxIndex >= 0 ) |
|
428 { |
|
429 TBool isFolder = iContainer->IsItemFolderL( listBoxIndex ); |
|
430 |
|
431 if( isFolder ) // Folder is highlighted. |
|
432 { |
|
433 aMenuPane->SetItemDimmed( EVCCmdPlayback, ETrue ); |
|
434 aMenuPane->SetItemDimmed( EVCCmdEdit, ETrue ); |
|
435 aMenuPane->SetItemDimmed( EVCCmdDelete, ETrue ); |
|
436 } |
|
437 else // Folder is not highlighted. |
|
438 { |
|
439 aMenuPane->SetItemDimmed( EVCCmdOpen, ETrue ); |
|
440 |
|
441 // Show delete item only if the command is user edited |
|
442 TDesC* secondRow = iContainer->GetSecondRowNameLC( |
|
443 iContainer->CurrentSelection() ); |
|
444 if( secondRow->Length() == 0 ) |
|
445 { |
|
446 aMenuPane->SetItemDimmed( EVCCmdDelete, ETrue ); |
|
447 } |
|
448 CleanupStack::PopAndDestroy( secondRow ); |
|
449 } |
|
450 } |
|
451 else // No items in listbox |
|
452 { |
|
453 aMenuPane->SetItemDimmed( EVCCmdPlayback, ETrue ); |
|
454 aMenuPane->SetItemDimmed( EVCCmdEdit, ETrue ); |
|
455 aMenuPane->SetItemDimmed( EVCCmdDelete, ETrue ); |
|
456 aMenuPane->SetItemDimmed( EVCCmdOpen, ETrue ); |
|
457 } |
|
458 } |
|
459 } |
|
460 } |
|
461 |
|
462 // ---------------------------------------------------------------------------- |
|
463 // CVCGenericView::PlaybackVoiceCommandL |
|
464 // ---------------------------------------------------------------------------- |
|
465 // |
|
466 void CVCGenericView::PlaybackVoiceCommandL() |
|
467 { |
|
468 RUBY_DEBUG_BLOCKL( "CVCGenericView::PlaybackVoiceCommandL" ); |
|
469 |
|
470 CVCAppUi* appUi = static_cast <CVCAppUi*> ( iEikonEnv->AppUi() ); |
|
471 |
|
472 TInt state = appUi->CheckCallStateL(); |
|
473 TBool videoCallState = appUi->IsVideoCallL(); |
|
474 |
|
475 if( ( state == EPSCTsyCallStateNone || state == EPSCTsyCallStateUninitialized || |
|
476 state == EPSCTsyCallStateHold || state == KErrNotFound ) && !videoCallState ) |
|
477 { |
|
478 TInt listboxIndex = iContainer->CurrentSelection(); |
|
479 TDesC* listboxItem = iContainer->GetFirstRowNameLC( listboxIndex ); |
|
480 |
|
481 const CVCommandUiEntry& vcommand = iModel.GetVCommandL( *listboxItem ); |
|
482 CleanupStack::PopAndDestroy( listboxItem ); |
|
483 |
|
484 CVCPlaybackDialog* dlg = new (ELeave) CVCPlaybackDialog( |
|
485 iModel.Service(), vcommand ); |
|
486 dlg->PrepareLC( R_PLAYBACK_VOICE_COMMAND_DIALOG ); |
|
487 dlg->RunLD(); |
|
488 dlg = NULL; |
|
489 } |
|
490 else |
|
491 { |
|
492 // Display call in progress note |
|
493 appUi->CallInProgressNoteL(); |
|
494 } |
|
495 } |
|
496 |
|
497 // ---------------------------------------------------------------------------- |
|
498 // CVCGenericView::CannotDeleteNoteL |
|
499 // ---------------------------------------------------------------------------- |
|
500 // |
|
501 void CVCGenericView::CannotDeleteNoteL() |
|
502 { |
|
503 RUBY_DEBUG_BLOCKL( "CVCGenericView::CannotDeleteNoteL" ); |
|
504 |
|
505 TDesC* name; |
|
506 name = iContainer |
|
507 ->GetSecondRowNameLC( iContainer->CurrentSelection() ); |
|
508 |
|
509 if( name->Length() == 0 ) |
|
510 { |
|
511 CleanupStack::PopAndDestroy( name ); |
|
512 name = iContainer |
|
513 ->GetFirstRowNameLC( iContainer->CurrentSelection() ); |
|
514 } |
|
515 |
|
516 HBufC* stringholder = StringLoader::LoadL( R_QTN_VC_INFO_CANNOT_DEL, |
|
517 *name, iEikonEnv ); |
|
518 CleanupStack::PopAndDestroy( name ); |
|
519 CleanupStack::PushL( stringholder ); |
|
520 |
|
521 CAknNoteWrapper* note = new ( ELeave ) CAknNoteWrapper(); |
|
522 note->ExecuteLD( R_CANNOT_DELETE_NOTE, *stringholder ); |
|
523 CleanupStack::PopAndDestroy( stringholder ); |
|
524 } |
|
525 |
|
526 // ----------------------------------------------------------------------------- |
|
527 // CVCGenericView::HandleSizeChange |
|
528 // Handle screen size change. |
|
529 // ----------------------------------------------------------------------------- |
|
530 // |
|
531 void CVCGenericView::HandleSizeChange() |
|
532 { |
|
533 if (iContainer) |
|
534 { |
|
535 TRect genericPaneRect; |
|
536 AknLayoutUtils::LayoutMetricsRect( AknLayoutUtils::EMainPane, genericPaneRect ); |
|
537 iContainer->SetRect( genericPaneRect ); |
|
538 } |
|
539 } |
|
540 |
|
541 // ----------------------------------------------------------------------------- |
|
542 // CVCGenericView::FolderTitle |
|
543 // Returns the title of the view's active folder. |
|
544 // ----------------------------------------------------------------------------- |
|
545 // |
|
546 const TDesC& CVCGenericView::FolderTitle() const |
|
547 { |
|
548 return *iFolderName; |
|
549 } |
|
550 |
|
551 // ----------------------------------------------------------------------------- |
|
552 // CVCGenericView::SetFolderTitleL |
|
553 // ----------------------------------------------------------------------------- |
|
554 // |
|
555 void CVCGenericView::SetFolderTitleL( const TDesC& aNewName ) |
|
556 { |
|
557 delete iFolderName; |
|
558 iFolderName = NULL; |
|
559 iFolderName = aNewName.AllocL(); |
|
560 } |
|
561 |
|
562 // ----------------------------------------------------------------------------- |
|
563 // CVCGenericView::RefreshViewL |
|
564 // ----------------------------------------------------------------------------- |
|
565 // |
|
566 void CVCGenericView::RefreshViewL() |
|
567 { |
|
568 // This is the focused view |
|
569 if( iContainer ) |
|
570 { |
|
571 CVCommandUiEntryArray* oldCommands = iModel.VCommandArrayL(); |
|
572 CleanupStack::PushL( oldCommands ); |
|
573 |
|
574 // Update model |
|
575 iModel.LoadVCommandsL(); |
|
576 |
|
577 CVCommandUiEntryArray* newCommands = iModel.VCommandArrayL(); |
|
578 CleanupStack::PushL( newCommands ); |
|
579 |
|
580 iContainer->RefreshListboxL( *oldCommands, *newCommands ); |
|
581 |
|
582 CleanupStack::PopAndDestroy( newCommands ); |
|
583 CleanupStack::PopAndDestroy( oldCommands ); |
|
584 } |
|
585 } |
|
586 |
|
587 // End of File |