emailservices/emailserver/src/FsEmailGlobalDialogsAppUi.cpp
branchRCL_3
changeset 12 4ce476e64c59
parent 11 0396474f30f5
child 13 8592a65ad3fb
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". 
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     8 *
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
   140     // We need to delete notification handler already here, because mail
   140     // We need to delete notification handler already here, because mail
   141     // client destructor might need some AppUi resources like CleanupStack
   141     // client destructor might need some AppUi resources like CleanupStack
   142     delete iNotificationHandlerMgr;
   142     delete iNotificationHandlerMgr;
   143     iNotificationHandlerMgr = NULL;
   143     iNotificationHandlerMgr = NULL;
   144     
   144     
   145 	// Call base class Exit
   145     // Call base class Exit
   146     CAknAppUi::Exit();
   146     CAknAppUi::Exit();
   147     }
   147     }
   148 
   148 
   149 // ---------------------------------------------------------------------------
   149 // ---------------------------------------------------------------------------
   150 // 2nd phase constructor
   150 // 2nd phase constructor
   209     iEikonEnv->RootWin().SetOrdinalPosition( 
   209     iEikonEnv->RootWin().SetOrdinalPosition( 
   210         KPosBringToFront,
   210         KPosBringToFront,
   211         KFsEmailDialogsWinPriorityActive );
   211         KFsEmailDialogsWinPriorityActive );
   212 
   212 
   213     iEikonEnv->RootWin().EnableGroupListChangeEvents();
   213     iEikonEnv->RootWin().EnableGroupListChangeEvents();
   214 	
   214     
   215     // Enable keyboard focus when showing some content
   215     // Enable keyboard focus when showing some content
   216     iEikonEnv->RootWin().EnableReceiptOfFocus( ETrue );	
   216     iEikonEnv->RootWin().EnableReceiptOfFocus( ETrue ); 
   217     }
   217     }
   218 
   218 
   219 // ---------------------------------------------------------------------------
   219 // ---------------------------------------------------------------------------
   220 // Sends FSMailServer to the background when notes are dismissed.
   220 // Sends FSMailServer to the background when notes are dismissed.
   221 // ---------------------------------------------------------------------------
   221 // ---------------------------------------------------------------------------