// APSSTD.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

#if !defined(__APSSTD_H__)
#define __APSSTD_H__
#include <e32svr.h>

const TInt KAppArcServerThreadPriority=EPriorityAbsoluteForeground;
const TInt KApaServMaxHeapSize=0x100000; // 1Mb

GLDEF_C TInt ApaServThreadStart(TAny* aPtr);

// classes referenced
class MApaAppStarter;

enum TSvFault
	{
	EMainApaCreateScheduler=1,
	EMainApaActiveError,
	EMainApaServerNotStarted,
	EMainApaThreadRename
	};

struct SCommandLine
	{
	MApaAppStarter* iAppStarter;
	};

GLREF_C void Fault(TSvFault aFault);

class CSvActiveScheduler : public CActiveScheduler
	{
public:
	static void New();
	virtual void Error(TInt anError) const;
	};

#endif


