diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-11-06 14:46:09 +0000 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-11-06 15:17:48 +0000 |
commit | 9d1b39fa6a02985a613604826997f0d7b969a40d (patch) | |
tree | 7ea1aae3aeb0f3084b082f4cc1ca85b31fc9ff16 /libayatana-indicator/indicator.h | |
parent | b1f280aa8eb47f039398d604fe8fd126aae86fa4 (diff) | |
download | libayatana-indicator-9d1b39fa6a02985a613604826997f0d7b969a40d.tar.gz libayatana-indicator-9d1b39fa6a02985a613604826997f0d7b969a40d.tar.bz2 libayatana-indicator-9d1b39fa6a02985a613604826997f0d7b969a40d.zip |
Fork libayatana-indicator from Ubuntu's libindicator shared library.
Diffstat (limited to 'libayatana-indicator/indicator.h')
-rw-r--r-- | libayatana-indicator/indicator.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/libayatana-indicator/indicator.h b/libayatana-indicator/indicator.h new file mode 100644 index 0000000..8bff270 --- /dev/null +++ b/libayatana-indicator/indicator.h @@ -0,0 +1,41 @@ +/* +An interface for indicators to link to for creation. + +Copyright 2009 Canonical Ltd. + +Authors: + Ted Gould <ted@canonical.com> + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +version 3.0 as published by the Free Software Foundation. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License version 3.0 for more details. + +You should have received a copy of the GNU General Public +License along with this library. If not, see +<http://www.gnu.org/licenses/>. +*/ + +#ifndef __LIBINDICATOR_INDICATOR_H_SEEN__ +#define __LIBINDICATOR_INDICATOR_H_SEEN__ 1 + +#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_TYPE_S "get_type" +typedef GType (*get_type_t) (void); +#define INDICATOR_SET_TYPE(x) GType get_type (void) { return x; } + +#endif /* __LIBINDICATOR_INDICATOR_H_SEEN__ */ + |