Updated PCI IDs to latest snapshot.
[tangerine.git] / rom / graphics / initgfxhidd.c
blob938a8bb9ee7337a27adefec286b6d3ca81ff3543
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Private graphics function for initializing graphics.hidd
6 Lang: english
7 */
8 #include "graphics_intern.h"
9 #include <exec/memory.h>
10 #include <graphics/rastport.h>
11 #include <proto/exec.h>
12 #include <oop/oop.h>
14 /*****i***********************************************************************
16 NAME */
17 #include <graphics/rastport.h>
18 #include <proto/graphics.h>
20 AROS_LH1(BOOL , InitGfxHidd,
22 /* SYNOPSIS */
23 AROS_LHA(struct Library *, hiddBase, A0),
25 /* LOCATION */
26 struct GfxBase *, GfxBase, 181, Graphics)
28 /* FUNCTION
29 This function lets graphics.library initialize
30 the supplied gfx.hidd
32 INPUTS
33 hiddBase - Library base of hidd to use for gfx.
35 RESULT
36 success - If TRUE initialization went OK.
38 NOTES
39 This function is private and AROS specific.
41 EXAMPLE
43 BUGS
45 SEE ALSO
47 INTERNALS
49 HISTORY
50 29-10-95 digulla automatically created from
51 graphics_lib.fd and clib/graphics_protos.h
53 *****************************************************************************/
55 AROS_LIBFUNC_INIT
57 Class *cl;
59 cl = AROS_LVO_CALL0(Class *, struct Library *, hiddBase, 5, );
60 if (cl)
63 /* Create a new GfxHidd object */
67 return TRUE;
72 return FALSE;
74 AROS_LIBFUNC_EXIT
75 } /* InitGfxHidd */