ximpfw/core/srcrootserver/ximprootserverdefs.h
changeset 51 61fad867f68e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ximpfw/core/srcrootserver/ximprootserverdefs.h	Wed Nov 03 09:32:20 2010 +0530
@@ -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 <e32std.h>
+
+/*
+ * ============================================================================
+ * 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
+
+
+
+
+