forked from enlightenment/terminology
*.h: do not use the C reserved identifiers for the include guards
This commit is contained in:
parent
50ea966dff
commit
a6ca0111de
|
@ -1,5 +1,5 @@
|
|||
#ifndef _ABOUT_H__
|
||||
#define _ABOUT_H__ 1
|
||||
#ifndef TERMINOLOGY_ABOUT_H_
|
||||
#define TERMINOLOGY_ABOUT_H_ 1
|
||||
|
||||
void about_show(Evas_Object *win, Evas_Object *base, Evas_Object *term,
|
||||
void (*donecb) (void *data), void *donedata);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _BACKLOG_H__
|
||||
#define _BACKLOG_H__ 1
|
||||
#ifndef TERMINOLOGY_BACKLOG_H_
|
||||
#define TERMINOLOGY_BACKLOG_H_ 1
|
||||
|
||||
void termpty_save_register(Termpty *ty);
|
||||
void termpty_save_unregister(Termpty *ty);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _COLORS_H__
|
||||
#define _COLORS_H__ 1
|
||||
#ifndef TERMINOLOGY_COLORS_H_
|
||||
#define TERMINOLOGY_COLORS_H_ 1
|
||||
|
||||
#include <Evas.h>
|
||||
#include "config.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _CONFIG_H__
|
||||
#define _CONFIG_H__ 1
|
||||
#ifndef TERMINOLOGY_CONFIG_H_
|
||||
#define TERMINOLOGY_CONFIG_H_ 1
|
||||
|
||||
#include <Evas.h>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _CONTROLS_H__
|
||||
#define _CONTROLS_H__ 1
|
||||
#ifndef TERMINOLOGY_CONTROLS_H_
|
||||
#define TERMINOLOGY_CONTROLS_H_ 1
|
||||
|
||||
void controls_show(Evas_Object *win, Evas_Object *base, Evas_Object *bg,
|
||||
Evas_Object *term,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _EXTNS_H__
|
||||
#define _EXTNS_H__ 1
|
||||
#ifndef TERMINOLOGY_EXTNS_H_
|
||||
#define TERMINOLOGY_EXTNS_H_ 1
|
||||
|
||||
extern const char *extn_img[];
|
||||
extern const char *extn_scale[];
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _GRAVATAR_H__
|
||||
#define _GRAVATAR_H__ 1
|
||||
#ifndef TERMINOLOGY_GRAVATAR_H_
|
||||
#define TERMINOLOGY_GRAVATAR_H_ 1
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _IPC_H__
|
||||
#define _IPC_H__ 1
|
||||
#ifndef TERMINOLOGY_IPC_H_
|
||||
#define TERMINOLOGY_IPC_H_ 1
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _KEYIN_H__
|
||||
#define _KEYIN_H__ 1
|
||||
#ifndef TERMINOLOGY_KEYIN_H_
|
||||
#define TERMINOLOGY_KEYIN_H_ 1
|
||||
|
||||
typedef struct _Keys_Handler Keys_Handler;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _MAIN_H__
|
||||
#define _MAIN_H__ 1
|
||||
#ifndef TERMINOLOGY_MAIN_H_
|
||||
#define TERMINOLOGY_MAIN_H_ 1
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _MD5_H_
|
||||
#define _MD5_H_
|
||||
#ifndef TERMINOLOGY_MD5_H_
|
||||
#define TERMINOLOGY_MD5_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _MEDIA_H__
|
||||
#define _MEDIA_H__ 1
|
||||
#ifndef TERMINOLOGY_MEDIA_H_
|
||||
#define TERMINOLOGY_MEDIA_H_ 1
|
||||
|
||||
#define MEDIA_SIZE_MASK 0x000f
|
||||
#define MEDIA_OPTIONS_MASK 0x00f0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _MINIVIEW_H__
|
||||
#define _MINIVIEW_H__ 1
|
||||
#ifndef TERMINOLOGY_MINIVIEW_H_
|
||||
#define TERMINOLOGY_MINIVIEW_H_ 1
|
||||
|
||||
#include "termpty.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TERMINOLOGY_OPTIONS_H__
|
||||
#define _TERMINOLOGY_OPTIONS_H__ 1
|
||||
#ifndef TERMINOLOGY_TERMINOLOGY_OPTIONS_H_
|
||||
#define TERMINOLOGY_TERMINOLOGY_OPTIONS_H_ 1
|
||||
|
||||
void options_show(Evas_Object *win, Evas_Object *base, Evas_Object *bg,
|
||||
Evas_Object *term,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _OPTIONS_BACKGROUND_H__
|
||||
#define _OPTIONS_BACKGROUND_H__ 1
|
||||
#ifndef TERMINOLOGY_OPTIONS_BACKGROUND_H_
|
||||
#define TERMINOLOGY_OPTIONS_BACKGROUND_H_ 1
|
||||
|
||||
void options_background(Evas_Object *opbox, Evas_Object *term);
|
||||
void options_background_clear(void);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _OPTIONS_BEHAVIOR_H__
|
||||
#define _OPTIONS_BEHAVIOR_H__ 1
|
||||
#ifndef TERMINOLOGY_OPTIONS_BEHAVIOR_H_
|
||||
#define TERMINOLOGY_OPTIONS_BEHAVIOR_H_ 1
|
||||
|
||||
void options_behavior(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _OPTIONS_COLORS_H__
|
||||
#define _OPTIONS_COLORS_H__ 1
|
||||
#ifndef TERMINOLOGY_OPTIONS_COLORS_H_
|
||||
#define TERMINOLOGY_OPTIONS_COLORS_H_ 1
|
||||
|
||||
void options_colors(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _OPTIONS_ELM_H__
|
||||
#define _OPTIONS_ELM_H__ 1
|
||||
#ifndef TERMINOLOGY_OPTIONS_ELM_H_
|
||||
#define TERMINOLOGY_OPTIONS_ELM_H_ 1
|
||||
|
||||
void options_elm(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _OPTIONS_FONT_H__
|
||||
#define _OPTIONS_FONT_H__ 1
|
||||
#ifndef TERMINOLOGY_OPTIONS_FONT_H_
|
||||
#define TERMINOLOGY_OPTIONS_FONT_H_ 1
|
||||
|
||||
void options_font(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _OPTIONS_KEYS_H__
|
||||
#define _OPTIONS_KEYS_H__ 1
|
||||
#ifndef TERMINOLOGY_OPTIONS_KEYS_H_
|
||||
#define TERMINOLOGY_OPTIONS_KEYS_H_ 1
|
||||
|
||||
void options_keys(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _OPTIONS_MOUSE_H__
|
||||
#define _OPTIONS_MOUSE_H__ 1
|
||||
#ifndef TERMINOLOGY_OPTIONS_MOUSE_H_
|
||||
#define TERMINOLOGY_OPTIONS_MOUSE_H_ 1
|
||||
|
||||
void options_mouse(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _OPTIONS_THEME_H__
|
||||
#define _OPTIONS_THEME_H__ 1
|
||||
#ifndef TERMINOLOGY_OPTIONS_THEME_H_
|
||||
#define TERMINOLOGY_OPTIONS_THEME_H_ 1
|
||||
|
||||
void options_theme(Evas_Object *opbox, Evas_Object *term);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _OPTIONS_THEMEPV_H__
|
||||
#define _OPTIONS_THEMEPV_H__ 1
|
||||
#ifndef TERMINOLOGY_OPTIONS_THEMEPV_H_
|
||||
#define TERMINOLOGY_OPTIONS_THEMEPV_H_ 1
|
||||
#include "colors.h"
|
||||
|
||||
Evas_Object *
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _PRIVATE_H__
|
||||
#define _PRIVATE_H__ 1
|
||||
#ifndef TERMINOLOGY_PRIVATE_H_
|
||||
#define TERMINOLOGY_PRIVATE_H_ 1
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "terminology_config.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _SB_H__
|
||||
#define _SB_H__
|
||||
#ifndef TERMINOLOGY_SB_H_
|
||||
#define TERMINOLOGY_SB_H_
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _SEL_H__
|
||||
#define _SEL_H__ 1
|
||||
#ifndef TERMINOLOGY_SEL_H_
|
||||
#define TERMINOLOGY_SEL_H_ 1
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TERM_CONTAINER_H__
|
||||
#define _TERM_CONTAINER_H__ 1
|
||||
#ifndef TERMINOLOGY_TERM_CONTAINER_H_
|
||||
#define TERMINOLOGY_TERM_CONTAINER_H_ 1
|
||||
|
||||
|
||||
typedef struct _Term_Container Term_Container;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TERMCMD_H__
|
||||
#define _TERMCMD_H__ 1
|
||||
#ifndef TERMINOLOGY_TERMCMD_H_
|
||||
#define TERMINOLOGY_TERMCMD_H_ 1
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TERMIO_H__
|
||||
#define _TERMIO_H__ 1
|
||||
#ifndef TERMINOLOGY_TERMIO_H_
|
||||
#define TERMINOLOGY_TERMIO_H_ 1
|
||||
|
||||
#include "config.h"
|
||||
#include "main.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TERMIOINTERNALS_H__
|
||||
#define _TERMIOINTERNALS_H__ 1
|
||||
#ifndef TERMINOLOGY_TERMIOINTERNALS_H_
|
||||
#define TERMINOLOGY_TERMIOINTERNALS_H_ 1
|
||||
|
||||
#if defined(BINARY_TYFUZZ) || defined(BINARY_TYTEST)
|
||||
typedef void Term;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TERMIO_LINK_H__
|
||||
#define _TERMIO_LINK_H__ 1
|
||||
#ifndef TERMINOLOGY_TERMIO_LINK_H_
|
||||
#define TERMINOLOGY_TERMIO_LINK_H_ 1
|
||||
|
||||
char *termio_link_find(const Evas_Object *obj, int cx, int cy, int *x1r, int *y1r, int *x2r, int *y2r);
|
||||
Eina_Bool
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TERMPTY_H__
|
||||
#define _TERMPTY_H__ 1
|
||||
#ifndef TERMINOLOGY_TERMPTY_H_
|
||||
#define TERMINOLOGY_TERMPTY_H_ 1
|
||||
|
||||
#include "config.h"
|
||||
#include "media.h"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* XXX: Code generated by tool unicode_dbl_width.py */
|
||||
#ifndef _TERMPTY_DBL_H__
|
||||
#define _TERMPTY_DBL_H__ 1
|
||||
#ifndef TERMINOLOGY_TERMPTY_DBL_H_
|
||||
#define TERMINOLOGY_TERMPTY_DBL_H_ 1
|
||||
|
||||
Eina_Bool _termpty_is_wide(const Eina_Unicode g);
|
||||
Eina_Bool _termpty_is_ambigous_wide(const Eina_Unicode g);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TERMPTY_ESC_H__
|
||||
#define _TERMPTY_ESC_H__ 1
|
||||
#ifndef TERMINOLOGY_TERMPTY_ESC_H_
|
||||
#define TERMINOLOGY_TERMPTY_ESC_H_ 1
|
||||
|
||||
int termpty_handle_seq(Termpty *ty, const Eina_Unicode *c, const Eina_Unicode *ce);
|
||||
const char * EINA_PURE termptyesc_safechar(const unsigned int c);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TERMPTY_EXT_H__
|
||||
#define _TERMPTY_EXT_H__ 1
|
||||
#ifndef TERMINOLOGY_TERMPTY_EXT_H_
|
||||
#define TERMINOLOGY_TERMPTY_EXT_H_ 1
|
||||
|
||||
Eina_Bool
|
||||
termpty_ext_handle(Termpty *ty,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TERMPTY_GFX_H__
|
||||
#define _TERMPTY_GFX_H__ 1
|
||||
#ifndef TERMINOLOGY_TERMPTY_GFX_H_
|
||||
#define TERMINOLOGY_TERMPTY_GFX_H_ 1
|
||||
|
||||
#include "termpty.h"
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TERMPTY_OPS_H__
|
||||
#define _TERMPTY_OPS_H__ 1
|
||||
#ifndef TERMINOLOGY_TERMPTY_OPS_H_
|
||||
#define TERMINOLOGY_TERMPTY_OPS_H_ 1
|
||||
|
||||
typedef enum _Termpty_Clear
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _THEME_H__
|
||||
#define _THEME_H__
|
||||
#ifndef TERMINOLOGY_THEME_H_
|
||||
#define TERMINOLOGY_THEME_H_
|
||||
|
||||
#include <Evas.h>
|
||||
#include "config.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TY_COMMON_H__
|
||||
#define _TY_COMMON_H__ 1
|
||||
#ifndef TERMINOLOGY_TY_COMMON_H_
|
||||
#define TERMINOLOGY_TY_COMMON_H_ 1
|
||||
|
||||
int expect_running_in_terminology(void);
|
||||
ssize_t ty_write(int fd, const void *buf, size_t count);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TYTEST_H__
|
||||
#define _TYTEST_H__ 1
|
||||
#ifndef TERMINOLOGY_TYTEST_H_
|
||||
#define TERMINOLOGY_TYTEST_H_ 1
|
||||
|
||||
#if defined(BINARY_TYTEST)
|
||||
#define evas_object_textgrid_palette_get test_textgrid_palette_get
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TYTEST_COMMON_H__
|
||||
#define _TYTEST_COMMON_H__ 1
|
||||
#ifndef TERMINOLOGY_TYTEST_COMMON_H_
|
||||
#define TERMINOLOGY_TYTEST_COMMON_H_ 1
|
||||
|
||||
#define TY_H 24
|
||||
#define TY_W 80
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _TY_UNIT_TESTS_H__
|
||||
#define _TY_UNIT_TESTS_H__ 1
|
||||
#ifndef TERMINOLOGY_TY_UNIT_TESTS_H_
|
||||
#define TERMINOLOGY_TY_UNIT_TESTS_H_ 1
|
||||
|
||||
/* Unit tests */
|
||||
typedef int (*tytest_func)(void);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _UTF8_H__
|
||||
#define _UTF8_H__ 1
|
||||
#ifndef TERMINOLOGY_UTF8_H_
|
||||
#define TERMINOLOGY_UTF8_H_ 1
|
||||
#include <Eina.h>
|
||||
int codepoint_to_utf8(Eina_Unicode g, char *txt);
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _UTILS_H__
|
||||
#define _UTILS_H__
|
||||
#ifndef TERMINOLOGY_UTILS_H_
|
||||
#define TERMINOLOGY_UTILS_H_
|
||||
|
||||
#include <Eina.h>
|
||||
#include "config.h"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _WIN_H__
|
||||
#define _WIN_H__ 1
|
||||
#ifndef TERMINOLOGY_WIN_H_
|
||||
#define TERMINOLOGY_WIN_H_ 1
|
||||
|
||||
#include "config.h"
|
||||
|
||||
|
|
|
@ -72,8 +72,8 @@ def skip_ranges(ranges, width_skipped):
|
|||
def gen_header(cur_range, file_header):
|
||||
file_header.write(
|
||||
"""/* XXX: Code generated by tool unicode_dbl_width.py */
|
||||
#ifndef _TERMPTY_DBL_H__
|
||||
#define _TERMPTY_DBL_H__ 1
|
||||
#ifndef TERMINOLOGY_TERMPTY_DBL_H_
|
||||
#define TERMINOLOGY_TERMPTY_DBL_H_ 1
|
||||
|
||||
Eina_Bool _termpty_is_wide(const Eina_Unicode g);
|
||||
Eina_Bool _termpty_is_ambigous_wide(const Eina_Unicode g);
|
||||
|
|
Loading…
Reference in New Issue