X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=tilda.h;h=d634833ff97fe68a71909d4720c7c94d78d8a557;hb=2b17e21d2ac627242479945521f7a8e65c51d5b5;hp=96adfa1cd7c31ddef55a0f409f732e83b822dcec;hpb=cdfa28812023db7df374c63171cf4536ef5f78ba;p=tilda-gobject.git diff --git a/tilda.h b/tilda.h index 96adfa1..d634833 100644 --- a/tilda.h +++ b/tilda.h @@ -1,32 +1,20 @@ #ifndef TILDA_H #define TILDA_H -#include +#include +#include +#include #include -/* Optional debugging macros */ -#ifdef DEBUG - #define debug_enter() do { g_printf ("debug enter: %s\n", __func__); } while (0) - #define debug_printf(args...) do { g_printf ("debug: " args); } while (0) - #define debug_assert(args...) do { g_assert (args); } while (0) -#else - #define debug_enter() do { /* nothing */ } while (0) - #define debug_printf(args...) do { /* nothing */ } while (0) - #define debug_assert(args...) do { /* nothing */ } while (0) -#endif +#include "debug.h" +#include "translation.h" -/* Optional gettext translation macros */ -#ifdef ENABLE_NLS - #include -#else - #define _(X) X - #define N_(X) X -#endif +// FIXME: remove when the project is autoconfed +#define TILDA_VERSION "0.10.0pre" /* Project-global variables */ -extern DBusGConnection *dbus_connection; +DBusGConnection *dbus_connection; #endif /* TILDA_H */ /* vim: set ts=4 sts=4 sw=4 noet tw=112: */ -