edi/src/bin/edi_private.h

65 lines
1.2 KiB
C
Raw Normal View History

#ifndef EDI_PRIVATE_H_
# define EDI_PRIVATE_H_
#include <Eina.h>
2015-03-27 17:17:31 -07:00
#include <Elementary.h>
2017-09-11 13:06:22 -07:00
#ifdef HAVE_PO
# include <locale.h>
#endif
#ifdef ENABLE_NLS
# include <libintl.h>
# define _(x) gettext(x)
#else
# define _(x) (x)
#endif
extern int _edi_log_dom;
#ifdef CRIT
# undef CRIT
#endif
#define CRIT(...) EINA_LOG_DOM_CRIT(_edi_log_dom, __VA_ARGS__)
#ifdef ERR
# undef ERR
#endif
#define ERR(...) EINA_LOG_DOM_ERR(_edi_log_dom, __VA_ARGS__)
#ifdef WRN
# undef WRN
#endif
#define WRN(...) EINA_LOG_DOM_WARN(_edi_log_dom, __VA_ARGS__)
#ifdef INF
# undef INF
#endif
#define INF(...) EINA_LOG_DOM_INFO(_edi_log_dom, __VA_ARGS__)
#ifdef DBG
# undef DBG
#endif
#define DBG(...) EINA_LOG_DOM_DBG(_edi_log_dom, __VA_ARGS__)
extern int EDI_EVENT_TAB_CHANGED;
extern int EDI_EVENT_FILE_CHANGED;
extern int EDI_EVENT_FILE_SAVED;
#define EDI_CONTENT_SAVE_TIMEOUT 1
#define FONT_PREVIEW " Evas *dostuff(void) {...}"
Eina_Bool edi_open(const char *path);
2020-03-07 16:12:26 -08:00
void edi_open_new(const char *path);
2017-12-05 14:03:46 -08:00
Evas_Object *edi_main_win_get(void);
2020-03-07 16:12:26 -08:00
void edi_main_win_title_set(const char *path);
void edi_main_win_title_reset(void);
2017-12-05 14:03:46 -08:00
void edi_close();
2015-05-19 14:28:05 -07:00
void edi_open_url();
2017-04-28 13:16:47 -07:00
void edi_launcher_config_missing();
void edi_debug_exe_missing(void);
Eina_Bool _edi_project_config_save_no_notify(void);
#endif