// APSCLSV.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

#if !defined(__APGCLSV_H__)
#define __APGCLSV_H__

#if !defined(__E32BASE_H__)
#include <e32base.h>
#endif
#if !defined(__APAID_H__)
#include <apaid.h>
#endif

// A version must be specifyed when creating a session with the server
const TUint KAppListServMajorVersionNumber=2;
const TUint KAppListServMinorVersionNumber=0;
const TUint KAppListServBuildVersionNumber=78;

// opcodes used in message passing between client and server
enum TCountServRqst
	{
	EAppListServInitFullList,
	EAppListServInitEmbedList,
	EAppListServGetNextApp,
	EAppListServEmbedCount,
	EAppListServAppCount,
	EAppListServGetAppInfo,
	EAppListServGetAppCapability,
	EAppListServStartApp,
	// ER5
	EAppListServRecognizeData,
	EAppListServRecognizeSpecificData,
	EAppListServAppForDataType,
	EAppListServStartDocument,
	EAppListServStartDocumentByDataType,
	EAppListServStartDocumentByUid,
	EAppListServCreateDocumentByUid,
	EAppListServAppIconByUid,
	EAppListServAppForDocument,
	EAppListServIsProgram,
	EAppListServGetConfidence,
	EAppListServSetConfidence,
	EAppListServGetBufSize,
	EAppListServSetBufSize,
	EAppListServGetDataTypesPhase1,
	EAppListServGetDataTypesPhase2
	};


enum TApaClientPanic
	{
	EClientBadRequest,
	EClientBadDescriptor
	};


#endif