cmmanager/cmmgr/cmmcommon/inc/cmmclistatic.h
branchRCL_3
changeset 57 05bc53fe583b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cmmanager/cmmgr/cmmcommon/inc/cmmclistatic.h	Tue Aug 31 15:35:44 2010 +0300
@@ -0,0 +1,47 @@
+/*
+* Copyright (c) 2009-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:
+* Launches the Connection Method Manager Server.
+*
+*/
+
+
+#ifndef CMMCLISTATIC_H
+#define CMMCLISTATIC_H
+
+#include <e32std.h>
+
+const TInt KCmmDefaultMessageSlots = 2;
+
+_LIT( KCmManagerStartupMutex, "CmManagerStartupMutex" );
+
+
+/**
+ * Class to handle CmManager server startup.
+ */
+class TCmManagerLauncher
+    {
+public:
+    static TInt LaunchServer(
+            const TDesC& aServerFileName,
+            const TUid& aServerUid3 );
+
+private:
+    static TBool ServerStartupLock( RMutex& mutex, TInt& err );
+    static void ServerStartupUnlock( RMutex& mutex );
+    };
+
+#endif // CMMCLISTATIC_H
+
+// End of file