os/ossrv/lowlevellibsandfws/pluginfw/Framework/frame/EComMessageIds.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
// Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
// Define the enumeration for the service op codes
sl@0
    15
// 
sl@0
    16
//
sl@0
    17
sl@0
    18
#ifndef __ECOMMESSAGEIDS_H__
sl@0
    19
#define __ECOMMESSAGEIDS_H__
sl@0
    20
sl@0
    21
#include <e32base.h>
sl@0
    22
sl@0
    23
/**
sl@0
    24
A Struct class used to encapsulate the parameters
sl@0
    25
required during ListImplementations
sl@0
    26
@internalComponent
sl@0
    27
*/
sl@0
    28
class TListImplParam
sl@0
    29
	{
sl@0
    30
public:
sl@0
    31
	TInt iMatchType;
sl@0
    32
	TInt iBufferSize;
sl@0
    33
	TBool iCapabilityCheck;
sl@0
    34
	};
sl@0
    35
sl@0
    36
/**
sl@0
    37
ECom Framework service request codes
sl@0
    38
@internalComponent
sl@0
    39
*/
sl@0
    40
enum TEComServiceMessages
sl@0
    41
	{
sl@0
    42
	ENotifyOnChange,
sl@0
    43
	ECancelNotifyOnChange,
sl@0
    44
	EListImplementations,
sl@0
    45
	EListResolvedImplementations,
sl@0
    46
	EListCustomResolvedImplementations,
sl@0
    47
	ECollectImplementationsList,
sl@0
    48
	EGetImplementationCreationMethod,
sl@0
    49
	EGetResolvedCreationMethod,
sl@0
    50
	EGetCustomResolvedCreationMethod,
sl@0
    51
	//EDestroyedImplementation obsolete due to implementation
sl@0
    52
	//creation relocation to client side from server
sl@0
    53
	EDestroyedImplementation,
sl@0
    54
	EEnableImplementation,
sl@0
    55
	EDisableImplementation,
sl@0
    56
	// List interfaces
sl@0
    57
	EListExtendedInterfaces,
sl@0
    58
	//This is a generic message intended for testing purposes, should be the last one.
sl@0
    59
	ESetGetParameters
sl@0
    60
	};
sl@0
    61
sl@0
    62
sl@0
    63
/**
sl@0
    64
Constants for UidType locations for service message UID parameters
sl@0
    65
@internalComponent
sl@0
    66
*/
sl@0
    67
const TInt KInterfaceUidIndex	= 0;
sl@0
    68
const TInt KDtorKeyUidIndex		= 1;
sl@0
    69
const TInt KResolverUidIndex	= 2;
sl@0
    70
sl@0
    71
sl@0
    72
/**
sl@0
    73
Message slot constants for
sl@0
    74
IPC parameter passing consistency
sl@0
    75
Note : the slot range is 0-3
sl@0
    76
@internalComponent
sl@0
    77
*/
sl@0
    78
const TInt KIPCParameterMessageDes				= 0;
sl@0
    79
const TInt KIPCParameterUids					= 0;
sl@0
    80
const TInt KIPCParameterDesLength				= 1;
sl@0
    81
const TInt KIPCParameterResolverParams			= 1;
sl@0
    82
const TInt KIPCParameterResolverParamsType		= 2;
sl@0
    83
const TInt KIPCParameterMatchStrExtInf			= 1;
sl@0
    84
sl@0
    85
/**
sl@0
    86
Message slot constants for List Interfaces parameter passing
sl@0
    87
@internalComponent
sl@0
    88
*/
sl@0
    89
const TInt KIPCParameterInterfaceParam			= 0;
sl@0
    90
const TInt KIPCParameterImplementationUid		= 0;
sl@0
    91
const TInt KIPCParameterBufferSize				= 1;
sl@0
    92
const TInt KIPCParameterInterfaceData			= 2;
sl@0
    93
sl@0
    94
/**
sl@0
    95
Matching pointer access methods for ReadL
sl@0
    96
@internalComponent
sl@0
    97
*/
sl@0
    98
#define KIPCParameterMessageDesPtr				aMessage.Ptr0()
sl@0
    99
#define KIPCParameterUidsPtr					aMessage.Ptr0()
sl@0
   100
#define KIPCParameterResolverParamsPtr			aMessage.Ptr1()
sl@0
   101
#define KIPCParameterResolverParamsTypePtr		aMessage.Int2()
sl@0
   102
sl@0
   103
/**
sl@0
   104
@internalComponent
sl@0
   105
*/
sl@0
   106
const TInt KIPCReturnParameterUids				= 0;
sl@0
   107
const TInt KIPCReturnParameterIIArray			= 3;
sl@0
   108
const TInt KIPCReturnParameterIIArraySize		= 3;
sl@0
   109
const TInt KIPCReturnParameterCreationMethod	= 3;
sl@0
   110
sl@0
   111
/**
sl@0
   112
Matching pointer access methods for WriteL
sl@0
   113
@internalComponent
sl@0
   114
*/
sl@0
   115
#define KIPCReturnParameterUidsPtr				0
sl@0
   116
#define KIPCReturnParameterIIArrayPtr			3
sl@0
   117
#define KIPCReturnParameterIIArraySizePtr		3
sl@0
   118
#define KIPCReturnParameterCreationMethodPtr	3
sl@0
   119
sl@0
   120
#endif	// __ECOMMESSAGEIDS_H__