diff -r 000000000000 -r e6b17d312c8b ximpfw/core/srcrootserver/ximprootserverdefs.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ximpfw/core/srcrootserver/ximprootserverdefs.h Thu Dec 17 08:54:49 2009 +0200 @@ -0,0 +1,79 @@ +/* +* Copyright (c) 2006 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: Defines for XIMP Framework Root server. + * +*/ + +#ifndef XIMPROOTSERVERDEFS_H +#define XIMPROOTSERVERDEFS_H + +#include + +/* + * ============================================================================ + * XIMP Framework Root server constants + * ============================================================================ + */ +namespace NRootSrv + { + /** + * Root server version numbers + */ + namespace NVersion + { + const TInt KMajor = 1; + const TInt KMinor = 1; + const TInt KBuild = 1; + } + + + /** + * Root server names + */ + namespace NName + { + _LIT( KExecutable, "ximprootserver.exe" ); + _LIT( KMainThread, "XIMPRootSrv" ); + _LIT( KSymbianServer, "!XIMPRootSrv" ); + _LIT( KServerPattern, "*XIMP*" ); + } + + /** + * Root server requests + */ + namespace NRequest + { + //Number asynchronous message slots for Root server + const TUint KMsgSlotCount = 4; + + //Root Server op codes + enum TOpCodes + { + EBecomeRootSession = 1, + + ERootSsPrepareProtocolList, + ERootSsPrepareSupportedFeatures, + ERootSsFetchServerSideData, + + EOpCodeTop + }; + } + } + +#endif //XIMPROOTSERVERDEFS_H + + + + +