diff --git a/src/bin/about.h b/src/bin/about.h index a89e1e6d..54e03acd 100644 --- a/src/bin/about.h +++ b/src/bin/about.h @@ -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 diff --git a/src/bin/controls.h b/src/bin/controls.h index 827c3e1b..078d15ba 100644 --- a/src/bin/controls.h +++ b/src/bin/controls.h @@ -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 diff --git a/src/bin/extns.h b/src/bin/extns.h index 8f67644c..ded11ccc 100644 --- a/src/bin/extns.h +++ b/src/bin/extns.h @@ -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 diff --git a/src/bin/keyin.h b/src/bin/keyin.h index 083762be..b7c83f13 100644 --- a/src/bin/keyin.h +++ b/src/bin/keyin.h @@ -1 +1,6 @@ +#ifndef _KEYIN_H__ +#define _KEYIN_H__ 1 + void keyin_handle(Termpty *ty, Evas_Event_Key_Down *ev); + +#endif diff --git a/src/bin/options_behavior.h b/src/bin/options_behavior.h index ede2d282..8aa8608b 100644 --- a/src/bin/options_behavior.h +++ b/src/bin/options_behavior.h @@ -1 +1,6 @@ +#ifndef _OPTIONS_BEHAVIOR_H__ +#define _OPTIONS_BEHAVIOR_H__ 1 + void options_behavior(Evas_Object *opbox, Evas_Object *term); + +#endif diff --git a/src/bin/options_colors.h b/src/bin/options_colors.h index 60f4ebf9..0512d989 100644 --- a/src/bin/options_colors.h +++ b/src/bin/options_colors.h @@ -1 +1,6 @@ +#ifndef _OPTIONS_COLORS_H__ +#define _OPTIONS_COLORS_H__ 1 + void options_colors(Evas_Object *opbox, Evas_Object *term); + +#endif diff --git a/src/bin/options_font.h b/src/bin/options_font.h index 2798f543..6976c27a 100644 --- a/src/bin/options_font.h +++ b/src/bin/options_font.h @@ -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 diff --git a/src/bin/options_helpers.h b/src/bin/options_helpers.h index da422e47..41b5f65e 100644 --- a/src/bin/options_helpers.h +++ b/src/bin/options_helpers.h @@ -1 +1,6 @@ +#ifndef _OPTIONS_HELPERS_H__ +#define _OPTIONS_HELPERS_H__ 1 + void options_helpers(Evas_Object *opbox, Evas_Object *term); + +#endif diff --git a/src/bin/options_keys.h b/src/bin/options_keys.h index 0ab2a32a..1fbc285e 100644 --- a/src/bin/options_keys.h +++ b/src/bin/options_keys.h @@ -1 +1,6 @@ +#ifndef _OPTIONS_KEYS_H__ +#define _OPTIONS_KEYS_H__ 1 + void options_keys(Evas_Object *opbox, Evas_Object *term); + +#endif diff --git a/src/bin/options_theme.h b/src/bin/options_theme.h index ff097254..fe2b66ce 100644 --- a/src/bin/options_theme.h +++ b/src/bin/options_theme.h @@ -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 diff --git a/src/bin/options_themepv.h b/src/bin/options_themepv.h index 18d24e83..fac2ea49 100644 --- a/src/bin/options_themepv.h +++ b/src/bin/options_themepv.h @@ -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 diff --git a/src/bin/options_video.h b/src/bin/options_video.h index 18274d2e..b1c373fd 100644 --- a/src/bin/options_video.h +++ b/src/bin/options_video.h @@ -1 +1,6 @@ +#ifndef _OPTIONS_VIDEO_H__ +#define _OPTIONS_VIDEO_H__ 1 + void options_video(Evas_Object *opbox, Evas_Object *term); + +#endif diff --git a/src/bin/options_wallpaper.h b/src/bin/options_wallpaper.h index 5c68e5bf..8e4e092e 100644 --- a/src/bin/options_wallpaper.h +++ b/src/bin/options_wallpaper.h @@ -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 diff --git a/src/bin/private.h b/src/bin/private.h index c1b0ded2..74a661c1 100644 --- a/src/bin/private.h +++ b/src/bin/private.h @@ -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 diff --git a/src/bin/termiolink.h b/src/bin/termiolink.h index c082a5fa..82b1b610 100644 --- a/src/bin/termiolink.h +++ b/src/bin/termiolink.h @@ -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 diff --git a/src/bin/termptydbl.h b/src/bin/termptydbl.h index da9ca5d5..8c90623f 100644 --- a/src/bin/termptydbl.h +++ b/src/bin/termptydbl.h @@ -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 diff --git a/src/bin/termptyesc.h b/src/bin/termptyesc.h index c72cf558..982fc6a6 100644 --- a/src/bin/termptyesc.h +++ b/src/bin/termptyesc.h @@ -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 diff --git a/src/bin/termptyext.h b/src/bin/termptyext.h index 95bc8941..8e1bddee 100644 --- a/src/bin/termptyext.h +++ b/src/bin/termptyext.h @@ -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 diff --git a/src/bin/termptygfx.h b/src/bin/termptygfx.h index e44efbd6..770cd9d0 100644 --- a/src/bin/termptygfx.h +++ b/src/bin/termptygfx.h @@ -1,2 +1,6 @@ +#ifndef _TERMPTY_GFX_H__ +#define _TERMPTY_GFX_H__ 1 + Eina_Unicode _termpty_charset_trans(Eina_Unicode g, int chset); - + +#endif diff --git a/src/bin/termptyops.h b/src/bin/termptyops.h index 8d11a415..23ff8102 100644 --- a/src/bin/termptyops.h +++ b/src/bin/termptyops.h @@ -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 diff --git a/src/bin/termptysave.h b/src/bin/termptysave.h index 108185d6..ce430a5c 100644 --- a/src/bin/termptysave.h +++ b/src/bin/termptysave.h @@ -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); @@ -5,4 +8,5 @@ void termpty_save_unregister(Termpty *ty); Termsave *termpty_save_extract(Termsave *ts); Termsave *termpty_save_new(int w); void termpty_save_free(Termsave *ts); - + +#endif diff --git a/src/bin/utf8.h b/src/bin/utf8.h index 75fad797..fc62db2a 100644 --- a/src/bin/utf8.h +++ b/src/bin/utf8.h @@ -1,2 +1,6 @@ +#ifndef _UTF8_H__ +#define _UTF8_H__ 1 + int codepoint_to_utf8(int g, char *txt); - + +#endif diff --git a/src/bin/win.h b/src/bin/win.h index 5e155552..0479610d 100644 --- a/src/bin/win.h +++ b/src/bin/win.h @@ -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