epoc32/include/mw/akndlgshut.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
     1.1 --- a/epoc32/include/mw/akndlgshut.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/mw/akndlgshut.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,46 @@
     1.4 -akndlgshut.h
     1.5 +/*
     1.6 +* Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* 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
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description: 
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +#if !defined(__AKNDLGSHUT_H__)
    1.24 +#define __AKNDLGSHUT_H__
    1.25 +
    1.26 +#include <e32std.h>
    1.27 +
    1.28 +
    1.29 +// FORWARD DECLARATIONS
    1.30 +class CEikonEnv;
    1.31 +
    1.32 +/**
    1.33 +* Utility class for shutting dialogs
    1.34 +*/
    1.35 +class AknDialogShutter
    1.36 +	{
    1.37 +public:
    1.38 +    /**
    1.39 +    * Shut all open dialogs.
    1.40 +    * This stops either when all open dialogs and menus are closed
    1.41 +    * or when another dialog, such as a confirmation dialog is launched.
    1.42 +    * @param aEikEnv the CEikonEnv instance for this app.
    1.43 +    */
    1.44 +	IMPORT_C static void ShutDialogsL(CEikonEnv& aEikEnv);
    1.45 +
    1.46 +private:
    1.47 +	static TInt StartLevel();
    1.48 +	};
    1.49 +
    1.50 +#endif