vpnengine/vpncommon/inc/clistatic.h
changeset 0 33413c0669b9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vpnengine/vpncommon/inc/clistatic.h	Thu Dec 17 09:14:51 2009 +0200
@@ -0,0 +1,42 @@
+/*
+* Copyright (c) 2004-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:   Launches a server 
+*
+*/
+
+
+
+#ifndef __CLISTATIC_H__
+#define __CLISTATIC_H__
+
+#include <e32std.h>
+
+const TUint KDefaultMinHeapSize =  0x1000;  //  4K
+const TUint KDefaultMaxHeapSize = 0x10000;  // 64K
+
+const TInt KDefaultMessageSlots = 2;
+
+class Launcher
+    {
+public:    
+    static TInt LaunchServer(const TDesC& aServerName,
+                             const TDesC& aServerFileName,
+                             const TUid& aServerUid3,
+                             const TUint aWinsMinHeapSize = KDefaultMinHeapSize,
+                             const TUint aWinsMaxHeapSize = KDefaultMaxHeapSize,
+                             const TUint aWinsStackSize = KDefaultStackSize);
+
+    };
+
+#endif // __CLISTATIC_H__