home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROSdev.lha / AROS / config / amiga / intuition_driver.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-27  |  2.5 KB  |  135 lines

  1.  
  2. #define DEBUG_FreeMem 1
  3.  
  4. #include <stdlib.h>
  5. #include <stdio.h>
  6. #include <string.h>
  7. #include <exec/memory.h>
  8. #include <dos/dos.h>
  9. #include <utility/tagitem.h>
  10. #include <clib/exec_protos.h>
  11. #include <clib/intuition_protos.h>
  12. #include <clib/graphics_protos.h>
  13. #include <clib/aros_protos.h>
  14. #include "intuition_intern.h"
  15. #include "gadgets.h"
  16. #include "propgadgets.h"
  17.  
  18. #define DEBUG    0
  19. #define DEBUG_ProcessXEvents    0
  20.  
  21. #if DEBUG
  22. #   define D(x)     x
  23. #else
  24. #   define D(x)     /* eps */
  25. #endif
  26.  
  27. #define bug        kprintf
  28.  
  29. extern void _aros_not_implemented(void);
  30.  
  31. int intui_init (struct IntuitionBase * IntuitionBase)
  32. {
  33.     fprintf(stderr, "intuition driver init function goes here\n");
  34.     return FALSE;
  35. }
  36.  
  37. int intui_open (struct IntuitionBase * IntuitionBase)
  38. {
  39.     _aros_not_implemented();
  40.     return FALSE;
  41. }
  42.  
  43. void intui_close (struct IntuitionBase * IntuitionBase)
  44. {
  45.     _aros_not_implemented();
  46.     return;
  47. }
  48.  
  49. void intui_expunge (struct IntuitionBase * IntuitionBase)
  50. {
  51.     _aros_not_implemented();
  52.     return;
  53. }
  54.  
  55. void intui_SetWindowTitles (struct Window * win, UBYTE * text, UBYTE * screen)
  56. {
  57.     _aros_not_implemented();
  58. }
  59.  
  60. int intui_GetWindowSize (void)
  61. {
  62.     _aros_not_implemented();
  63.     return 0;
  64. }
  65.  
  66. int intui_OpenWindow (struct Window * iw,
  67.     struct IntuitionBase * IntuitionBase)
  68. {
  69.     _aros_not_implemented();
  70.     return 0;
  71. }
  72.  
  73. void intui_CloseWindow (struct Window * iw,
  74.         struct IntuitionBase * IntuitionBase)
  75. {
  76.     _aros_not_implemented();
  77. }
  78.  
  79. void intui_WindowToFront (struct Window * window)
  80. {
  81.     _aros_not_implemented();
  82. }
  83.  
  84. void intui_WindowToBack (struct Window * window)
  85. {
  86.     _aros_not_implemented();
  87. }
  88.  
  89. long StateToQualifier (unsigned long state)
  90. {
  91.     _aros_not_implemented();
  92.     return 0;
  93. } /* StateToQualifier */
  94.  
  95. void intui_SizeWindow (struct Window * win, long dx, long dy)
  96. {
  97.     _aros_not_implemented();
  98. }
  99.  
  100. void intui_ActivateWindow (struct Window * win)
  101. {
  102.     _aros_not_implemented();
  103. }
  104.  
  105. LONG intui_RawKeyConvert (struct InputEvent * ie, STRPTR buf,
  106.     LONG size, struct KeyMap * km)
  107. {
  108.     _aros_not_implemented();
  109.     return 0;
  110. } /* intui_RawKeyConvert */
  111.  
  112. void intui_BeginRefresh (struct Window * win,
  113.     struct IntuitionBase * IntuitionBase)
  114. {
  115.     _aros_not_implemented();
  116. } /* intui_BeginRefresh */
  117.  
  118. void intui_EndRefresh (struct Window * win, BOOL free, struct IntuitionBase * IntuitionBase)
  119. {
  120.     _aros_not_implemented();
  121. } /* intui_EndRefresh */
  122.  
  123.  
  124. struct Gadget * FindGadget (struct Window * window, int x, int y)
  125. {
  126.     _aros_not_implemented();
  127.     return 0;
  128. } /* FindGadget */
  129.  
  130. void intui_ProcessEvents (void)
  131. {
  132.     _aros_not_implemented();
  133. }
  134.  
  135.