messagingfw/msgtestfw/TestActions/Capabilities/inc/SendProxyClientServer.h
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     1 // Copyright (c) 2004-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 __SENDPROXYCLIENTSERVER_H__
       
    17 #define __SENDPROXYCLIENTSERVER_H__
       
    18 
       
    19 #include <e32base.h>
       
    20 
       
    21 
       
    22 _LIT(KSendProxyServerName,"SendProxyServer");
       
    23 _LIT(KSendProxyServerImg,"SendProxyServer");		// DLL/EXE name
       
    24 const TUid KServerUid3={0x1027406B};
       
    25 
       
    26 #ifdef __SENDPROXYSERVER_NO_PROCESSES__
       
    27 const TInt KSendProxyServerStackSize=0x2000;			//  8KB
       
    28 const TInt KSendProxyServerInitHeapSize=0x1000;		//  4KB
       
    29 const TInt KSendProxyServerMaxHeapSize=0x1000000;		// 16MB
       
    30 #endif
       
    31 
       
    32 const TInt KMaxSendProxyServerMessage=100;
       
    33 
       
    34 enum TSendProxyMessages
       
    35 	{
       
    36 	ESend = 0x1000,
       
    37 		// These need to way above the EMsvOperationData messages etc.
       
    38 	ESendAsyncWait,
       
    39 	EReceive,
       
    40 	ECancelReceive,
       
    41 	EGetServerSecureId,
       
    42 	EGetServerCapabilities,
       
    43 	ESendData,
       
    44 	ENoCommandPending
       
    45 	};
       
    46 
       
    47 
       
    48 class CPackServerData
       
    49 {
       
    50 public:
       
    51 	CPackServerData( TInt aCommand, const TIpcArgs* aTIpcArgs) : iCommand(aCommand) , iTIpcArgs(aTIpcArgs)
       
    52 	{		
       
    53 	};
       
    54 	
       
    55 public:	
       
    56 	TInt iCommand;
       
    57 	const TIpcArgs* iTIpcArgs;
       
    58 };
       
    59 
       
    60 
       
    61 	// This is the server that we are trying to start eventually.
       
    62 	// We forward all messages to this.
       
    63 _LIT(KMsvServerNameExe	,"MSExe");
       
    64 
       
    65 
       
    66 #endif