grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / cgxvideo / cgxvideo_init.c
blob72f4ac444729e659475ffd88f5c8da5b2124ff63
1 #include <aros/symbolsets.h>
2 #include <hidd/graphics.h>
3 #include <proto/oop.h>
5 #include "cgxvideo_intern.h"
7 static int cgxv_init(struct IntCGXVBase *CGXVideoBase)
9 CGXVideoBase->attrbases[0].interfaceID = IID_Hidd_BitMap;
10 CGXVideoBase->attrbases[0].attrBase = &HiddBitMapAttrBase;
11 CGXVideoBase->attrbases[1].interfaceID = IID_Hidd_Overlay;
12 CGXVideoBase->attrbases[1].attrBase = &HiddOverlayAttrBase;
14 return OOP_ObtainAttrBases(CGXVideoBase->attrbases);
17 static int cgxv_expunge(struct IntCGXVBase *CGXVideoBase)
19 OOP_ReleaseAttrBases(CGXVideoBase->attrbases);
21 return TRUE;
24 ADD2INITLIB(cgxv_init, 0);
25 ADD2EXPUNGELIB(cgxv_expunge, 0);