start service tasks separately in-case platforms need to perform additional set-up...
[AROS.git] / workbench / libs / gallium / gallium_intern.h
blobde7ceb2e7a4d4ac805eceef8139bed008f9986a8
1 /*
2 Copyright 2010, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef GALLIUM_INTERN_H
7 #define GALLIUM_INTERN_H
9 #ifndef EXEC_LIBRARIES_H
10 # include <exec/libraries.h>
11 #endif
13 #ifndef GALLIUM_GALLIUM_H
14 # include <gallium/gallium.h>
15 #endif
17 #ifndef PROTO_EXEC_H
18 # include <proto/exec.h>
19 #endif
21 #ifndef EXEC_SEMAPHORES_H
22 # include <exec/semaphores.h>
23 #endif
25 #ifndef OOP_OOP_H
26 # include <oop/oop.h>
27 #endif
29 #ifndef PROTO_OOP_H
30 # include <proto/oop.h>
31 #endif
33 #ifndef HIDD_GALLIUM_H
34 # include <hidd/gallium.h>
35 #endif
37 #ifndef P_SCREEN_H
38 # include <gallium/pipe/p_screen.h>
39 #endif
41 struct GalliumBase
43 struct Library galb_Lib;
44 struct SignalSemaphore driversemaphore;
45 struct Library *drivermodule;
46 OOP_Object *driver;
47 OOP_AttrBase galliumAttrBase;
50 OOP_Object * SelectGalliumDriver(ULONG requestedinterfaceversion, struct Library * GalliumBase);
51 BOOL IsVersionMatching(ULONG version, OOP_Object * driver, struct Library * GalliumBase);
53 #define GB(lb) ((struct GalliumBase *)lb)
55 #endif