// NDDSDEF.H
//
// Copyright (C) Symbian Ltd 1997-1998
//

#if !defined(__NDDSDEF_H__)
#define __NDDSDEF_H__

#if !defined(__E32DEF_H__)
#include <e32def.h>
#endif

#define DIALOG_SERVER_MUTEX_NAME	_L("NetdialDialogServerStartupMutex")
#define DIALOG_SERVER_SEMAPHORE_NAME _L("NetdialDialogServerStartupSem")
#define DIALOG_SERVER_FILE_NAME	_L("dlgsvr.dll")
#define DIALOG_SERVER_NAME _L("NetdialDialogServer")

enum TDialogServerMessages
	{
	ECountServCreate,
	EGetLocationAndService,
	EGetAuthentication,
	EGetLogin,
	EReconnectRequest,
	EOpenPct,
	EWritePct,
	EReadPct,
	EDestroyPctNotification,
	EClosePct,
	ECancel
	};

enum TNetdialDialogServerClientPanic
	{
	EClientPanicPctWindowNotCurrentlyOpen,
	EClientPanicPctWindowReadNotificationAlreadyPending,
	EClientPanicPctWindowDestroyNotificationAlreadyPending,
	EClientPanicPctWindowReadNotificationOutstanding,
	EClientPanicPctWindowDestroyNotificationOutstanding,
	EClientPanicRMessageReadFailed,
	EClientPanicRMessageWriteFailed,
	EClientPanicUnknownMessage
	};

enum TNetdialDialogServerPanic
	{
	EServerPanicNoSemaphore,
	EServerPanicWinsLoadLibrary,
	EServerPanicStartAlloc
	};

#endif
