Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / hidds / vmwaresvga / vmwaresvgaclass.h
blobcb048306c92cc439ae38787df6d0a09f80c80b00
1 #ifndef _VMWARESVGA_CLASS_H
2 #define _VMWARESVGA_CLASS_H
4 /*
5 Copyright © 1995-2015, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Some VMWareSVGA useful data.
9 Lang: English.
12 #include <exec/memory.h>
13 #include <exec/nodes.h>
14 #include <exec/types.h>
15 #include "vmwaresvgahardware.h"
16 #include "vmwaresvgabitmap.h"
18 #define IID_Hidd_VMWareSVGA "hidd.gfx.vmwaresvga"
19 #define CLID_Hidd_VMWareSVGA "hidd.gfx.vmwaresvga"
21 struct VMWareSVGA_staticdata {
22 struct MemHeader mh;
23 OOP_Class *basebm; /* baseclass for CreateObject */
24 OOP_Class *vmwaresvgaclass;
25 OOP_Class *vmwaresvgaonbmclass;
26 OOP_Class *vmwaresvgaoffbmclass;
27 OOP_Object *vmwaresvgahidd;
28 OOP_Object *card;
29 OOP_Object *pcihidd;
30 struct BitmapData *visible;
31 VOID (*activecallback)(APTR, OOP_Object *, BOOL);
32 APTR callbackdata;
33 struct MouseData mouse;
34 struct HWData data;
37 struct VMWareSVGABase
39 struct Library library;
41 struct VMWareSVGA_staticdata vsd;
44 #define XSD(cl) (&((struct VMWareSVGABase *)cl->UserData)->vsd)
46 #endif /* _VMWARESVGA_CLASS_H */