aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-04-21 14:15:22 -0500
committerTed Gould <ted@canonical.com>2009-04-21 14:15:22 -0500
commit61bc03afdadb206839db4c0eb0631104a1a2ff3b (patch)
tree36e2b4b00ac54e440cf7f13f3e1469a67b250321 /libindicator
parent43cf92a1e3306bf142f98ebc0cc4b2c636271c0d (diff)
downloadlibayatana-indicator-61bc03afdadb206839db4c0eb0631104a1a2ff3b.tar.gz
libayatana-indicator-61bc03afdadb206839db4c0eb0631104a1a2ff3b.tar.bz2
libayatana-indicator-61bc03afdadb206839db4c0eb0631104a1a2ff3b.zip
Creating an indicator lib to make sure we can attach all these things together.
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/Makefile.am14
-rw-r--r--libindicator/indicator.h17
-rw-r--r--libindicator/indicator.pc.in16
3 files changed, 47 insertions, 0 deletions
diff --git a/libindicator/Makefile.am b/libindicator/Makefile.am
new file mode 100644
index 0000000..be68721
--- /dev/null
+++ b/libindicator/Makefile.am
@@ -0,0 +1,14 @@
+EXTRA_DIST = \
+ indicator.pc.in
+
+libindicatorincludedir=$(includedir)/libindicator-0.1/libindicator
+
+indicator_headers = \
+ indicator.h
+
+libindicatorinclude_HEADERS = \
+ $(indicator_headers)
+
+pkgconfig_DATA = indicator.pc
+pkgconfigdir = $(libdir)/pkgconfig
+
diff --git a/libindicator/indicator.h b/libindicator/indicator.h
new file mode 100644
index 0000000..9afaa4f
--- /dev/null
+++ b/libindicator/indicator.h
@@ -0,0 +1,17 @@
+
+#ifndef __LIBINDICATOR_INDICATOR_H_SEEN__
+#define __LIBINDICATOR_INDICATOR_H_SEEN__ 1
+
+#include <gtk/gtk.h>
+
+#define INDICATOR_GET_LABEL_S "get_label"
+GtkLabel * get_label (void);
+
+#define INDICATOR_GET_ICON_S "get_icon"
+GtkImage * get_icon (void);
+
+#define INDICATOR_GET_MENU_S "get_menu"
+GtkMenu * get_menu (void);
+
+#endif /* __LIBINDICATOR_INDICATOR_H_SEEN__ */
+
diff --git a/libindicator/indicator.pc.in b/libindicator/indicator.pc.in
new file mode 100644
index 0000000..32f865d
--- /dev/null
+++ b/libindicator/indicator.pc.in
@@ -0,0 +1,16 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+bindir=@bindir@
+includedir=@includedir@
+
+indicatordir=@indicatordir@
+
+Cflags: -I${includedir}/libindicator-0.1
+Requires: gtk-2.0
+Libs:
+
+Name: libindicator
+Description: libindicator.
+Version: @VERSION@
+