2 Copyright 2010, The AROS Development Team. All rights reserved.
6 #include <aros/symbolsets.h>
7 #include <hidd/gallium.h>
9 #include <proto/exec.h>
11 #include "gallium_intern.h"
13 static int GalliumHidd_ExpungeLib(LIBBASETYPEPTR LIBBASE
)
15 if (LIBBASE
->sd
.galliumAttrBase
)
16 OOP_ReleaseAttrBase((STRPTR
)IID_Hidd_Gallium
);
21 static int GalliumHidd_InitLib(LIBBASETYPEPTR LIBBASE
)
23 LIBBASE
->sd
.galliumAttrBase
= OOP_ObtainAttrBase((STRPTR
)IID_Hidd_Gallium
);
25 if (LIBBASE
->sd
.galliumAttrBase
)
31 ADD2INITLIB(GalliumHidd_InitLib
, 0)
32 ADD2EXPUNGELIB(GalliumHidd_ExpungeLib
, 0)