cmmanager/cmmgr/cmmcommon/inc/cmmclistatic.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 13:17:01 +0300
changeset 27 489cf6208544
parent 20 9c97ad6591ae
permissions -rw-r--r--
Revision: 201019 Kit: 2010121

/*
* 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