diff -r 84a16765cd86 -r 98b66e4fb0be appinstaller/AppinstUi/sisxsifplugin/inc/sisxsifplugin.pan --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/appinstaller/AppinstUi/sisxsifplugin/inc/sisxsifplugin.pan Fri Apr 16 15:05:20 2010 +0300 @@ -0,0 +1,40 @@ +/* +* 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 + }; + +inline void Panic( TSisxSifPanicCode aReason ) + { + _LIT( category, "SisxSif" ); + User::Panic( category, aReason ); + } + +#endif // SISXSIFPLUGIN_PAN