equal
deleted
inserted
replaced
53 |
53 |
54 // Main UI Controller must be configured correctly |
54 // Main UI Controller must be configured correctly |
55 User::LeaveIfError( aRepository.Get( KAiMainUIController, value ) ); |
55 User::LeaveIfError( aRepository.Get( KAiMainUIController, value ) ); |
56 |
56 |
57 CAiUiController* controller = CAiUiController::NewL( TUid::Uid( value ) ); |
57 CAiUiController* controller = CAiUiController::NewL( TUid::Uid( value ) ); |
58 |
|
59 iCreatedUICList.Append( value ); |
|
60 CleanupStack::PushL( controller ); |
58 CleanupStack::PushL( controller ); |
|
59 |
|
60 iCreatedUICList.AppendL( value ); |
61 |
61 |
62 iMainUiController = controller->MainInterface(); |
62 iMainUiController = controller->MainInterface(); |
63 |
63 |
64 // Main UI controller must be configured correctly |
64 // Main UI controller must be configured correctly |
65 if( !iMainUiController ) |
65 if( !iMainUiController ) |
96 if( iCreatedUICList.Find( value ) != KErrNotFound ) |
96 if( iCreatedUICList.Find( value ) != KErrNotFound ) |
97 { |
97 { |
98 continue; |
98 continue; |
99 } |
99 } |
100 |
100 |
101 iCreatedUICList.Append( value ); |
101 iCreatedUICList.AppendL( value ); |
102 |
102 |
103 CAiUiController* controller = |
103 CAiUiController* controller = |
104 CAiUiController::NewL( TUid::Uid( value ) ); |
104 CAiUiController::NewL( TUid::Uid( value ) ); |
105 |
105 |
106 CleanupStack::PushL( controller ); |
106 CleanupStack::PushL( controller ); |