diff -r 6ca72c0fe49a -r a941bc465d9f wvuing/IMPSConnectionUI/ServiceInc/CnUiPanics.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wvuing/IMPSConnectionUI/ServiceInc/CnUiPanics.h Wed Sep 01 12:31:13 2010 +0100 @@ -0,0 +1,48 @@ +/* +* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Connection UI panics. +* +*/ + +#ifndef __CNUIPANICS_H +#define __CNUIPANICS_H + +// INCLUDES +#include +#include "impspresenceconnectionuiconstsng.h" + + +/** + * Connection UI panic handler. + * @since 2.1 + * @param The panic reason. + */ +GLREF_C void CnUiPanic( TIMPSConnectionUiPanicReason aReason ); + + +/** + * Connection UI panic & leave handler. + * @param aPanicReason The reason for panic. + * (Panic happens in debug builds.) + * @param aLeaveCode The reason for leave. + * (Happens in release builds.) + * @since 1.2 + */ +GLREF_C void CnUiPanicOrLeaveL( TIMPSConnectionUiPanicReason aPanicReason, + TInt aLeaveCode ); + + +#endif //__CNUIPANICS_H +// End of File +