added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / arch / .unmaintained / amiga / intuition_driver.c
blobabc2668741d6f4ce518c73b0db1b5a9111c05048
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #define DEBUG_FreeMem 1
8 #include <stdlib.h>
9 #include <stdio.h>
10 #include <string.h>
11 #include <exec/memory.h>
12 #include <dos/dos.h>
13 #include <utility/tagitem.h>
14 #include <clib/exec_protos.h>
15 #include <clib/intuition_protos.h>
16 #include <clib/graphics_protos.h>
17 #include <clib/aros_protos.h>
18 #include "intuition_intern.h"
19 #include "gadgets.h"
20 #include "propgadgets.h"
22 #define DEBUG 0
23 #define DEBUG_ProcessXEvents 0
25 #if DEBUG
26 # define D(x) x
27 #else
28 # define D(x) /* eps */
29 #endif
31 #define bug kprintf
33 extern void _aros_not_implemented(void);
35 int intui_init (struct IntuitionBase * IntuitionBase)
37 fprintf(stderr, "intuition driver init function goes here\n");
38 return FALSE;
41 int intui_open (struct IntuitionBase * IntuitionBase)
43 _aros_not_implemented();
44 return FALSE;
47 void intui_close (struct IntuitionBase * IntuitionBase)
49 _aros_not_implemented();
50 return;
53 void intui_expunge (struct IntuitionBase * IntuitionBase)
55 _aros_not_implemented();
56 return;
59 void intui_SetWindowTitles (struct Window * win, UBYTE * text, UBYTE * screen)
61 _aros_not_implemented();
64 int intui_GetWindowSize (void)
66 _aros_not_implemented();
67 return 0;
70 int intui_OpenWindow (struct Window * iw,
71 struct IntuitionBase * IntuitionBase,
72 struct BitMap * SuperBitMap)
74 _aros_not_implemented();
75 return 0;
78 void intui_CloseWindow (struct Window * iw,
79 struct IntuitionBase * IntuitionBase)
81 _aros_not_implemented();
84 void intui_WindowToFront (struct Window * window
85 struct IntuitionBase * IntuitionBase)
87 _aros_not_implemented();
90 void intui_WindowToBack (struct Window * window,
91 struct IntuitionBase * IntuitionBase)
93 _aros_not_implemented();
96 long StateToQualifier (unsigned long state)
98 _aros_not_implemented();
99 return 0;
100 } /* StateToQualifier */
102 void intui_SizeWindow (struct Window * win, long dx, long dy)
104 _aros_not_implemented();
107 void intui_WindowLimits (struct Window * win,
108 WORD MinWidth, WORD MinHeight, UWORD MaxWidth, UWORD MaxHeight)
110 _aros_not_implemented();
113 void intui_ActivateWindow (struct Window * win)
115 _aros_not_implemented();
118 LONG intui_RawKeyConvert (struct InputEvent * ie, STRPTR buf,
119 LONG size, struct KeyMap * km)
121 _aros_not_implemented();
122 return 0;
123 } /* intui_RawKeyConvert */
125 void intui_BeginRefresh (struct Window * win,
126 struct IntuitionBase * IntuitionBase)
128 _aros_not_implemented();
129 } /* intui_BeginRefresh */
131 void intui_EndRefresh (struct Window * win, BOOL free, struct IntuitionBase * IntuitionBase)
133 _aros_not_implemented();
134 } /* intui_EndRefresh */
137 struct Gadget * FindGadget (struct Window * window, int x, int y)
139 _aros_not_implemented();
140 return 0;
141 } /* FindGadget */
143 void intui_ProcessEvents (void)
145 _aros_not_implemented();