diff -r 5cc91383ab1e -r 7333d7932ef7 appinstaller/AppinstUi/sisxsifplugin/inc/sisxsifplugin.pan --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/appinstaller/AppinstUi/sisxsifplugin/inc/sisxsifplugin.pan Tue Aug 31 15:21:33 2010 +0300 @@ -0,0 +1,41 @@ +/* +* Copyright (c) 2010 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: SISX SIF plugin panic codes +* +*/ + + +#ifndef SISXSIFPLUGIN_PAN +#define SISXSIFPLUGIN_PAN + +#include // User + +/** + * Native SISX SIF (Software Install Framework) plugin panic codes + */ +enum TSisxSifPanicCode + { + ESisxSifInternalError = 1, + ESisxSifNotInitialized, + ESisxSifNullPointer, + ESisxSifUnknownErrorCode + }; + +inline void Panic( TSisxSifPanicCode aReason ) + { + _LIT( category, "SisxSif" ); + User::Panic( category, aReason ); + } + +#endif // SISXSIFPLUGIN_PAN