summaryrefslogtreecommitdiff
path: root/vapi/libgnome-menu-3.0.vapi
diff options
context:
space:
mode:
authorAlessandro Ghedini <al3xbio@gmail.com>2011-10-19 10:56:04 +0200
committerAlessandro Ghedini <al3xbio@gmail.com>2011-10-19 10:56:04 +0200
commit6451a495637c6e3047a5a56573cffc6e3de9a515 (patch)
tree7c3eb29532e7c4b36a9da13c5890664fb816959b /vapi/libgnome-menu-3.0.vapi
Imported Upstream version 0.2+gitdfdad95upstream/0.2+gitdfdad95
Diffstat (limited to 'vapi/libgnome-menu-3.0.vapi')
-rw-r--r--vapi/libgnome-menu-3.0.vapi93
1 files changed, 93 insertions, 0 deletions
diff --git a/vapi/libgnome-menu-3.0.vapi b/vapi/libgnome-menu-3.0.vapi
new file mode 100644
index 0000000..0afbea0
--- /dev/null
+++ b/vapi/libgnome-menu-3.0.vapi
@@ -0,0 +1,93 @@
+/* libgnome-menu-3.0.vapi generated by vapigen, do not modify. */
+
+namespace GMenu {
+ [CCode (cheader_filename = "gnome-menus-3.0/gmenu-tree.h")]
+ public class Tree : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public Tree (string menu_basename, GMenu.TreeFlags flags);
+ [CCode (has_construct_function = false)]
+ public Tree.for_path (string menu_path, GMenu.TreeFlags flags);
+ public unowned string get_canonical_menu_path ();
+ public unowned GMenu.TreeDirectory get_directory_from_path (string path);
+ public unowned GMenu.TreeEntry get_entry_by_id (string id);
+ public unowned GMenu.TreeDirectory get_root_directory ();
+ public static void* item_ref (void* item);
+ public static void item_unref (void* item);
+ public bool load_sync () throws GLib.Error;
+ [NoAccessorMethod]
+ public GMenu.TreeFlags flags { get; construct; }
+ [NoAccessorMethod]
+ public string menu_basename { owned get; construct; }
+ [NoAccessorMethod]
+ public string menu_path { owned get; construct; }
+ public virtual signal void changed ();
+ }
+ [CCode (cheader_filename = "gnome-menus-3.0/gmenu-tree.h")]
+ [Compact]
+ public class TreeAlias {
+ public unowned GMenu.TreeDirectory get_aliased_directory ();
+ public unowned GMenu.TreeEntry get_aliased_entry ();
+ public GMenu.TreeItemType get_aliased_item_type ();
+ public unowned GMenu.TreeDirectory get_directory ();
+ }
+ [CCode (cheader_filename = "gnome-menus-3.0/gmenu-tree.h")]
+ [Compact]
+ public class TreeDirectory {
+ public unowned string get_comment ();
+ public unowned string get_desktop_file_path ();
+ public unowned string get_generic_name ();
+ public unowned GLib.Icon get_icon ();
+ public bool get_is_nodisplay ();
+ public unowned string get_menu_id ();
+ public unowned string get_name ();
+ public unowned GMenu.TreeDirectory get_parent ();
+ public unowned GMenu.TreeIter iter ();
+ public unowned string make_path (GMenu.TreeEntry entry);
+ }
+ [CCode (cheader_filename = "gnome-menus-3.0/gmenu-tree.h")]
+ [Compact]
+ public class TreeEntry {
+ public unowned GLib.DesktopAppInfo get_app_info ();
+ public unowned string get_desktop_file_id ();
+ public unowned string get_desktop_file_path ();
+ public bool get_is_excluded ();
+ public unowned GMenu.TreeDirectory get_parent ();
+ }
+ [CCode (cheader_filename = "gnome-menus-3.0/gmenu-tree.h")]
+ [Compact]
+ public class TreeHeader {
+ public unowned GMenu.TreeDirectory get_directory ();
+ }
+ [CCode (cheader_filename = "gnome-menus-3.0/gmenu-tree.h", ref_function = "gmenu_tree_iter_ref", unref_function = "gmenu_tree_iter_unref")]
+ [Compact]
+ public class TreeIter {
+ public unowned GMenu.TreeAlias get_alias ();
+ public unowned GMenu.TreeDirectory get_directory ();
+ public unowned GMenu.TreeEntry get_entry ();
+ public unowned GMenu.TreeHeader get_header ();
+ public GMenu.TreeItemType next ();
+ }
+ [CCode (cheader_filename = "gnome-menus-3.0/gmenu-tree.h")]
+ [Compact]
+ public class TreeSeparator {
+ }
+ [CCode (cheader_filename = "gnome-menus-3.0/gmenu-tree.h", cprefix = "GMENU_TREE_FLAGS_")]
+ [Flags]
+ public enum TreeFlags {
+ NONE,
+ INCLUDE_EXCLUDED,
+ SHOW_EMPTY,
+ INCLUDE_NODISPLAY,
+ SHOW_ALL_SEPARATORS,
+ SORT_DISPLAY_NAME
+ }
+ [CCode (cheader_filename = "gnome-menus-3.0/gmenu-tree.h", cprefix = "GMENU_TREE_ITEM_", has_type_id = false)]
+ public enum TreeItemType {
+ INVALID,
+ DIRECTORY,
+ ENTRY,
+ SEPARATOR,
+ HEADER,
+ ALIAS
+ }
+}