add header guards
This commit is contained in:
parent
bfc4ca1ae6
commit
79034500d3
|
@ -1,2 +1,7 @@
|
|||
#ifndef _ABOUT_H__
|
||||
#define _ABOUT_H__ 1
|
||||
|
||||
void about_toggle(Evas_Object *win, Evas_Object *bg, Evas_Object *term,
|
||||
void (*donecb) (void *data), void *donedata);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
#ifndef _CONTROLS_H__
|
||||
#define _CONTROLS_H__ 1
|
||||
|
||||
void controls_toggle(Evas_Object *win, Evas_Object *bg, Evas_Object *term,
|
||||
void (*donecb) (void *data), void *donedata);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
#ifndef _EXTNS_H__
|
||||
#define _EXTNS_H__ 1
|
||||
|
||||
extern const char *extn_img[];
|
||||
extern const char *extn_scale[];
|
||||
extern const char *extn_edj[];
|
||||
extern const char *extn_mov[];
|
||||
extern const char *extn_aud[];
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
#ifndef _KEYIN_H__
|
||||
#define _KEYIN_H__ 1
|
||||
|
||||
void keyin_handle(Termpty *ty, Evas_Event_Key_Down *ev);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
#ifndef _OPTIONS_BEHAVIOR_H__
|
||||
#define _OPTIONS_BEHAVIOR_H__ 1
|
||||
|
||||
void options_behavior(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
#ifndef _OPTIONS_COLORS_H__
|
||||
#define _OPTIONS_COLORS_H__ 1
|
||||
|
||||
void options_colors(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
#ifndef _OPTIONS_FONT_H__
|
||||
#define _OPTIONS_FONT_H__ 1
|
||||
|
||||
void options_font_clear(void);
|
||||
void options_font(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
#ifndef _OPTIONS_HELPERS_H__
|
||||
#define _OPTIONS_HELPERS_H__ 1
|
||||
|
||||
void options_helpers(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
#ifndef _OPTIONS_KEYS_H__
|
||||
#define _OPTIONS_KEYS_H__ 1
|
||||
|
||||
void options_keys(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
#ifndef _OPTIONS_THEME_H__
|
||||
#define _OPTIONS_THEME_H__ 1
|
||||
|
||||
void options_theme_clear(void);
|
||||
void options_theme(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
#ifndef _OPTIONS_THEMEPV_H__
|
||||
#define _OPTIONS_THEMEPV_H__ 1
|
||||
|
||||
Evas_Object *options_theme_preview_add(Evas_Object *parent, Config *config, const char *file, Evas_Coord w, Evas_Coord h);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1 +1,6 @@
|
|||
#ifndef _OPTIONS_VIDEO_H__
|
||||
#define _OPTIONS_VIDEO_H__ 1
|
||||
|
||||
void options_video(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
#ifndef _OPTIONS_WALLPAPER_H__
|
||||
#define _OPTIONS_WALLPAPER_H__ 1
|
||||
|
||||
void options_wallpaper(Evas_Object *opbox, Evas_Object *term);
|
||||
void options_wallpaper_clear(void);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#ifndef _PRIVATE_H__
|
||||
#define _PRIVATE_H__ 1
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "terminology_config.h"
|
||||
#endif
|
||||
|
@ -9,3 +12,5 @@ extern int _log_domain;
|
|||
#define WRN(...) EINA_LOG_DOM_WARN(_log_domain, __VA_ARGS__)
|
||||
#define INF(...) EINA_LOG_DOM_INFO(_log_domain, __VA_ARGS__)
|
||||
#define DBG(...) EINA_LOG_DOM_DBG(_log_domain, __VA_ARGS__)
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
#ifndef _TERMIO_LINK_H__
|
||||
#define _TERMIO_LINK_H__ 1
|
||||
|
||||
char *_termio_link_find(Evas_Object *obj, int cx, int cy, int *x1r, int *y1r, int *x2r, int *y2r);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#ifndef _TERMPTY_DBL_H__
|
||||
#define _TERMPTY_DBL_H__ 1
|
||||
|
||||
Eina_Bool _termpty_is_dblwidth_slow_get(Termpty *ty, int g);
|
||||
|
||||
static inline Eina_Bool
|
||||
|
@ -23,3 +26,4 @@ _termpty_is_dblwidth_get(Termpty *ty, int g)
|
|||
#endif
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
#ifndef _TERMPTY_ESC_H__
|
||||
#define _TERMPTY_ESC_H__ 1
|
||||
|
||||
int _termpty_handle_seq(Termpty *ty, Eina_Unicode *c, Eina_Unicode *ce);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
#ifndef _TERMPTY_EXT_H__
|
||||
#define _TERMPTY_EXT_H__ 1
|
||||
|
||||
Eina_Bool _termpty_ext_handle(Termpty *ty, const char *txt, Eina_Unicode *utxt);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
#ifndef _TERMPTY_GFX_H__
|
||||
#define _TERMPTY_GFX_H__ 1
|
||||
|
||||
Eina_Unicode _termpty_charset_trans(Eina_Unicode g, int chset);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#ifndef _TERMPTY_OPS_H__
|
||||
#define _TERMPTY_OPS_H__ 1
|
||||
|
||||
typedef enum _Termpty_Clear
|
||||
{
|
||||
TERMPTY_CLR_END,
|
||||
|
@ -20,3 +23,5 @@ void _termpty_reset_state(Termpty *ty);
|
|||
void _termpty_cursor_copy(Termstate *state, Termstate *dest);
|
||||
|
||||
#define _term_txt_write(ty, txt) termpty_write(ty, txt, sizeof(txt) - 1)
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
#ifndef _TERMPTY_SAVE_H__
|
||||
#define _TERMPTY_SAVE_H__ 1
|
||||
|
||||
void termpty_save_freeze(void);
|
||||
void termpty_save_thaw(void);
|
||||
void termpty_save_register(Termpty *ty);
|
||||
|
@ -6,3 +9,4 @@ Termsave *termpty_save_extract(Termsave *ts);
|
|||
Termsave *termpty_save_new(int w);
|
||||
void termpty_save_free(Termsave *ts);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
#ifndef _UTF8_H__
|
||||
#define _UTF8_H__ 1
|
||||
|
||||
int codepoint_to_utf8(int g, char *txt);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
#ifndef _WIN_H__
|
||||
#define _WIN_H__ 1
|
||||
|
||||
Evas_Object *tg_win_add(const char *name, const char *role, const char *title, const char *icon_name);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue