epoc32/include/mw/akndlgshut.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 akndlgshut.h
     1 /*
       
     2 * Copyright (c) 2002-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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #if !defined(__AKNDLGSHUT_H__)
       
    20 #define __AKNDLGSHUT_H__
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class CEikonEnv;
       
    27 
       
    28 /**
       
    29 * Utility class for shutting dialogs
       
    30 */
       
    31 class AknDialogShutter
       
    32 	{
       
    33 public:
       
    34     /**
       
    35     * Shut all open dialogs.
       
    36     * This stops either when all open dialogs and menus are closed
       
    37     * or when another dialog, such as a confirmation dialog is launched.
       
    38     * @param aEikEnv the CEikonEnv instance for this app.
       
    39     */
       
    40 	IMPORT_C static void ShutDialogsL(CEikonEnv& aEikEnv);
       
    41 
       
    42 private:
       
    43 	static TInt StartLevel();
       
    44 	};
       
    45 
       
    46 #endif