diff options
Diffstat (limited to 'libindicator/indicator.h')
-rw-r--r-- | libindicator/indicator.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libindicator/indicator.h b/libindicator/indicator.h index 31ce0f6..8bff270 100644 --- a/libindicator/indicator.h +++ b/libindicator/indicator.h @@ -25,11 +25,15 @@ License along with this library. If not, see #include <gtk/gtk.h> +#define INDICATOR_GET_VERSION_S "get_version" +typedef gchar * (*get_version_t) (void); +gchar * get_version (void); + #define INDICATOR_VERSION "0.3.0" #define INDICATOR_SET_VERSION gchar * get_version(void) { return INDICATOR_VERSION; } #define INDICATOR_VERSION_CHECK(x) (!g_strcmp0(x, INDICATOR_VERSION)) -#define INDICATOR_GET_NAME_S "get_type" +#define INDICATOR_GET_TYPE_S "get_type" typedef GType (*get_type_t) (void); #define INDICATOR_SET_TYPE(x) GType get_type (void) { return x; } |