hwpluginsimulation/mocksy/inc/cmocksyserver.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef CMOCKSYSERVER_H
       
    17 #define CMOCKSYSERVER_H
       
    18 
       
    19 #include <e32base.h>
       
    20 
       
    21 class CMockSYEngine;
       
    22 
       
    23 class CMockSYServer : public CServer2
       
    24 	{
       
    25 public:
       
    26 	IMPORT_C static CServer2* NewL(const TDesC& aName, TInt aPriority, CMockSYEngine& aEngine);
       
    27 
       
    28 private:
       
    29 	CMockSYServer(TInt aPriority, CMockSYEngine& aEngine);
       
    30 	void ConstructL(const TDesC& aName);
       
    31 
       
    32 private:
       
    33 	CSession2* NewSessionL(const TVersion& aVersion,const RMessage2& aMessage) const;
       
    34 
       
    35 private:
       
    36 	CMockSYEngine& iEngine;
       
    37 	};
       
    38 	
       
    39 #endif