/usr/include/allegro/platform/albeos.h is in liballegro4-dev 2:4.4.2-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | /* ______ ___ ___
* /\ _ \ /\_ \ /\_ \
* \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___
* \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\
* \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \
* \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
* \/_/\/_/\/____/\/____/\/____/\/___L\ \/_/ \/___/
* /\____/
* \_/__/
*
* BeOS specific definitions header file.
*
* By Jason Wilkins.
*
* See readme.txt for copyright information.
*/
/* system driver */
#define SYSTEM_BEOS AL_ID('B','S','Y','S')
AL_VAR(SYSTEM_DRIVER, system_beos);
/* timer driver */
#define TIMER_BEOS AL_ID('B','T','I','M')
AL_VAR(TIMER_DRIVER, timer_beos);
/* keyboard driver */
#define KEYBOARD_BEOS AL_ID('B','K','E','Y')
AL_VAR(KEYBOARD_DRIVER, keyboard_beos);
/* mouse driver */
#define MOUSE_BEOS AL_ID('B','M','O','U')
AL_VAR(MOUSE_DRIVER, mouse_beos);
/* joystick driver */
#define JOYSTICK_BEOS AL_ID('B','J','O','Y')
AL_VAR(JOYSTICK_DRIVER, joystick_beos);
/* graphics drivers */
#define GFX_BWINDOWSCREEN_ACCEL AL_ID('B','W','S','A')
#define GFX_BWINDOWSCREEN AL_ID('B','W','S',' ')
AL_VAR(GFX_DRIVER, gfx_beos_bwindowscreen_accel);
AL_VAR(GFX_DRIVER, gfx_beos_bwindowscreen);
#define GFX_BDIRECTWINDOW AL_ID('B','D','W','N')
#define GFX_BWINDOW AL_ID('B','W','N',' ')
AL_VAR(GFX_DRIVER, gfx_beos_bdirectwindow);
AL_VAR(GFX_DRIVER, gfx_beos_bwindow);
#define GFX_BWINDOW_OVERLAY AL_ID('B','O','V','L')
AL_VAR(GFX_DRIVER, gfx_beos_overlay);
/* digi drivers */
#define DIGI_BEOS AL_ID('B','D','I','G')
AL_VAR(DIGI_DRIVER, digi_beos);
/* midi drivers */
#define MIDI_BEOS AL_ID('B','M','I','D')
AL_VAR(MIDI_DRIVER, midi_beos);
#define GFX_DRIVER_BEOS \
{ GFX_BWINDOWSCREEN_ACCEL, &gfx_beos_bwindowscreen_accel, TRUE }, \
{ GFX_BWINDOWSCREEN, &gfx_beos_bwindowscreen, TRUE }, \
{ GFX_BDIRECTWINDOW, &gfx_beos_bdirectwindow, TRUE }, \
{ GFX_BWINDOW, &gfx_beos_bwindow, TRUE }, \
{ GFX_BWINDOW_OVERLAY, &gfx_beos_overlay, TRUE },
#define DIGI_DRIVER_BEOS \
{ DIGI_BEOS, &digi_beos, TRUE },
#define MIDI_DRIVER_BEOS \
{ MIDI_BEOS, &midi_beos, TRUE },
#define JOYSTICK_DRIVER_BEOS \
{ JOYSTICK_BEOS, &joystick_beos, TRUE },
#if defined __HAIKU__
#define TIMERDRV_UNIX_PTHREADS AL_ID('P','T','H','R')
#endif
|