

/***********************************************************
Copyright 1990 by the Massachusetts Institute of Technology, 
Cambridge, Massachusetts.

                        All Rights Reserved

Permission to use, copy, modify, and distribute this software and its 
documentation for any purpose and without fee is hereby granted, 
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in 
supporting documentation, and that the names of Digital or MIT not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.  


******************************************************************/

#ifndef _WorkSpaceP_h
#define _WorkSpaceP_h

#include "WorkSpace.h"

#include <X11/Xaw/SimpleP.h>

typedef struct {
     /* public */
    XtCallbackList        expose_callbacks;
    XtCallbackList        resize_callbacks;
    XtCallbackList        buttonDown_callbacks;
    XtCallbackList        buttonUp_callbacks;
    XtCallbackList        keyDown_callbacks;
    XtCallbackList        motionNotify_callbacks;

     /* private */
} WorkSpacePart;


typedef struct _WorkSpaceRec {
    CorePart		core;
    SimplePart          simple;
    WorkSpacePart       workSpace;
} WorkSpaceRec;


typedef struct {int makes_compiler_happy;} WorkSpaceClassPart;


typedef struct _WorkSpaceClassRec {
    CoreClassPart		core_class;
    SimpleClassPart             simple_class;
    WorkSpaceClassPart          workSpace_class;
} WorkSpaceClassRec;

extern WorkSpaceClassRec workSpaceClassRec;

#endif _WorkSpaceP_h
