/* Window: WindowDefs.h */

#ifndef __Desk_linklist_h
#include "Desk.LinkList.h"
#endif

#ifndef __Desk_wimp_h
#include "Desk.Wimp.h"
#endif

extern Desk_linklist_header Desk_window_listanchor;

typedef struct
{
  Desk_linklist_header header;
  Desk_window_handle   window;
  char            templatename[Desk_wimp_MAXNAME+1];      /* Parent template name */
  Desk_window_block    *memory;                           /* memory claim         */
} windowrec;


/*
These functions are the only event-handlers in the Window library. These
prototypes are included here in SDLS form so that they can be registered
with Desk_Event_Claim from within the library.
 */

Desk_SDLS_PtrFn(
	extern,
	Desk_bool,
	Desk_Window_HelpHandler(Desk_event_pollblock *event, void *reference)
	);

Desk_SDLS_PtrFn(
	extern,
	Desk_bool,
	Desk_Window_MoveWindow(Desk_event_pollblock *event, void *reference)
	);
