lowlevellibsandfws/pluginfw/Framework/frame/EComMessageIds.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // Copyright (c) 1997-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 // Define the enumeration for the service op codes
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __ECOMMESSAGEIDS_H__
       
    19 #define __ECOMMESSAGEIDS_H__
       
    20 
       
    21 #include <e32base.h>
       
    22 
       
    23 /**
       
    24 A Struct class used to encapsulate the parameters
       
    25 required during ListImplementations
       
    26 @internalComponent
       
    27 */
       
    28 class TListImplParam
       
    29 	{
       
    30 public:
       
    31 	TInt iMatchType;
       
    32 	TInt iBufferSize;
       
    33 	TBool iCapabilityCheck;
       
    34 	};
       
    35 
       
    36 /**
       
    37 ECom Framework service request codes
       
    38 @internalComponent
       
    39 */
       
    40 enum TEComServiceMessages
       
    41 	{
       
    42 	ENotifyOnChange,
       
    43 	ECancelNotifyOnChange,
       
    44 	EListImplementations,
       
    45 	EListResolvedImplementations,
       
    46 	EListCustomResolvedImplementations,
       
    47 	ECollectImplementationsList,
       
    48 	EGetImplementationCreationMethod,
       
    49 	EGetResolvedCreationMethod,
       
    50 	EGetCustomResolvedCreationMethod,
       
    51 	//EDestroyedImplementation obsolete due to implementation
       
    52 	//creation relocation to client side from server
       
    53 	EDestroyedImplementation,
       
    54 	EEnableImplementation,
       
    55 	EDisableImplementation,
       
    56 	// List interfaces
       
    57 	EListExtendedInterfaces,
       
    58 	//This is a generic message intended for testing purposes, should be the last one.
       
    59 	ESetGetParameters
       
    60 	};
       
    61 
       
    62 
       
    63 /**
       
    64 Constants for UidType locations for service message UID parameters
       
    65 @internalComponent
       
    66 */
       
    67 const TInt KInterfaceUidIndex	= 0;
       
    68 const TInt KDtorKeyUidIndex		= 1;
       
    69 const TInt KResolverUidIndex	= 2;
       
    70 
       
    71 
       
    72 /**
       
    73 Message slot constants for
       
    74 IPC parameter passing consistency
       
    75 Note : the slot range is 0-3
       
    76 @internalComponent
       
    77 */
       
    78 const TInt KIPCParameterMessageDes				= 0;
       
    79 const TInt KIPCParameterUids					= 0;
       
    80 const TInt KIPCParameterDesLength				= 1;
       
    81 const TInt KIPCParameterResolverParams			= 1;
       
    82 const TInt KIPCParameterResolverParamsType		= 2;
       
    83 const TInt KIPCParameterMatchStrExtInf			= 1;
       
    84 
       
    85 /**
       
    86 Message slot constants for List Interfaces parameter passing
       
    87 @internalComponent
       
    88 */
       
    89 const TInt KIPCParameterInterfaceParam			= 0;
       
    90 const TInt KIPCParameterImplementationUid		= 0;
       
    91 const TInt KIPCParameterBufferSize				= 1;
       
    92 const TInt KIPCParameterInterfaceData			= 2;
       
    93 
       
    94 /**
       
    95 Matching pointer access methods for ReadL
       
    96 @internalComponent
       
    97 */
       
    98 #define KIPCParameterMessageDesPtr				aMessage.Ptr0()
       
    99 #define KIPCParameterUidsPtr					aMessage.Ptr0()
       
   100 #define KIPCParameterResolverParamsPtr			aMessage.Ptr1()
       
   101 #define KIPCParameterResolverParamsTypePtr		aMessage.Int2()
       
   102 
       
   103 /**
       
   104 @internalComponent
       
   105 */
       
   106 const TInt KIPCReturnParameterUids				= 0;
       
   107 const TInt KIPCReturnParameterIIArray			= 3;
       
   108 const TInt KIPCReturnParameterIIArraySize		= 3;
       
   109 const TInt KIPCReturnParameterCreationMethod	= 3;
       
   110 
       
   111 /**
       
   112 Matching pointer access methods for WriteL
       
   113 @internalComponent
       
   114 */
       
   115 #define KIPCReturnParameterUidsPtr				0
       
   116 #define KIPCReturnParameterIIArrayPtr			3
       
   117 #define KIPCReturnParameterIIArraySizePtr		3
       
   118 #define KIPCReturnParameterCreationMethodPtr	3
       
   119 
       
   120 #endif	// __ECOMMESSAGEIDS_H__