/*
* 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 <E32Std.h>
#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