2 Copyright 2010-2017, The AROS Development Team. All rights reserved.
7 #include <aros/debug.h>
10 #include <proto/utility.h>
12 #include "gallium_intern.h"
14 #undef HiddGalliumAttrBase
15 #define HiddGalliumAttrBase (SD(cl)->galliumAttrBase)
18 OOP_Object
*METHOD(Gallium
, Root
, New
)
22 D(bug("[gallium.hidd] %s()\n", __func__
));
24 interfaceVers
= GetTagData(aHidd_Gallium_InterfaceVersion
, -1, msg
->attrList
);
25 if (interfaceVers
!= GALLIUM_INTERFACE_VERSION
)
28 o
= (OOP_Object
*)OOP_DoSuperMethod(cl
, o
, (OOP_Msg
) msg
);
33 VOID
METHOD(Gallium
, Root
, Get
)
37 if (IS_GALLIUM_ATTR(msg
->attrID
, idx
))
41 case aoHidd_Gallium_InterfaceVersion
:
42 *msg
->storage
= GALLIUM_INTERFACE_VERSION
;
47 /* Use parent class for all other properties */
48 OOP_DoSuperMethod(cl
, o
, (OOP_Msg
)msg
);
51 APTR
METHOD(Gallium
, Hidd_Gallium
, CreatePipeScreen
)
53 D(bug("[gallium.hidd] %s()\n", __func__
));
57 VOID
METHOD(Gallium
, Hidd_Gallium
, DestroyPipeScreen
)
59 D(bug("[gallium.hidd] %s()\n", __func__
));
62 VOID
METHOD(Gallium
, Hidd_Gallium
, DisplayResource
)
64 D(bug("[gallium.hidd] %s()\n", __func__
));