diff -r 000000000000 -r ba25891c3a9e appinstaller/AppinstUi/Client/Inc/SWInstCommon.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/appinstaller/AppinstUi/Client/Inc/SWInstCommon.h Thu Dec 17 08:51:10 2009 +0200 @@ -0,0 +1,62 @@ +/* +* Copyright (c) 2002-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: This file contains common internal declarations for both the +* Installer server and client. +* +*/ + + +#ifndef SWINSTCOMMON_H +#define SWINSTCOMMON_H + +// INCLUDES +#include +#include "SWInstPrivateUid.h" + +namespace SwiUI +{ + +// CONSTANTS +_LIT( KSWInstSvrName, "SWInstSvr" ); +const TUid KUidSWInstSvr = { KSWInstSvrUid }; + +// DATA TYPES + +/** +* Reasons for client panic. +* +* @since 3.0 +*/ +enum TSWInstPanic + { + ESWInstPanicBadRequest, + ESWInstPanicBadDescriptor, + ESWInstPanicBadHandle + }; + +const TUint KFileHandleIpcSlot = 0; +const TUint KFileSrvSessionIpcSlot = 1; +const TUint KFileNameIpcSlot = 0; +const TUint KMimeIpcSlot = 1; +const TUint KParamsIpcSlot = 2; +const TUint KOptionsIpcSlot = 3; +const TUint KUidIpcSlot = 0; +const TUint KRequestIpcSlot = 3; +const TUint KCommonParamsIpcSlot = 2; +const TUint KOperationIpcSlot = 0; + +} + + +#endif // SWINSTCOMMON_H