localisation/apparchitecture/apserv/APSCLSV.H
branchSymbian3
changeset 57 b8d18c84f71c
parent 6 c108117318cb
equal deleted inserted replaced
56:aa99f2208aad 57:b8d18c84f71c
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    12 //
    12 //
    13 // Description:
    13 // Description:
       
    14 // apsclsv.h
    14 //
    15 //
    15 
    16 
    16 #if !defined(__APGCLSV_H__)
    17 #ifndef __APGCLSV_H__
    17 #define __APGCLSV_H__
    18 #define __APGCLSV_H__
    18 
    19 
    19 #if !defined(__E32BASE_H__)
       
    20 #include <e32base.h>
    20 #include <e32base.h>
    21 #endif
       
    22 #if !defined(__APAID_H__)
       
    23 #include <apaid.h>
    21 #include <apaid.h>
    24 #endif
       
    25 #if !defined(__APMSTD_H__)
       
    26 #include <apmstd.h>
    22 #include <apmstd.h>
    27 #endif
       
    28 
    23 
    29 // A version must be specifyed when creating a session with the server
    24 // A version must be specifyed when creating a session with the server
    30 const TUint KAppListServMajorVersionNumber=7;
    25 const TUint KAppListServMajorVersionNumber=7;
    31 const TUint KAppListServMinorVersionNumber=1;
    26 const TUint KAppListServMinorVersionNumber=1;
    32 const TUint KAppListServBuildVersionNumber=117;
    27 const TUint KAppListServBuildVersionNumber=117;
    39 
    34 
    40 // opcodes used in message passing between client and server
    35 // opcodes used in message passing between client and server
    41 enum TCountServRqst
    36 enum TCountServRqst
    42 	{
    37 	{
    43 	//No Capability requirement
    38 	//No Capability requirement
    44 	EAppListServFirst = EFirstUnrestrictedOpcodeInAppListServ,
    39 	EAppListServFirst = EFirstUnrestrictedOpcodeInAppListServ,	// = 0
    45 	EAppListServInitFullList,
    40 	EAppListServInitFullList,
    46 	EAppListServInitEmbedList,
    41 	EAppListServInitEmbedList,
    47 	EAppListServGetNextApp,
    42 	EAppListServGetNextApp,
    48 	EAppListServEmbedCount,
    43 	EAppListServEmbedCount,
    49 	EAppListServAppCount,
    44 	EAppListServAppCount,
    50 	EAppListServGetAppInfo,
    45 	EAppListServGetAppInfo,
    51 	EAppListServGetAppCapability,
    46 	EAppListServGetAppCapability,
    52 	EAppListServStartAppWithoutReturningThreadId,
    47 	EAppListServStartAppWithoutReturningThreadId,	// deprecated
    53 	EAppListServStartAppReturningThreadId,
    48 	EAppListServStartAppReturningThreadId,			// deprecated
    54 	EAppListServRecognizeData,
    49 	EAppListServRecognizeData,	// = 10
    55 	EAppListServRecognizeDataPassedByFileHandle,
    50 	EAppListServRecognizeDataPassedByFileHandle,
    56 	EAppListServRecognizeSpecificData,
    51 	EAppListServRecognizeSpecificData,
    57 	EAppListServRecognizeSpecificDataPassedByFileHandle,
    52 	EAppListServRecognizeSpecificDataPassedByFileHandle,
    58 	EAppListServAppForDataType,
    53 	EAppListServAppForDataType,
    59 	EAppListServStartDocument,
    54 	EAppListServStartDocument,						// deprecated
    60 	EAppListServStartDocumentByDataType,
    55 	EAppListServStartDocumentByDataType,			// deprecated
    61 	EAppListServStartDocumentByUid,
    56 	EAppListServStartDocumentByUid,					// deprecated
    62 	EAppListServCreateDocumentByUid,
    57 	EAppListServCreateDocumentByUid,				// deprecated
    63 	EAppListServGetExecutableNameGivenDocument,
    58 	EAppListServGetExecutableNameGivenDocument,
    64 	EAppListServGetExecutableNameGivenDocumentPassedByFileHandle,
    59 	EAppListServGetExecutableNameGivenDocumentPassedByFileHandle,	// = 20
    65 	EAppListServGetExecutableNameGivenDataType,
    60 	EAppListServGetExecutableNameGivenDataType,
    66 	EAppListServGetExecutableNameGivenAppUid,
    61 	EAppListServGetExecutableNameGivenAppUid,
    67 	EAppListServGetOpaqueData,
    62 	EAppListServGetOpaqueData,
    68 	EAppListServGetNativeExecutableNameIfNonNative,
    63 	EAppListServGetNativeExecutableNameIfNonNative,
    69 	EAppListServAppIconByUid,
    64 	EAppListServAppIconByUid,
    70 	EAppListServAppForDocument,
    65 	EAppListServAppForDocument,
    71 	EAppListServAppForDocumentPassedByFileHandle,
    66 	EAppListServAppForDocumentPassedByFileHandle,
    72 	EAppListServGetConfidence,
    67 	EAppListServGetConfidence,
    73 	EAppListServGetBufSize,
    68 	EAppListServGetBufSize,
    74 	EAppListServSetBufSize,
    69 	EAppListServSetBufSize,	// = 30
    75 	EAppListServGetDataTypesPhase1,
    70 	EAppListServGetDataTypesPhase1,
    76 	EAppListServGetDataTypesPhase2,
    71 	EAppListServGetDataTypesPhase2,
    77 	ESetNotify,
    72 	ESetNotify,
    78 	ECancelNotify,
    73 	ECancelNotify,
    79 	EDCloseServer,
    74 	EDCloseServer,
    80 	EAppListServAppIconByUidAndSize,
    75 	EAppListServAppIconByUidAndSize,
    81 	EAppListServGetAppIconSizes,
    76 	EAppListServGetAppIconSizes,
    82 	EAppListServGetAppViews,
    77 	EAppListServGetAppViews,
    83 	EAppListServViewIconByUidAndSize,
    78 	EAppListServViewIconByUidAndSize,
    84 	EAppListServGetFileOwnershipInfo,
    79 	EAppListServGetFileOwnershipInfo,	// = 40
    85 	EAppListServNumberOfOwnDefinedIcons,
    80 	EAppListServNumberOfOwnDefinedIcons,
    86 	EAppListServInitFilteredEmbedList,
    81 	EAppListServInitFilteredEmbedList,
    87 	EAppListServInitAttrFilteredList,
    82 	EAppListServInitAttrFilteredList,
    88 	EAppListServAppIconFileName,
    83 	EAppListServAppIconFileName,
    89 	EAppListServAppViewIconFileName,
    84 	EAppListServAppViewIconFileName,
    90 	EAppListServInitServerAppList,
    85 	EAppListServInitServerAppList,
    91 	EAppListServGetAppServices,
    86 	EAppListServGetAppServices,
    92 	EAppListServGetServiceImplementations,
    87 	EAppListServGetServiceImplementations,
    93 	EAppListServGetServiceImplementationsDataType,
    88 	EAppListServGetServiceImplementationsDataType,
    94 	EAppListServGetAppServiceUids,
    89 	EAppListServGetAppServiceUids,	// = 50
    95 	EAppListServGetAppServiceOpaqueData,
    90 	EAppListServGetAppServiceOpaqueData,
    96 	EAppListServAppForDataTypeAndService,
    91 	EAppListServAppForDataTypeAndService,
    97 	EAppListServAppForDocumentAndService,
    92 	EAppListServAppForDocumentAndService,
    98 	EAppListServAppForDocumentAndServicePassedByFileHandle,
    93 	EAppListServAppForDocumentAndServicePassedByFileHandle,
    99 	EAppListServApplicationLanguage,
    94 	EAppListServApplicationLanguage,
   100 	ERegisterListPopulationCompleteObserver,
    95 	ERegisterListPopulationCompleteObserver,
   101 	ECancelListPopulationCompleteObserver,
    96 	ECancelListPopulationCompleteObserver,
   102 	EAppListServPreferredBufSize,
    97 	EAppListServPreferredBufSize,
   103 	EAppListServRecognizeFiles,
    98 	EAppListServRecognizeFiles,
   104 	EAppListServRecognizeFilesAsync,
    99 	EAppListServRecognizeFilesAsync,	// = 60
   105 	ECancelRecognizeFiles,
   100 	ECancelRecognizeFiles,
   106 	EAppListServTransferRecognitionResult,
   101 	EAppListServTransferRecognitionResult,
   107 	EAppListServGetAppByDataType,
   102 	EAppListServGetAppByDataType,
   108 	EAppListServGetDefaultScreenNumber,
   103 	EAppListServGetDefaultScreenNumber,
   109 	EAppListServRuleBasedLaunching,
   104 	EAppListServRuleBasedLaunching,
   110 	EAppListServRegisterNonNativeApplicationType,
   105 	EAppListServRegisterNonNativeApplicationType,
   111 	EAppListServDeregisterNonNativeApplicationType,
   106 	EAppListServDeregisterNonNativeApplicationType,
   112 	EAppListServPrepareNonNativeApplicationsUpdates,
   107 	EAppListServPrepareNonNativeApplicationsUpdates,
   113 	EAppListServRegisterNonNativeApplication,
   108 	EAppListServRegisterNonNativeApplication,
   114 	EAppListServDeregisterNonNativeApplication,
   109 	EAppListServDeregisterNonNativeApplication,	// = 70
   115 	EAppListServCommitNonNativeApplications,
   110 	EAppListServCommitNonNativeApplications,
   116 	EAppListServRollbackNonNativeApplications,
   111 	EAppListServRollbackNonNativeApplications,
   117 	EAppListServGetAppType,
   112 	EAppListServGetAppType,
   118 	ENotifyOnDataMappingChange,
   113 	ENotifyOnDataMappingChange,
   119 	ECancelNotifyOnDataMappingChange,
   114 	ECancelNotifyOnDataMappingChange,
   120 	EMatchesSecurityPolicy,
   115 	EMatchesSecurityPolicy,
   121 	EAppListServSetAppShortCaption,
   116 	EAppListServSetAppShortCaption,
   122 	EAppListServForceRegistration,
   117 	EAppListServForceRegistration,
   123 	EDebugHeapMark,
   118 	EDebugHeapMark,
   124 	EDebugHeapMarkEnd,
   119 	EDebugHeapMarkEnd,	// = 80
   125 	EDebugHeapFailNext,
   120 	EDebugHeapFailNext,
   126 	EDebugClearAppInfoArray,
   121 	EDebugClearAppInfoArray,
   127 	EDebugFlushRecognitionCache,
   122 	EDebugFlushRecognitionCache,
   128 	EDebugSetLoadRecognizersOnDemand,
   123 	EDebugSetLoadRecognizersOnDemand,
   129 	EDebugPerformOutstandingRecognizerUnloading,
   124 	EDebugPerformOutstandingRecognizerUnloading,
   130 	EAppListServAppIconFileHandle,
   125 	EAppListServAppIconFileHandle,
   131 	EDebugAddFailingNonNativeApplicationsUpdate,
   126 	EDebugAddFailingNonNativeApplicationsUpdate,
   132 	EDebugAddPanicingNonNativeApplicationsUpdate,
   127 	EDebugAddPanicingNonNativeApplicationsUpdate,
   133 	EDebugAddRollbackPanicingNonNativeApplicationsUpdate, // = 89
   128 	EDebugAddRollbackPanicingNonNativeApplicationsUpdate, // = 89
   134 	EAppListServAppInfoProvidedByRegistrationFile = 99,
   129 	EAppListServAppInfoProvidedByRegistrationFile = 99,	// = 99
   135 	//WriteDeviceData Capability requirement
   130 	//WriteDeviceData Capability requirement
   136 	// ER5
   131 	// ER5
   137 	EAppListServSetConfidence=EFirstOpcodeNeedingWriteDeviceDataInAppListServ,
   132 	EAppListServSetConfidence=EFirstOpcodeNeedingWriteDeviceDataInAppListServ,	// = 100
   138 	// 8.1
   133 	// 8.1
   139 	EAppListInsertDataMapping,
   134 	EAppListInsertDataMapping,
   140 	EAppListInsertDataMappingIfHigher,
   135 	EAppListInsertDataMappingIfHigher,
   141 	EAppListDeleteDataMapping,
   136 	EAppListDeleteDataMapping,
   142 	// End Marker no Capability
   137 	// End Marker no Capability
   186 	{
   181 	{
   187 	TUid iApplicationType;
   182 	TUid iApplicationType;
   188 	TInt iDrive;
   183 	TInt iDrive;
   189 	};
   184 	};
   190 
   185 
   191 #endif
   186 #endif	// __APGCLSV_H__