/usr/include/allegro5/system.h is in liballegro5-dev 2:5.0.10-2.
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 | #ifndef __al_included_allegro5_system_h
#define __al_included_allegro5_system_h
#include "allegro5/config.h"
#include "allegro5/path.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct ALLEGRO_SYSTEM ALLEGRO_SYSTEM;
/* Function: al_init
*/
#define al_init() (al_install_system(ALLEGRO_VERSION_INT, atexit))
AL_FUNC(bool, al_install_system, (int version, int (*atexit_ptr)(void (*)(void))));
AL_FUNC(void, al_uninstall_system, (void));
AL_FUNC(bool, al_is_system_installed, (void));
AL_FUNC(ALLEGRO_SYSTEM *, al_get_system_driver, (void));
AL_FUNC(ALLEGRO_CONFIG *, al_get_system_config, (void));
enum {
ALLEGRO_RESOURCES_PATH = 0,
ALLEGRO_TEMP_PATH,
ALLEGRO_USER_DATA_PATH,
ALLEGRO_USER_HOME_PATH,
ALLEGRO_USER_SETTINGS_PATH,
ALLEGRO_USER_DOCUMENTS_PATH,
ALLEGRO_EXENAME_PATH,
ALLEGRO_LAST_PATH /* must be last */
};
AL_FUNC(ALLEGRO_PATH *, al_get_standard_path, (int id));
AL_FUNC(void, al_set_exe_name, (char const *path));
AL_FUNC(void, al_set_org_name, (const char *org_name));
AL_FUNC(void, al_set_app_name, (const char *app_name));
AL_FUNC(const char *, al_get_org_name, (void));
AL_FUNC(const char *, al_get_app_name, (void));
AL_FUNC(bool, al_inhibit_screensaver, (bool inhibit));
#ifdef __cplusplus
}
#endif
#endif
/* vim: set sts=3 sw=3 et: */
|