aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-01-23 12:45:05 -0600
committerTed Gould <ted@gould.cx>2011-01-23 12:45:05 -0600
commitc644e10c9da09e443a00422df00a6ba9df7a7e83 (patch)
tree346818938fe5c9db79a5f72b714d36046df26d88
parent4bb9903a560f83b1b8a19c7801efab80d677ab46 (diff)
downloadlibdbusmenu-c644e10c9da09e443a00422df00a6ba9df7a7e83.tar.gz
libdbusmenu-c644e10c9da09e443a00422df00a6ba9df7a7e83.tar.bz2
libdbusmenu-c644e10c9da09e443a00422df00a6ba9df7a7e83.zip
Adding the base files for the parser
-rw-r--r--.bzrignore1
-rw-r--r--libdbusmenu-gtk/Makefile.am7
-rw-r--r--libdbusmenu-gtk/parser.c9
-rw-r--r--libdbusmenu-gtk/parser.h6
4 files changed, 21 insertions, 2 deletions
diff --git a/.bzrignore b/.bzrignore
index 44c6edb..e0fd93e 100644
--- a/.bzrignore
+++ b/.bzrignore
@@ -220,3 +220,4 @@ libdbusmenu-gtk/DbusmenuGtk-0.4.typelib
libdbusmenu-gtk/DbusmenuGtk-0.4.vapi
libdbusmenu-gtk/dbusmenu-gtk-0.4.pc
libdbusmenu-gtk/dbusmenu-gtk3-0.4.pc
+libdbusmenu-gtk/libdbusmenu_gtk_la-parser.lo
diff --git a/libdbusmenu-gtk/Makefile.am b/libdbusmenu-gtk/Makefile.am
index e5df6b1..201a631 100644
--- a/libdbusmenu-gtk/Makefile.am
+++ b/libdbusmenu-gtk/Makefile.am
@@ -23,7 +23,8 @@ libdbusmenu_gtkinclude_HEADERS = \
dbusmenu-gtk.h \
client.h \
menu.h \
- menuitem.h
+ menuitem.h \
+ parser.h
libdbusmenu_gtk_la_SOURCES = \
client.h \
@@ -33,7 +34,9 @@ libdbusmenu_gtk_la_SOURCES = \
menu.h \
menu.c \
menuitem.h \
- menuitem.c
+ menuitem.c \
+ parser.h \
+ parser.c
libdbusmenu_gtk_la_LDFLAGS = \
-version-info $(LIBDBUSMENU_CURRENT):$(LIBDBUSMENU_REVISION):$(LIBDBUSMENU_AGE) \
diff --git a/libdbusmenu-gtk/parser.c b/libdbusmenu-gtk/parser.c
new file mode 100644
index 0000000..98b3f7d
--- /dev/null
+++ b/libdbusmenu-gtk/parser.c
@@ -0,0 +1,9 @@
+
+#include "parser.h"
+
+DbusmenuMenuitem *
+dbusmenu_gtk_parse_menu_structure (GtkMenuItem * mi)
+{
+
+ return NULL;
+}
diff --git a/libdbusmenu-gtk/parser.h b/libdbusmenu-gtk/parser.h
new file mode 100644
index 0000000..222d9f4
--- /dev/null
+++ b/libdbusmenu-gtk/parser.h
@@ -0,0 +1,6 @@
+
+#include <libdbusmenu-glib/menuitem.h>
+#include <gtk/gtk.h>
+
+DbusmenuMenuitem * dbusmenu_gtk_parse_menu_structure (GtkMenuItem * mi);
+