X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=linux%2Fxenv.h;h=ae76f7d6555d5e0769234f0839727b3a7abc3812;hb=d1453cf7e6d5d6758cc5d72c6d3af7d37156bf72;hp=005ec0a1ab8f6d222cf07c6f3b644ab726b456e5;hpb=f620fa7adecebd8c45a92b644158be8dec40450b;p=libpicofe.git diff --git a/linux/xenv.h b/linux/xenv.h index 005ec0a..ae76f7d 100644 --- a/linux/xenv.h +++ b/linux/xenv.h @@ -1,9 +1,11 @@ +#ifndef LIBPICOFE_XENV_H +#define LIBPICOFE_XENV_H #define XENV_CAP_KEYS (1<<0) #define XENV_CAP_MOUSE (1<<1) /* xenv_flags specify if we need keys and mouse, - * flag is removed if input is not available */ + * on return, flag is removed if input is not available */ int xenv_init(int *xenv_flags, const char *window_title); /* read events from X, calling key_cb for key, mouseb_cb for mouse button @@ -16,3 +18,4 @@ int xenv_update(int (*key_cb)(void *cb_arg, int kc, int is_pressed), int xenv_minimize(void); void xenv_finish(void); +#endif // LIBPICOFE_XENV_H