multimediacommsengine/mmcesrv/mmceserver/inc/mceservermain.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:    
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MCESERVERMAIN_H
       
    22 #define MCESERVERMAIN_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <e32base.h>
       
    26 #include "mceserver.pan"
       
    27 
       
    28 /**
       
    29 *  MCE CS server main class.
       
    30 *
       
    31 *  @lib 
       
    32 *  @since
       
    33 */
       
    34 class MceServerMain
       
    35 	{
       
    36 	public : // new
       
    37     
       
    38 		/**
       
    39 		* Starts thread for the MCE server.
       
    40 		*/         
       
    41 		static TInt ThreadFunction (TAny* aNone);
       
    42 
       
    43 	private:
       
    44 
       
    45 		MceServerMain ();
       
    46 
       
    47 		static void PanicServer (TMceServerPanic aReason);
       
    48 
       
    49 		static void ThreadFunctionL (RSemaphore& aSemaphore);
       
    50 	};
       
    51 
       
    52 #endif
       
    53 
       
    54 // End of File