dbgagents/trkagent/tcbserver/TrkTcbSrvServer.h
changeset 0 c6b0df440bee
equal deleted inserted replaced
-1:000000000000 0:c6b0df440bee
       
     1 /*
       
     2 * Copyright (c) 2009 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 #ifndef __TrkTcbSrvServer_H__
       
    19 #define __TrkTcbSrvServer_H__
       
    20 
       
    21 // System includes
       
    22 #include <e32base.h>
       
    23 
       
    24 // User includes
       
    25 
       
    26 // Type definitions
       
    27 
       
    28 // Constants
       
    29 
       
    30 // Enumerations
       
    31 
       
    32 
       
    33 //
       
    34 // CTrkTcbSrvServer (header)
       
    35 //
       
    36 //
       
    37 // The TrkTcb Server
       
    38 //
       
    39 #ifdef EKA2
       
    40 class CTrkTcbSrvServer : public CPolicyServer
       
    41 #else
       
    42 class CTrkTcbSrvServer : public CServer2
       
    43 #endif
       
    44 {
       
    45 	public:
       
    46 		static CTrkTcbSrvServer* NewLC();
       
    47 		~CTrkTcbSrvServer();
       
    48 
       
    49 	private:
       
    50 		CTrkTcbSrvServer();
       
    51 		void ConstructL();
       
    52 
       
    53 	public:
       
    54 		CSession2* NewSessionL(const TVersion& aVersion,const RMessage2& aMessage) const;
       
    55 
       
    56 	private:
       
    57 		TInt RunError(TInt aError);
       
    58 
       
    59 	private:
       
    60 	#ifdef EKA2	
       
    61 		TCustomResult CustomSecurityCheckL(const RMessage2& aMsg, TInt& aAction, TSecurityInfo& aMissing);
       
    62 	#endif
       
    63 };
       
    64 
       
    65 #endif