/*
 *	Process.h - Copyright © 1991 by S.R. & P.C.
 *
 *	Created:	01 Jun 1991  19:09:27
 *	Modified:	06 Jul 1991  10:48:00
 *
 *	Make>> make
 */


struct BrowserMsg {
	struct Message bm_ExecMessage;
	short bm_Type;
	union {
		struct {
			struct HeadFileList *hfl;
			struct Extended_WBStartup *EWBS;
			BYTE Pri;			/* Pri for WBRun, not the pri of the Browser Process */
			short ActionNum;
			BPTR Lock;
		} Startup;
		struct {
			struct SuperFileInfo sfi;
			BPTR SrcDir;
			BPTR DestDir;
		} ActionBack;
		BPTR Dir;		/* For DoUpdateDir() */
	} bm_Info;
};

/* Types of browser messages */
#define BM_STARTUP		1
#define BM_ACTIONBACK	2
#define BM_UPDATEDIR	3


struct TaskData {
	struct MsgPort *td_ReplyPort;	/* Reply port for actionback messages */
	short  td_MsgCount;				/* Number of pending messages */
	BPTR   td_InitialDir;			/* Initial dir on startup */
};


