[anjuta] language-support-vala: update the .vapi for 3.0
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] language-support-vala: update the .vapi for 3.0
- Date: Wed, 29 Dec 2010 14:00:20 +0000 (UTC)
commit 3b10b26efb48585f759fc4018d9c0cdae10cbc0d
Author: Abderrahim Kitouni <a kitouni gmail com>
Date: Tue Dec 28 22:04:36 2010 +0100
language-support-vala: update the .vapi for 3.0
plugins/language-support-vala/Makefile.am | 4 +-
plugins/language-support-vala/libanjuta-1.0.deps | 9 -
plugins/language-support-vala/libanjuta-3.0.deps | 1 +
.../{libanjuta-1.0.vapi => libanjuta-3.0.vapi} | 1707 +++++++++++---------
plugins/language-support-vala/plugin.vala | 5 +-
5 files changed, 948 insertions(+), 778 deletions(-)
---
diff --git a/plugins/language-support-vala/Makefile.am b/plugins/language-support-vala/Makefile.am
index 3b38a47..64ed6ce 100644
--- a/plugins/language-support-vala/Makefile.am
+++ b/plugins/language-support-vala/Makefile.am
@@ -31,7 +31,7 @@ AM_CPPFLAGS = \
-DG_LOG_DOMAIN=\"language-support-vala\" \
--no-warn
-VALAFLAGS = --vapidir $(srcdir) --pkg libvala-0.12 --pkg libanjuta-1.0
+VALAFLAGS = --vapidir $(srcdir)
# The plugin
plugindir = $(anjuta_plugin_dir)
@@ -39,6 +39,8 @@ plugin_LTLIBRARIES = libanjuta-language-vala.la
# Plugin sources
libanjuta_language_vala_la_SOURCES = locator.vala plugin.vala provider.vala report.vala
+libanjuta_language_vala_la_VALAFLAGS = --pkg libvala-0.12 --pkg libanjuta-3.0
+
libanjuta_language_vala_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
# Plugin dependencies
diff --git a/plugins/language-support-vala/libanjuta-3.0.deps b/plugins/language-support-vala/libanjuta-3.0.deps
new file mode 100644
index 0000000..f713e68
--- /dev/null
+++ b/plugins/language-support-vala/libanjuta-3.0.deps
@@ -0,0 +1 @@
+gtk+-3.0
diff --git a/plugins/language-support-vala/libanjuta-1.0.vapi b/plugins/language-support-vala/libanjuta-3.0.vapi
similarity index 57%
rename from plugins/language-support-vala/libanjuta-1.0.vapi
rename to plugins/language-support-vala/libanjuta-3.0.vapi
index 2341a80..f9a29c4 100644
--- a/plugins/language-support-vala/libanjuta-1.0.vapi
+++ b/plugins/language-support-vala/libanjuta-3.0.vapi
@@ -1,10 +1,10 @@
/* libanjuta.vapi generated by vapigen, do not modify. */
-[CCode (cprefix = "Anjuta", lower_case_cprefix = "anjuta_")]
+[CCode (cprefix = "Anjuta", lower_case_cprefix = "anjuta_", gir_namespace = "Anjuta", gir_version = "3.0")]
namespace Anjuta {
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public class AsyncCommand : Anjuta.Command {
- public static unowned string get_error_message (Anjuta.Command command);
+ public static string get_error_message (Anjuta.Command command);
public void @lock ();
public static void set_error_message (Anjuta.Command command, string error_message);
public void unlock ();
@@ -19,9 +19,40 @@ namespace Anjuta {
public virtual signal void finished ();
}
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ public class CModule : GLib.TypeModule, GLib.TypePlugin {
+ [CCode (cname = "anjuta_c_module_new", has_construct_function = false)]
+ public CModule (string path, string name);
+ [CCode (cname = "anjuta_c_module_get_last_error")]
+ public bool get_last_error () throws GLib.Error;
+ }
+ [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ public class CPluginFactory : GLib.Object {
+ [CCode (cname = "anjuta_c_plugin_factory_new", has_construct_function = false)]
+ public CPluginFactory ();
+ [CCode (cname = "anjuta_c_plugin_factory_free")]
+ public void free ();
+ }
+ [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ public class CellRendererCaptionedImage : Gtk.CellRenderer {
+ public weak Gtk.CellRenderer caption;
+ public weak Gtk.CellRenderer image;
+ [CCode (type = "GtkCellRenderer*", has_construct_function = false)]
+ public CellRendererCaptionedImage ();
+ [NoAccessorMethod]
+ public Gdk.Pixbuf pixbuf { owned get; set; }
+ [NoAccessorMethod]
+ public string text { owned get; set; }
+ }
+ [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ public class ColumnTextView : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ [CCode (type = "GtkWidget*", has_construct_function = false)]
+ public ColumnTextView ();
+ public string get_text ();
+ }
+ [CCode (cheader_filename = "libanjuta/libanjuta.h")]
public class Command : GLib.Object {
public virtual void cancel ();
- public virtual unowned string get_error_message ();
+ public virtual string get_error_message ();
public bool is_running ();
public virtual void notify_complete (uint return_code);
public virtual void notify_data_arrived ();
@@ -38,29 +69,89 @@ namespace Anjuta {
public virtual signal void progress (float progress);
}
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ public class CommandBar : Gtk.Notebook, Atk.Implementor, Gtk.Buildable {
+ [CCode (type = "GtkWidget*", has_construct_function = false)]
+ public CommandBar ();
+ public void add_action_group (string group_name, Anjuta.CommandBarEntry entries, int num_entries, void* user_data);
+ public void remove_action_group (string group_name);
+ public void show_action_group (string group_name);
+ }
+ [CCode (cheader_filename = "libanjuta/libanjuta.h")]
public class CommandQueue : GLib.Object {
[CCode (has_construct_function = false)]
- public CommandQueue ();
+ public CommandQueue (Anjuta.CommandQueueExecuteMode mode);
public void push (Anjuta.Command command);
+ public bool start ();
+ public virtual signal void finished ();
+ }
+ [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ public class Dock : Gtk.Container, Atk.Implementor, Gtk.Buildable {
+ [CCode (type = "GtkWidget*", has_construct_function = false)]
+ public Dock ();
+ public void hide_pane (Anjuta.DockPane pane);
+ public void remove_pane (Anjuta.DockPane pane);
+ public void set_command_bar (Anjuta.CommandBar command_bar);
+ public void show_pane (Anjuta.DockPane pane);
+ }
+ [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ public class DockPane : GLib.Object {
+ public void notify_multiple_selection_changed ();
+ public void notify_single_selection_changed ();
+ public virtual void refresh ();
+ [NoAccessorMethod]
+ public Anjuta.Plugin plugin { owned get; set; }
+ public virtual signal void multiple_selection_changed ();
+ public virtual signal void single_selection_changed ();
+ }
+ [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ public class DropEntry : Anjuta.Entry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable {
+ [CCode (type = "GtkWidget*", has_construct_function = false)]
+ public DropEntry ();
}
[Compact]
- [CCode (copy_function = "anjuta_encoding_copy", type_id = "ANJUTA_TYPE_ENCODING", cheader_filename = "libanjuta/libanjuta.h")]
+ [CCode (copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "anjuta_encoding_get_type ()", cheader_filename = "libanjuta/libanjuta.h")]
public class Encoding {
- public unowned Anjuta.Encoding copy ();
+ public Anjuta.Encoding copy ();
+ public void free ();
public unowned string get_charset ();
- public static unowned Anjuta.Encoding get_current ();
- public static unowned Anjuta.Encoding get_from_charset (string charset);
- public static unowned Anjuta.Encoding get_from_index (int index);
public unowned string get_name ();
- public static unowned Anjuta.Encoding get_utf8 ();
- public unowned string to_string ();
+ public string to_string ();
+ }
+ [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ public class Entry : Gtk.Entry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable {
+ [CCode (type = "GtkWidget*", has_construct_function = false)]
+ public Entry ();
+ public string dup_text ();
+ public unowned string get_text ();
+ public bool is_showing_help_text ();
+ public void set_text (string text);
+ [NoAccessorMethod]
+ public string help_text { owned get; set; }
+ }
+ [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ public class FileDropEntry : Anjuta.DropEntry, Atk.Implementor, Gtk.Buildable, Gtk.CellEditable, Gtk.Editable {
+ [CCode (type = "GtkWidget*", has_construct_function = false)]
+ public FileDropEntry ();
+ public void set_relative_path (string path);
+ [NoAccessorMethod]
+ public string relative_path { }
+ }
+ [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ public class FileList : Gtk.VBox, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
+ [CCode (type = "GtkWidget*", has_construct_function = false)]
+ public FileList ();
+ public void clear ();
+ public void set_relative_path (string path);
+ [NoAccessorMethod]
+ public string relative_path { owned get; set; }
+ }
+ [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ public class GluePlugin : GLib.TypeModule {
}
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public class Launcher : GLib.Object {
[CCode (has_construct_function = false)]
public Launcher ();
- public bool execute (string command_str, Anjuta.LauncherOutputCallback callback, void* callback_data);
- public bool execute_v (string dir, string[] argv, string[] envp, Anjuta.LauncherOutputCallback callback, void* callback_data);
public int get_child_pid ();
public bool is_busy ();
public void reset ();
@@ -77,12 +168,11 @@ namespace Anjuta {
public virtual signal void child_exited (int child_pid, int exit_status, ulong time_taken_in_seconds);
}
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class PkgConfigChooser : Gtk.TreeView, Atk.Implementor, Gtk.Buildable {
+ public class PkgConfigChooser : Gtk.TreeView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public PkgConfigChooser ();
- public unowned GLib.List get_active_packages ();
- public unowned string get_selected_package ();
- public void set_active_packages (GLib.List packages);
+ public string get_selected_package ();
+ public void set_active_packages (GLib.List<weak void*> packages);
public void show_active_column (bool show_column);
public void show_active_only (bool show_selected);
public virtual signal void package_activated (string package);
@@ -91,7 +181,7 @@ namespace Anjuta {
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public class Plugin : GLib.Object {
public virtual bool activate ();
- public uint add_watch (string name, [CCode (delegate_target_pos = 3.1)] Anjuta.PluginValueAdded added, Anjuta.PluginValueRemoved removed);
+ public uint add_watch (string name, [CCode (delegate_target_pos = 3.1)] Anjuta.PluginValueAdded added, [CCode (delegate_target_pos = 3.1)] Anjuta.PluginValueRemoved removed);
public virtual bool deactivate ();
public bool is_active ();
public void remove_watch (uint id, bool send_remove);
@@ -100,23 +190,6 @@ namespace Anjuta {
public virtual signal void activated ();
public virtual signal void deactivated ();
}
- [Compact]
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class PluginDescription {
- [CCode (has_construct_function = false)]
- public PluginDescription (string filename) throws GLib.Error;
- public void foreach_key (string section_name, bool include_localized, Anjuta.PluginDescriptionLineFunc func);
- public void foreach_section (Anjuta.PluginDescriptionSectionFunc func);
- [CCode (has_construct_function = false)]
- public PluginDescription.from_string (string data) throws GLib.Error;
- public bool get_boolean (string section, string keyname, bool val);
- public bool get_integer (string section, string keyname, int val);
- public bool get_locale_string (string section, string keyname, string val);
- public bool get_raw (string section_name, string keyname, string locale, string val);
- public bool get_string (string section, string keyname, string val);
- public static GLib.Quark parse_error_quark ();
- public unowned string to_string ();
- }
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public class PluginHandle : GLib.Object {
[CCode (has_construct_function = false)]
@@ -124,13 +197,8 @@ namespace Anjuta {
public unowned string get_about ();
public bool get_can_load ();
public bool get_checked ();
- public unowned GLib.HashTable get_dependencies ();
- public unowned GLib.List get_dependency_names ();
- public unowned GLib.HashTable get_dependents ();
- public unowned Anjuta.PluginDescription get_description ();
public unowned string get_icon_path ();
public unowned string get_id ();
- public unowned GLib.List get_interfaces ();
public unowned string get_language ();
public unowned string get_name ();
public unowned string get_path ();
@@ -144,12 +212,17 @@ namespace Anjuta {
public string about { get; }
public bool can_load { get; }
public bool checked { get; }
+ [NoAccessorMethod]
public void* dependencies { get; }
+ [NoAccessorMethod]
public void* dependency_names { get; }
+ [NoAccessorMethod]
public void* dependents { get; }
+ [NoAccessorMethod]
public void* description { get; }
public string icon_path { get; }
public string id { get; }
+ [NoAccessorMethod]
public void* interfaces { get; }
public string language { get; }
public string name { get; }
@@ -161,21 +234,10 @@ namespace Anjuta {
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public class PluginManager : GLib.Object {
[CCode (has_construct_function = false)]
- public PluginManager (GLib.Object shell, Anjuta.Status status, GLib.List plugin_search_paths);
- public void activate_plugins (GLib.List plugin_descs);
- public static GLib.Quark error_quark ();
- public unowned GLib.List get_active_plugin_objects ();
- public unowned GLib.List get_active_plugins ();
- public unowned GLib.Object get_plugin (string iface_name);
- public unowned GLib.Object get_plugin_by_id (string plugin_id);
- public unowned Gtk.Widget get_plugins_page ();
- public unowned string get_remembered_plugins ();
- public unowned Gtk.Widget get_remembered_plugins_page ();
+ public PluginManager (GLib.Object shell, Anjuta.Status status, GLib.List<weak void*> plugin_search_paths);
+ public void activate_plugins (GLib.List<weak void*> plugin_descs);
+ public string get_remembered_plugins ();
public bool is_active_plugin (string iface_name);
- public unowned GLib.List list_query (GLib.List section_names, GLib.List attribute_names, GLib.List attribute_values);
- public unowned GLib.List query (string section_names, string attribute_names, string attribute_values);
- public unowned Anjuta.PluginDescription select (string title, string description, GLib.List plugin_descriptions);
- public unowned GLib.Object select_and_activate (string title, string description, GLib.List plugin_descriptions);
public void set_remembered_plugins (string remembered_plugins);
public void unload_all_plugins ();
public bool unload_plugin (GLib.Object plugin);
@@ -197,34 +259,12 @@ namespace Anjuta {
public class Preferences : GLib.Object {
[CCode (has_construct_function = false)]
public Preferences (Anjuta.PluginManager plugin_manager);
- public void add_from_builder (Gtk.Builder builder, string glade_widget_name, string title, string icon_filename);
- public static unowned Anjuta.Preferences @default ();
- public unowned string default_get (string key);
- public int default_get_bool (string key);
- public int default_get_int (string key);
- public void @foreach (Anjuta.PreferencesCallback callback, void* data);
- public unowned string @get (string key);
- public bool get_bool (string key);
- public bool get_bool_with_default (string key, bool default_value);
- public unowned Gtk.Widget get_dialog ();
- public int get_int (string key);
- public int get_int_with_default (string key, int default_value);
- public unowned string get_prefix ();
+ public void add_from_builder (Gtk.Builder builder, GLib.Settings settings, string glade_widget_name, string stitle, string icon_filename);
public bool is_dialog_created ();
- public uint notify_add_bool (string key, Anjuta.PreferencesNotifyBool func, void* data, GLib.FreeFunc destroy_notify);
- public uint notify_add_int (string key, Anjuta.PreferencesNotifyInt func, void* data, GLib.FreeFunc destroy_notify);
- public uint notify_add_string (string key, Anjuta.PreferencesNotify func, void* data, GLib.FreeFunc destroy_notify);
- public void notify_remove (uint notify_id);
- public void register_all_properties_from_builder_xml (Gtk.Builder builder, Gtk.Widget parent);
- public bool register_property_custom (Gtk.Widget object, string key, string default_value, Anjuta.PropertyDataType data_type, uint flags, GLib.Callback set_property, GLib.Callback get_property);
- public bool register_property_from_string (Gtk.Widget object, string property_desc);
- public bool register_property_raw (Gtk.Widget object, string key, string default_value, uint flags, Anjuta.PropertyObjectType object_type, Anjuta.PropertyDataType data_type);
+ public void register_all_properties_from_builder_xml (Gtk.Builder builder, GLib.Settings settings, Gtk.Widget parent);
+ public bool register_property_from_string (GLib.Settings settings, Gtk.Widget object, string property_desc);
+ public bool register_property_raw (GLib.Settings settings, Gtk.Widget object, string key, string default_value, uint flags, Anjuta.PropertyObjectType object_type, Anjuta.PropertyDataType data_type);
public void remove_page (string page_name);
- public void reset_defaults ();
- public void @set (string key, string value);
- public void set_bool (string key, bool value);
- public void set_int (string key, int value);
- public void sync_to_session ();
}
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public class PreferencesDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
@@ -239,9 +279,7 @@ namespace Anjuta {
public Profile (string name, Anjuta.PluginManager plugin_manager);
public void add_plugin (Anjuta.PluginDescription plugin);
public bool add_plugins_from_xml (GLib.File profile_xml_file, bool exclude_from_sync) throws GLib.Error;
- public static GLib.Quark error_quark ();
public unowned string get_name ();
- public unowned GLib.List get_plugins ();
public bool has_plugin (Anjuta.PluginDescription plugin);
public void remove_plugin (Anjuta.PluginDescription plugin);
public void set_sync_file (GLib.File sync_file);
@@ -263,7 +301,6 @@ namespace Anjuta {
[CCode (has_construct_function = false)]
public ProfileManager (Anjuta.PluginManager plugin_manager);
public void freeze ();
- public unowned Anjuta.Profile get_current ();
public bool pop (string profile_name) throws GLib.Error;
public bool push (Anjuta.Profile profile) throws GLib.Error;
public bool thaw () throws GLib.Error;
@@ -274,95 +311,65 @@ namespace Anjuta {
public virtual signal void profile_pushed (Anjuta.Profile profile);
public virtual signal void profile_scoped (Anjuta.Profile profile);
}
- [Compact]
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class ProjectGroup {
- public unowned GLib.File get_directory ();
- public unowned Anjuta.ProjectGroup get_node_from_file (GLib.File directory);
- public unowned Anjuta.ProjectGroup get_node_from_uri (string uri);
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class ProjectGroupData {
- public weak GLib.File directory;
- public weak Anjuta.ProjectNodeData node;
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class ProjectNode {
- public void all_foreach (Anjuta.ProjectNodeFunc func, void* data);
- public unowned Anjuta.ProjectNode append (Anjuta.ProjectNode node);
- public void children_foreach (Anjuta.ProjectNodeFunc func, void* data);
- public unowned Anjuta.ProjectNode first_child ();
- public unowned GLib.File get_file ();
+ public class ProjectNode : GLib.InitiallyUnowned {
+ public weak Anjuta.ProjectNode children;
+ public weak GLib.List<weak void*> custom_properties;
+ public weak GLib.List<weak void*> native_properties;
+ public weak Anjuta.ProjectNode next;
+ public weak Anjuta.ProjectNode parent;
+ public weak Anjuta.ProjectNode prev;
+ public void check ();
+ public bool clear_state (Anjuta.ProjectNodeState state);
+ public void dump ();
+ public Anjuta.ProjectNodeType get_full_type ();
public unowned string get_name ();
- public unowned string get_uri ();
- public unowned Anjuta.ProjectNode insert_after (Anjuta.ProjectNode sibling, Anjuta.ProjectNode node);
- public unowned Anjuta.ProjectNode insert_before (Anjuta.ProjectNode sibling, Anjuta.ProjectNode node);
- public unowned Anjuta.ProjectNode last_child ();
- public unowned Anjuta.ProjectNode next_sibling ();
- public unowned Anjuta.ProjectNode nth_child (uint n);
- public unowned Anjuta.ProjectNode parent ();
- public unowned Anjuta.ProjectNode prepend (Anjuta.ProjectNode node);
- public unowned Anjuta.ProjectNode prev_sibling ();
- public Anjuta.ProjectNodeType type ();
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class ProjectNodeData {
- public Anjuta.ProjectNodeType type;
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class ProjectSource {
- public unowned GLib.File get_file ();
- public static unowned Anjuta.ProjectSource get_node_from_file (Anjuta.ProjectNode parent, GLib.File file);
- public static unowned Anjuta.ProjectSource get_node_from_uri (Anjuta.ProjectNode parent, string uri);
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class ProjectSourceData {
- public weak GLib.File file;
- public weak Anjuta.ProjectNodeData node;
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class ProjectTarget {
- public unowned string get_name ();
- public static unowned Anjuta.ProjectTarget get_node_from_name (Anjuta.ProjectGroup parent, string name);
- public unowned Anjuta.ProjectTargetType type ();
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class ProjectTargetData {
- public weak string name;
- public weak Anjuta.ProjectNodeData node;
- public weak Anjuta.ProjectTargetType type;
+ public Anjuta.ProjectNodeType get_node_type ();
+ public Anjuta.ProjectProperty get_property (Anjuta.ProjectProperty property);
+ public Anjuta.ProjectNodeState get_state ();
+ public unowned Anjuta.ProjectNode insert_after (Anjuta.ProjectNode? sibling, Anjuta.ProjectNode node);
+ public unowned Anjuta.ProjectNode insert_before (Anjuta.ProjectNode? sibling, Anjuta.ProjectNode node);
+ public Anjuta.ProjectProperty insert_property (Anjuta.ProjectProperty native, Anjuta.ProjectProperty property);
+ public Anjuta.ProjectNode remove ();
+ public Anjuta.ProjectProperty remove_property (Anjuta.ProjectProperty property);
+ public bool set_state (Anjuta.ProjectNodeState state);
+ [NoAccessorMethod]
+ public GLib.File file { owned get; set; }
+ public string name { get; set; }
+ [NoAccessorMethod]
+ public void* project { get; set; }
+ public void* state { get; set; }
+ [NoAccessorMethod]
+ public void* type { get; set; }
+ public virtual signal void loaded (void* object, GLib.Error p0);
+ public virtual signal void updated (void* object, GLib.Error p0);
}
[Compact]
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class ProjectTargetInformation {
- public Anjuta.ProjectTargetClass @base;
+ [CCode (copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "anjuta_project_node_info_get_type ()", cheader_filename = "libanjuta/libanjuta.h")]
+ public class ProjectNodeInfo {
public weak string mime_type;
public weak string name;
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class ProjectTargetType {
- public Anjuta.ProjectTargetClass @class ();
+ public Anjuta.ProjectNodeType type;
+ public Anjuta.ProjectNodeInfo copy ();
+ public void free ();
public unowned string mime ();
- public unowned string name ();
}
[Compact]
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class Property {
- public unowned Gtk.Widget get_widget ();
+ [CCode (copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "anjuta_project_property_get_type ()", cheader_filename = "libanjuta/libanjuta.h")]
+ public class ProjectProperty {
+ public weak string detail;
+ public Anjuta.ProjectPropertyFlags flags;
+ public weak string name;
+ public weak Anjuta.ProjectProperty native;
+ public Anjuta.ProjectValueType type;
+ public weak string value;
+ public Anjuta.ProjectProperty copy ();
+ public void free ();
}
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public class SavePrompt : Gtk.MessageDialog, Atk.Implementor, Gtk.Buildable {
[CCode (has_construct_function = false)]
public SavePrompt (Gtk.Window parent);
- public void add_item (string item_name, string item_detail, void* item, Anjuta.SavePromptSaveFunc item_save_func);
public int get_items_count ();
}
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
@@ -389,13 +396,12 @@ namespace Anjuta {
public float get_float (string section, string key);
public int get_int (string section, string key);
public unowned string get_session_directory ();
- public unowned string get_session_filename ();
- public unowned string get_string (string section, string key);
- public unowned GLib.List get_string_list (string section, string key);
+ public string get_session_filename ();
+ public string get_string (string section, string key);
public void set_float (string section, string key, float value);
public void set_int (string section, string key, int value);
public void set_string (string section, string key, string value);
- public void set_string_list (string section, string key, GLib.List value);
+ public void set_string_list (string section, string key, GLib.List<weak void*> value);
public void sync ();
}
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
@@ -413,9 +419,6 @@ namespace Anjuta {
public void progress_pulse (string text);
public void progress_reset ();
public void progress_tick (Gdk.Pixbuf icon, string text);
- public void push (string mesg, ...);
- public void @set (string mesg, ...);
- public void set_default (string label, string value_format, ...);
public void set_splash (string splash_file, int splash_progress_position);
public void set_title (string title);
public void set_title_window (Gtk.Widget window);
@@ -429,11 +432,19 @@ namespace Anjuta {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public Tabber (Gtk.Notebook notebook);
public void add_tab (Gtk.Widget tab_label);
+ [NoAccessorMethod]
public GLib.Object notebook { construct; }
}
- [Compact]
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class TabberPriv {
+ public class TokenFile : GLib.Object {
+ [CCode (has_construct_function = false)]
+ public TokenFile (GLib.File file);
+ public void free ();
+ public bool get_token_location (Anjuta.TokenFileLocation location, Anjuta.Token token);
+ public void move (GLib.File new_file);
+ public bool save () throws GLib.Error;
+ public bool unload ();
+ public bool update (Anjuta.Token token);
}
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public class UI : Gtk.UIManager, Gtk.Buildable {
@@ -442,13 +453,7 @@ namespace Anjuta {
public void activate_action_by_group (Gtk.ActionGroup action_group, string action_name);
public void activate_action_by_path (string action_path);
public void add_action_group (string action_group_name, string action_group_label, Gtk.ActionGroup action_group, bool can_customize);
- public unowned Gtk.ActionGroup add_action_group_entries (string action_group_name, string action_group_label, Gtk.ActionEntry[] entries, string translation_domain, bool can_customize, void* user_data);
- public unowned Gtk.ActionGroup add_toggle_action_group_entries (string action_group_name, string action_group_label, Gtk.ToggleActionEntry entries, int num_entries, string translation_domain, bool can_customize);
public void dump_tree ();
- public unowned Gtk.Widget get_accel_editor ();
- public unowned Gtk.AccelGroup get_accel_group ();
- public unowned Gtk.Action get_action (string action_group_name, string action_name);
- public unowned Gtk.IconFactory get_icon_factory ();
public static void load_accels (string filename);
public int merge (string ui_filename);
public void remove_action_group (Gtk.ActionGroup action_group);
@@ -456,19 +461,12 @@ namespace Anjuta {
public void unload_accels ();
public void unmerge (int id);
}
- [Compact]
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class UtilStringMap {
- public weak string name;
- public int type;
- }
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public class VcsStatusTreeView : Gtk.TreeView, Atk.Implementor, Gtk.Buildable {
+ public class VcsStatusTreeView : Gtk.TreeView, Atk.Implementor, Gtk.Buildable, Gtk.Scrollable {
[CCode (type = "GtkWidget*", has_construct_function = false)]
public VcsStatusTreeView ();
public void add (string path, Anjuta.VcsStatus status, bool selected);
public void destroy ();
- public unowned GLib.List get_selected ();
public void select_all ();
public void unselect_all ();
[NoAccessorMethod]
@@ -480,22 +478,12 @@ namespace Anjuta {
}
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public interface Shell : GLib.Object {
- public void add (string first_name, ...);
- public void add_valist (string first_name, GLib.Type first_type, void* var_args);
public abstract void add_value (string name, GLib.Value value) throws GLib.Error;
public void add_widget (Gtk.Widget widget, string name, string title, string stock_id, Anjuta.ShellPlacement placement) throws GLib.Error;
public abstract void add_widget_custom (Gtk.Widget widget, string name, string title, string stock_id, Gtk.Widget label, Anjuta.ShellPlacement placement) throws GLib.Error;
public abstract void add_widget_full (Gtk.Widget widget, string name, string title, string stock_id, Anjuta.ShellPlacement placement, bool locked) throws GLib.Error;
- public static GLib.Quark error_quark ();
public void freeze () throws GLib.Error;
- public void @get (string first_name, ...);
public abstract unowned GLib.Object get_object (string iface_name) throws GLib.Error;
- public abstract unowned Anjuta.PluginManager get_plugin_manager () throws GLib.Error;
- public abstract unowned Anjuta.Preferences get_preferences () throws GLib.Error;
- public abstract unowned Anjuta.ProfileManager get_profile_manager () throws GLib.Error;
- public abstract unowned Anjuta.Status get_status () throws GLib.Error;
- public abstract unowned Anjuta.UI get_ui () throws GLib.Error;
- public void get_valist (string first_name, GLib.Type first_type, void* var_args);
public abstract void get_value (string name, GLib.Value value) throws GLib.Error;
public abstract void hide_dockable_widget (Gtk.Widget widget) throws GLib.Error;
public abstract void iconify_dockable_widget (Gtk.Widget widget) throws GLib.Error;
@@ -511,35 +499,146 @@ namespace Anjuta {
public abstract void show_dockable_widget (Gtk.Widget widget) throws GLib.Error;
public void thaw () throws GLib.Error;
public abstract void unmaximize () throws GLib.Error;
- public signal void exiting ();
- public signal void load_session (int phase, GLib.Object session);
+ public virtual signal void exiting ();
+ public virtual signal void load_session (int phase, GLib.Object session);
[HasEmitter]
- public signal void save_prompt (GLib.Object save_prompt);
- public signal void save_session (int phase, GLib.Object session);
- public signal void value_added (string name, GLib.Value value);
- public signal void value_removed (string name);
+ public virtual signal void save_prompt (GLib.Object save_prompt);
+ public virtual signal void save_session (int phase, GLib.Object session);
+ public virtual signal void value_added (string name, GLib.Value value);
+ public virtual signal void value_removed (string name);
}
- [CCode (cprefix = "ANJUTA_CONVERT_ERROR_AUTO_DETECTION_", cheader_filename = "libanjuta/libanjuta.h")]
- public enum ConvertError {
- FAILED
+ [CCode (type_id = "ANJUTA_TYPE_ASYNC_COMMAND_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct AsyncCommandPriv {
}
- [CCode (cprefix = "GBF_PROJECT_CAN_", cheader_filename = "libanjuta/libanjuta.h")]
- [Flags]
- public enum GbfProjectCapabilities {
- ADD_NONE,
- ADD_GROUP,
- ADD_TARGET,
- ADD_SOURCE,
- PACKAGES
- }
- [CCode (cprefix = "GBF_PROJECT_ERROR_", cheader_filename = "libanjuta/libanjuta.h")]
- public enum GbfProjectError {
- SUCCESS,
- DOESNT_EXIST,
- ALREADY_EXISTS,
- VALIDATION_FAILED,
- PROJECT_MALFORMED,
- GENERAL_FAILURE
+ [CCode (type_id = "ANJUTA_TYPE_ASYNC_NOTIFY_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct AsyncNotifyPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_COLUMN_TEXT_VIEW_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct ColumnTextViewPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_COMMAND_BAR_ENTRY", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct CommandBarEntry {
+ public Anjuta.CommandBarEntryType type;
+ public weak string action_name;
+ public weak string label;
+ public weak string tooltip;
+ public weak string stock_icon;
+ public weak GLib.Callback callback;
+ }
+ [CCode (type_id = "ANJUTA_TYPE_COMMAND_BAR_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct CommandBarPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_COMMAND_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct CommandPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_COMMAND_QUEUE_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct CommandQueuePriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_DOCK_PANE_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct DockPanePriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_DOCK_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct DockPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_ENTRY_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct EntryPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_FILE_DROP_ENTRY_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct FileDropEntryPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_FILE_LIST_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct FileListPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_LAUNCHER_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct LauncherPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_PLUGIN_DESCRIPTION", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct PluginDescription {
+ public void free ();
+ public bool get_boolean (string section, string keyname, bool val);
+ public bool get_integer (string section, string keyname, int val);
+ public bool get_locale_string (string section, string keyname, string val);
+ public bool get_raw (string section_name, string keyname, string locale, string val);
+ public bool get_string (string section, string keyname, string val);
+ public string to_string ();
+ }
+ [CCode (type_id = "ANJUTA_TYPE_PLUGIN_HANDLE_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct PluginHandlePriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_PLUGIN_MANAGER_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct PluginManagerPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_PREFERENCES_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct PreferencesPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_PROFILE_MANAGER_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct ProfileManagerPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_PROFILE_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct ProfilePriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_PROPERTY", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct Property {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_SESSION_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct SessionPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_STATUS_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct StatusPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_TABBER_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct TabberPriv {
+ }
+ [CCode (type_id = "ANJUTA_TYPE_TOKEN", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct Token {
+ public bool check ();
+ public void clear_flags (int flags);
+ public bool compare (Anjuta.Token tokenb);
+ public void dump ();
+ public void dump_link ();
+ public string evaluate ();
+ public int get_flags ();
+ public uint get_length ();
+ public unowned string get_string ();
+ public bool is_empty ();
+ public void set_flags (int flags);
+ public void set_string (string value, uint length);
+ public void set_type (int type);
+ }
+ [CCode (type_id = "ANJUTA_TYPE_TOKEN_FILE_LOCATION", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct TokenFileLocation {
+ public weak string filename;
+ public uint line;
+ public uint column;
+ }
+ [CCode (type_id = "ANJUTA_TYPE_TOKEN_STREAM", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct TokenStream {
+ public void append_token (Anjuta.Token token);
+ public int read (string buffer, size_t max_size);
+ }
+ [CCode (type_id = "ANJUTA_TYPE_TOKEN_STYLE", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct TokenStyle {
+ public void format (Anjuta.Token list);
+ public void free ();
+ public void update (Anjuta.Token list);
+ }
+ [CCode (type_id = "ANJUTA_TYPE_VCS_STATUS_TREE_VIEW_PRIV", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct VcsStatusTreeViewPriv {
+ }
+ [CCode (cname = "_AnjutaUtilStringMap", type_id = "ANJUTA_TYPE__UTILSTRINGMAP", cheader_filename = "libanjuta/libanjuta.h")]
+ public struct _UtilStringMap {
+ public int type;
+ public weak string name;
+ }
+ [CCode (cprefix = "ANJUTA_COMMAND_BAR_ENTRY_", cheader_filename = "libanjuta/libanjuta.h")]
+ public enum CommandBarEntryType {
+ FRAME,
+ BUTTON
+ }
+ [CCode (cprefix = "ANJUTA_COMMAND_QUEUE_EXECUTE_", cheader_filename = "libanjuta/libanjuta.h")]
+ public enum CommandQueueExecuteMode {
+ AUTOMATIC,
+ MANUAL
}
[CCode (cprefix = "ANJUTA_LAUNCHER_OUTPUT_", cheader_filename = "libanjuta/libanjuta.h")]
public enum LauncherOutputType {
@@ -547,36 +646,30 @@ namespace Anjuta {
STDERR,
PTY
}
- [CCode (cprefix = "ANJUTA_PLUGIN_DESCRIPTION_PARSE_ERROR_INVALID_", cheader_filename = "libanjuta/libanjuta.h")]
- public enum PluginDescriptionParseError {
- SYNTAX,
- ESCAPES,
- CHARS
- }
- [CCode (cprefix = "ANJUTA_PLUGIN_MANAGER_", cheader_filename = "libanjuta/libanjuta.h")]
- public enum PluginManagerError {
- MISSING_FACTORY,
- ERROR_UNKNOWN
- }
- [CCode (cprefix = "ANJUTA_PROFILE_ERROR_URI_", cheader_filename = "libanjuta/libanjuta.h")]
- public enum ProfileError {
- READ_FAILED,
- WRITE_FAILED
+ [CCode (cprefix = "ANJUTA_PROJECT_", cheader_filename = "libanjuta/libanjuta.h")]
+ [Flags]
+ public enum ProjectNodeState {
+ OK,
+ MODIFIED,
+ INCOMPLETE,
+ LOADING,
+ REMOVED,
+ CAN_ADD_GROUP,
+ CAN_ADD_TARGET,
+ CAN_ADD_SOURCE,
+ CAN_ADD_MODULE,
+ CAN_ADD_PACKAGE,
+ CAN_REMOVE,
+ CAN_SAVE,
+ REMOVE_FILE
}
[CCode (cprefix = "ANJUTA_PROJECT_", cheader_filename = "libanjuta/libanjuta.h")]
+ [Flags]
public enum ProjectNodeType {
UNKNOWN,
- GROUP,
- TARGET,
- SOURCE,
- VARIABLE
- }
- [CCode (cprefix = "ANJUTA_TARGET_", cheader_filename = "libanjuta/libanjuta.h")]
- public enum ProjectTargetClass {
- UNKNOWN,
SHAREDLIB,
STATICLIB,
- EXECUTABLE,
+ PROGRAM,
PYTHON,
JAVA,
LISP,
@@ -590,7 +683,35 @@ namespace Anjuta {
CONFIGURE,
IDL,
MKENUMS,
- GENMARSHAL
+ GENMARSHAL,
+ SCRIPT,
+ PROXY,
+ PROJECT,
+ PRIMARY,
+ EXECUTABLE,
+ ID_MASK,
+ FLAG_MASK,
+ TYPE_MASK,
+ ROOT,
+ GROUP,
+ TARGET,
+ SOURCE,
+ MODULE,
+ PACKAGE,
+ VARIABLE
+ }
+ [CCode (cprefix = "ANJUTA_PROJECT_PROPERTY_READ_", cheader_filename = "libanjuta/libanjuta.h")]
+ [Flags]
+ public enum ProjectPropertyFlags {
+ ONLY,
+ WRITE
+ }
+ [CCode (cprefix = "ANJUTA_PROJECT_PROPERTY_", cheader_filename = "libanjuta/libanjuta.h")]
+ public enum ProjectValueType {
+ STRING,
+ LIST,
+ BOOLEAN,
+ MAP
}
[CCode (cprefix = "ANJUTA_PROPERTY_DATA_TYPE_", cheader_filename = "libanjuta/libanjuta.h")]
public enum PropertyDataType {
@@ -606,7 +727,6 @@ namespace Anjuta {
SPIN,
ENTRY,
COMBO,
- TEXT,
COLOR,
FONT,
FILE,
@@ -625,10 +745,6 @@ namespace Anjuta {
LAST,
END
}
- [CCode (cprefix = "ANJUTA_SHELL_ERROR_DOESNT_", cheader_filename = "libanjuta/libanjuta.h")]
- public enum ShellError {
- EXIST
- }
[CCode (cprefix = "ANJUTA_SHELL_PLACEMENT_", cheader_filename = "libanjuta/libanjuta.h")]
public enum ShellPlacement {
NONE,
@@ -639,6 +755,57 @@ namespace Anjuta {
CENTER,
FLOATING
}
+ [CCode (cprefix = "ANJUTA_TOKEN_", cheader_filename = "libanjuta/libanjuta.h")]
+ [Flags]
+ public enum TokenType {
+ NONE,
+ EOL,
+ COMMA,
+ TYPE,
+ FIRST,
+ FILE,
+ MACRO,
+ CONTENT,
+ ARGUMENT,
+ VALUE,
+ EOV,
+ PARSED,
+ KEYWORD,
+ OPERATOR,
+ NAME,
+ VARIABLE,
+ DEFINITION,
+ STATEMENT,
+ NUMBER,
+ JUNK,
+ COMMENT,
+ OPEN_QUOTE,
+ CLOSE_QUOTE,
+ ESCAPE,
+ FUNCTION,
+ SPACE,
+ START,
+ NEXT,
+ LAST,
+ ITEM,
+ STRING,
+ ERROR,
+ WORD,
+ LIST,
+ ANY,
+ USER,
+ FLAGS,
+ PUBLIC_FLAGS,
+ IRRELEVANT,
+ OPEN,
+ CLOSE,
+ SIGNIFICANT,
+ PRIVATE_FLAGS,
+ CASE_INSENSITIVE,
+ STATIC,
+ REMOVED,
+ ADDED
+ }
[CCode (cprefix = "ANJUTA_VCS_STATUS_", cheader_filename = "libanjuta/libanjuta.h")]
[Flags]
public enum VcsStatus {
@@ -650,164 +817,165 @@ namespace Anjuta {
LOCKED,
MISSING,
UNVERSIONED,
- IGNORED
+ IGNORED,
+ ALL
}
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ [CCode (cprefix = "CONVERT_ERROR_", cheader_filename = "libanjuta/libanjuta.h")]
+ public errordomain ConvertError {
+ FAILED,
+ }
+ [CCode (cprefix = "PLUGIN_DESCRIPTION_PARSE_ERROR_", cheader_filename = "libanjuta/libanjuta.h")]
+ public errordomain PluginDescriptionParseError {
+ SYNTAX,
+ ESCAPES,
+ CHARS,
+ }
+ [CCode (cprefix = "PLUGIN_MANAGER_ERROR_", cheader_filename = "libanjuta/libanjuta.h")]
+ public errordomain PluginManagerError {
+ MISSING_FACTORY,
+ ERROR_UNKNOWN,
+ }
+ [CCode (cprefix = "PROFILE_ERROR_", cheader_filename = "libanjuta/libanjuta.h")]
+ public errordomain ProfileError {
+ READ_FAILED,
+ WRITE_FAILED,
+ }
+ [CCode (cprefix = "SHELL_ERROR_", cheader_filename = "libanjuta/libanjuta.h")]
+ public errordomain ShellError {
+ EXIST,
+ }
+ [CCode (cheader_filename = "libanjuta/libanjuta.h", instance_pos = 3.9)]
public delegate void LauncherOutputCallback (Anjuta.Launcher launcher, Anjuta.LauncherOutputType output_type, string chars);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public delegate void PluginDescriptionLineFunc (Anjuta.PluginDescription df, string key, string locale, string value);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ [CCode (cheader_filename = "libanjuta/libanjuta.h", has_target = false)]
+ public delegate void PluginDescriptionLineFunc (Anjuta.PluginDescription df, string key, string locale, string value, void* data);
+ [CCode (cheader_filename = "libanjuta/libanjuta.h", instance_pos = 2.9)]
public delegate void PluginDescriptionSectionFunc (Anjuta.PluginDescription df, string name);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ [CCode (cheader_filename = "libanjuta/libanjuta.h", instance_pos = 3.9)]
public delegate void PluginValueAdded (Anjuta.Plugin plugin, string name, GLib.Value value);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ [CCode (cheader_filename = "libanjuta/libanjuta.h", instance_pos = 2.9)]
public delegate void PluginValueRemoved (Anjuta.Plugin plugin, string name);
+ [CCode (cheader_filename = "libanjuta/libanjuta.h", has_target = false)]
+ public delegate bool PreferencesCallback (Anjuta.Preferences pr, string key, void* data);
+ [CCode (cheader_filename = "libanjuta/libanjuta.h", has_target = false)]
+ public delegate void ProjectNodeForeachFunc (Anjuta.ProjectNode node, void* data);
+ [CCode (cheader_filename = "libanjuta/libanjuta.h", has_target = false)]
+ public delegate bool ProjectNodeTraverseFunc (Anjuta.ProjectNode node, void* data);
+ [CCode (cheader_filename = "libanjuta/libanjuta.h", instance_pos = 2.9)]
+ public delegate bool SavePromptSaveFunc (Anjuta.SavePrompt save_prompt, void* item);
+ [CCode (cheader_filename = "libanjuta/libanjuta.h", has_target = false)]
+ public delegate void TokenForeachFunc (Anjuta.Token token, void* data);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public delegate bool PreferencesCallback (Anjuta.Preferences pr, string key);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public delegate void PreferencesNotify (Anjuta.Preferences pr, string key, string value);
+ public const string PLUGIN_REGISTRATION;
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public delegate void PreferencesNotifyBool (Anjuta.Preferences pr, string key, bool value);
+ public const int VCS_DEFAULT_STATUS_CODES;
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public delegate void PreferencesNotifyInt (Anjuta.Preferences pr, string key, int value);
+ public static void cclosure_marshal_VOID__BOXED_ENUM (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public delegate void ProjectNodeFunc (Anjuta.ProjectNode node);
+ public static void cclosure_marshal_VOID__INT_INT_ULONG (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public delegate bool SavePromptSaveFunc (Anjuta.SavePrompt save_prompt, void* item);
+ public static void cclosure_marshal_VOID__INT_OBJECT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public const int LIBANJUTA_MAJOR_VERSION;
+ public static void cclosure_marshal_VOID__INT_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public const int LIBANJUTA_MICRO_VERSION;
+ public static void cclosure_marshal_VOID__POINTER_OBJECT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public const int LIBANJUTA_MINOR_VERSION;
+ public static void cclosure_marshal_VOID__STRING_BOXED (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public const int LIBANJUTA_VERSION_HEX;
+ public static void cclosure_marshal_VOID__STRING_INT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public const string LIBANJUTA_VERSION_S;
+ public static void cclosure_marshal_VOID__STRING_INT_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public const int VCS_DEFAULT_STATUS_CODES;
+ public static void cclosure_marshal_VOID__STRING_POINTER (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public static GLib.Quark convert_error_quark ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string convert_from_utf8 (string content, size_t len, Anjuta.Encoding encoding, size_t new_len) throws GLib.Error;
+ public static string convert_from_utf8 (string content, size_t len, Anjuta.Encoding encoding, size_t new_len) throws GLib.Error;
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string convert_to_utf8 (string content, size_t len, out unowned Anjuta.Encoding encoding, size_t new_len) throws GLib.Error;
+ public static string convert_to_utf8 (string content, size_t len, Anjuta.Encoding encoding, size_t new_len) throws GLib.Error;
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public static void debug_init ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string res_get_data_dir ();
+ public static unowned Anjuta.Encoding encoding_get_current ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string res_get_data_file (string pixfile);
+ public static unowned Anjuta.Encoding encoding_get_from_charset (string charset);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string res_get_doc_dir ();
+ public static unowned Anjuta.Encoding encoding_get_from_index (int index);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string res_get_doc_file (string docfile);
+ public static unowned Anjuta.Encoding encoding_get_utf8 ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string res_get_help_dir ();
+ public static bool pkg_config_ignore_package (string name);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string res_get_help_dir_locale (string locale);
+ public static GLib.Quark plugin_description_parse_error_quark ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string res_get_help_file (string helpfile);
+ public static GLib.Quark plugin_manager_error_quark ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string res_get_help_file_locale (string helpfile, string locale);
+ public static GLib.Quark profile_error_quark ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned Gtk.Widget res_get_image (string filename);
+ public static string res_get_data_dir ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned Gtk.Widget res_get_image_sized (string filename, int width, int height);
+ public static string res_get_data_file (string pixfile);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string res_get_pixmap_dir ();
+ public static string res_get_doc_dir ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string res_get_pixmap_file (string pixfile);
+ public static string res_get_doc_file (string docfile);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static void res_help_search (string word);
+ public static string res_get_help_dir ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned Gtk.Widget res_lookup_widget (Gtk.Widget widget, string widget_name);
+ public static string res_get_help_dir_locale (string locale);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static void res_url_show (string url);
+ public static string res_get_help_file (string helpfile);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static void status (Anjuta.Status status, string mesg, int timeout);
+ public static string res_get_help_file_locale (string helpfile, string locale);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static bool util_builder_get_objects (Gtk.Builder builder, ...);
+ public static string res_get_pixmap_dir ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned Gtk.Builder util_builder_new (string filename) throws GLib.Error;
+ public static string res_get_pixmap_file (string pixfile);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned Gtk.Widget util_button_new_with_stock_image (string text, string stock_id);
+ public static void res_help_search (string word);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static void util_color_from_string (string val, uint16 r, uint16 g, uint16 b);
+ public static void res_url_show (string url);
+ [CCode (cheader_filename = "libanjuta/libanjuta.h")]
+ public static GLib.Quark shell_error_quark ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.List util_convert_gfile_list_to_path_list (GLib.List list);
+ public static int token_get_type (Anjuta.Token token);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.List util_convert_gfile_list_to_relative_path_list (GLib.List list, string parent);
+ public static void util_color_from_string (string val, uint16 r, uint16 g, uint16 b);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_convert_to_utf8 (string str);
+ public static string util_convert_to_utf8 (string str);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public static bool util_copy_file (string src, string dest, bool show_error);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public static bool util_create_dir (string d);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned Gtk.Widget util_dialog_add_button (Gtk.Dialog dialog, string text, string stock_id, int response_id);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static bool util_dialog_boolean_question (Gtk.Window parent, string mesg);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static void util_dialog_error (Gtk.Window parent, string mesg);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static void util_dialog_error_system (Gtk.Window parent, int errnum, string mesg);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static void util_dialog_info (Gtk.Window parent, string mesg);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
public static bool util_dialog_input (Gtk.Window parent, string label, string default_value, string value);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static void util_dialog_warning (Gtk.Window parent, string mesg);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
public static bool util_diff (string uri, string text);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_escape_quotes (string str);
+ public static string util_escape_quotes (string str);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public static int util_execute_shell (string dir, string command);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public static int util_execute_terminal_shell (string dir, string command);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.File util_file_new_for_commandline_arg (string arg);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_get_a_tmp_file ();
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_get_current_dir ();
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_get_file_mime_type (GLib.File file);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_get_local_path_from_uri (string uri);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_get_real_path (string path);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.File util_get_user_cache_file (string path);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_get_user_cache_file_path (string path);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.File util_get_user_config_file (string path);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_get_user_config_file_path (string path);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.File util_get_user_data_file (string path);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_get_user_data_file_path (string path);
+ public static string util_get_a_tmp_file ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.List util_glist_from_map (Anjuta.UtilStringMap map);
+ public static string util_get_current_dir ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.List util_glist_from_string (string id);
+ public static string util_get_file_mime_type (GLib.File file);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.List util_glist_path_dedup (GLib.List list);
+ public static string util_get_local_path_from_uri (string uri);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.List util_glist_strings_dup (GLib.List list);
+ public static string util_get_real_path (string path);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static void util_glist_strings_free (GLib.List list);
+ public static string util_get_user_mail ();
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_glist_strings_join (GLib.List list, string delimiter);
+ public static void util_glist_strings_free (GLib.List<weak void*> list);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static void util_glist_strings_prefix (GLib.List list, string prefix);
+ public static string util_glist_strings_join (GLib.List<weak void*> list, string delimiter);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.List util_glist_strings_sort (GLib.List list);
+ public static void util_glist_strings_prefix (GLib.List<weak void*> list, string prefix);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static void util_glist_strings_sufix (GLib.List list, string sufix);
+ public static void util_glist_strings_sufix (GLib.List<weak void*> list, string sufix);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public static void util_help_display (Gtk.Widget parent, string doc_id, string file_name);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
@@ -819,119 +987,29 @@ namespace Anjuta {
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
public static bool util_package_is_installed (string lib, bool show);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.List util_parse_args_from_string (string str);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
public static bool util_prog_is_installed (string prog, bool show);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_replace_home_dir_with_tilde (string uri);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_shell_expand (string str);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_str_middle_truncate (string str, uint truncate_length);
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_string_from_color (uint16 r, uint16 g, uint16 b);
+ public static string util_replace_home_dir_with_tilde (string uri);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_string_from_type (Anjuta.UtilStringMap map, int type);
+ public static string util_shell_expand (string string);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static int util_type_from_string (Anjuta.UtilStringMap map, string str);
+ public static string util_str_middle_truncate (string string, uint truncate_length);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.List util_update_string_list (GLib.List p_list, string p_str, int length);
+ public static string util_string_from_color (uint16 r, uint16 g, uint16 b);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_uri_get_dirname (string uri);
+ public static string util_uri_get_dirname (string uri);
[CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_user_shell ();
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned string util_user_terminal ();
- [CCode (cheader_filename = "libanjuta/libanjuta.h")]
- public static unowned GLib.SList utils_drop_get_files (Gtk.SelectionData selection_data);
+ public static string util_user_shell ();
}
/* libanjuta-interfaces.vapi generated by vapigen, do not modify. */
-[CCode (cprefix = "IAnjuta", lower_case_cprefix = "ianjuta_")]
+[CCode (cprefix = "IAnjuta", lower_case_cprefix = "ianjuta_", gir_namespace = "IAnjuta", gir_version = "3.0")]
namespace IAnjuta {
- [Compact]
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
- public class BuilderHandle {
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
- public class DebuggerBreakpointItem {
- public ulong address;
- public weak string condition;
- public bool enable;
- public weak string file;
- public weak string function;
- public uint id;
- public uint ignore;
- public uint line;
- public bool pending;
- public bool temporary;
- public uint times;
- public int type;
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
- public class DebuggerFrame {
- public ulong address;
- public weak string args;
- public weak string file;
- public weak string function;
- public uint level;
- public weak string library;
- public uint line;
- public int thread;
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
- public class DebuggerInstructionALine {
- public ulong address;
- public weak string label;
- public weak string text;
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
- public class DebuggerInstructionDisassembly {
- [CCode (array_length = false)]
- public weak IAnjuta.DebuggerInstructionALine[] data;
- public uint size;
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
- public class DebuggerMemoryBlock {
- public ulong address;
- public weak string data;
- public uint length;
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
- public class DebuggerRegisterData {
- public weak string name;
- public uint num;
- public weak string value;
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
- public class DebuggerVariableObject {
- public bool changed;
- public int children;
- public bool deleted;
- public bool exited;
- public weak string expression;
- public bool has_more;
- public weak string name;
- public weak string type;
- public weak string value;
- }
- [Compact]
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
- public class LanguageId {
- }
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Buildable : GLib.Object {
public abstract void build (string uri) throws GLib.Error;
public abstract void clean (string uri) throws GLib.Error;
public abstract void configure (string uri) throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract void execute (string uri) throws GLib.Error;
public abstract void generate (string uri) throws GLib.Error;
public abstract unowned string get_command (IAnjuta.BuildableCommand command_id) throws GLib.Error;
@@ -941,65 +1019,42 @@ namespace IAnjuta {
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Builder : GLib.Object {
- public abstract unowned IAnjuta.BuilderHandle build (string uri, IAnjuta.BuilderCallback callback) throws GLib.Error;
public abstract void cancel (IAnjuta.BuilderHandle handle) throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract unowned string get_uri_configuration (string uri) throws GLib.Error;
- public abstract unowned IAnjuta.BuilderHandle is_built (string uri, IAnjuta.BuilderCallback callback) throws GLib.Error;
- public abstract unowned GLib.List list_configuration () throws GLib.Error;
+ public abstract GLib.List<weak string> list_configuration () throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface DebugManager : GLib.Object {
- public static GLib.Quark error_quark ();
public abstract bool quit () throws GLib.Error;
public abstract bool start (string uri) throws GLib.Error;
public abstract bool start_remote (string server, string uri) throws GLib.Error;
- public signal void breakpoint_changed (void* breakpoint);
- public signal void debugger_started ();
- public signal void debugger_stopped (GLib.Error err);
- public signal void frame_changed (uint frame, int thread);
- public signal void location_changed (ulong address, string uri, uint line);
- public signal void program_exited ();
- public signal void program_loaded ();
- public signal void program_moved (int pid, int tid, ulong address, string file, uint line);
- public signal void program_running ();
- public signal void program_started ();
- public signal void program_stopped ();
- public signal void program_unloaded ();
- public signal void sharedlib_event ();
- public signal void signal_received (string name, string description);
+ public virtual signal void breakpoint_changed (void* breakpoint);
+ public virtual signal void debugger_started ();
+ public virtual signal void debugger_stopped (GLib.Error err);
+ public virtual signal void frame_changed (uint frame, int thread);
+ public virtual signal void location_changed (ulong address, string uri, uint line);
+ public virtual signal void program_exited ();
+ public virtual signal void program_loaded ();
+ public virtual signal void program_moved (int pid, int tid, ulong address, string file, uint line);
+ public virtual signal void program_running ();
+ public virtual signal void program_started ();
+ public virtual signal void program_stopped ();
+ public virtual signal void program_unloaded ();
+ public virtual signal void sharedlib_event ();
+ public virtual signal void signal_received (string name, string description);
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Debugger : GLib.Object {
public abstract bool abort () throws GLib.Error;
- public abstract bool attach (int pid, GLib.List source_search_directories) throws GLib.Error;
- public abstract bool callback (IAnjuta.DebuggerCallback callback) throws GLib.Error;
+ public abstract bool attach (int pid, GLib.List<weak string> source_search_directories) throws GLib.Error;
public abstract bool connect (string server, string args, bool terminal, bool stop) throws GLib.Error;
public abstract void disable_log () throws GLib.Error;
- public abstract bool dump_stack_trace (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
public abstract void enable_log (IAnjuta.MessageView log) throws GLib.Error;
- public static GLib.Quark error_quark ();
- public abstract bool evaluate (string name, string value, IAnjuta.DebuggerGCharCallback callback) throws GLib.Error;
public abstract bool exit () throws GLib.Error;
public abstract IAnjuta.DebuggerState get_state () throws GLib.Error;
public abstract bool handle_signal (string name, bool stop, bool print, bool ignore) throws GLib.Error;
- public abstract bool info_args (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool info_frame (uint frame, IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool info_program (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool info_sharedlib (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool info_signal (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool info_target (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool info_thread (int thread, IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool info_udot (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool info_variables (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool inspect (string name, IAnjuta.DebuggerGCharCallback callback) throws GLib.Error;
public abstract bool interrupt () throws GLib.Error;
- public abstract bool list_argument (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool list_frame (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool list_local (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool list_thread (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool load (string file, string mime_type, GLib.List source_search_directories) throws GLib.Error;
- public abstract bool print (string variable, IAnjuta.DebuggerGCharCallback callback) throws GLib.Error;
+ public abstract bool load (string file, string mime_type, GLib.List<weak string> source_search_directories) throws GLib.Error;
public abstract bool quit () throws GLib.Error;
public abstract bool run () throws GLib.Error;
public abstract bool run_from (string file, int line) throws GLib.Error;
@@ -1014,35 +1069,24 @@ namespace IAnjuta {
public abstract bool step_out () throws GLib.Error;
public abstract bool step_over () throws GLib.Error;
public abstract bool unload () throws GLib.Error;
- public signal void debugger_ready (IAnjuta.DebuggerState state);
- public signal void debugger_started ();
- public signal void debugger_stopped (GLib.Error err);
- public signal void frame_changed (uint frame, int thread);
- public signal void program_exited ();
- public signal void program_loaded ();
- public signal void program_moved (int pid, int tid, ulong address, string file, uint line);
- public signal void program_running ();
- public signal void program_stopped ();
- public signal void sharedlib_event ();
- public signal void signal_received (string name, string description);
+ public virtual signal void debugger_ready (IAnjuta.DebuggerState state);
+ public virtual signal void debugger_started ();
+ public virtual signal void debugger_stopped (GLib.Error err);
+ public virtual signal void frame_changed (uint frame, int thread);
+ public virtual signal void program_exited ();
+ public virtual signal void program_loaded ();
+ public virtual signal void program_moved (int pid, int tid, ulong address, string file, uint line);
+ public virtual signal void program_running ();
+ public virtual signal void program_stopped ();
+ public virtual signal void sharedlib_event ();
+ public virtual signal void signal_received (string name, string description);
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface DebuggerBreakpoint : IAnjuta.Debugger, GLib.Object {
- public abstract bool clear_breakpoint (uint id, IAnjuta.DebuggerBreakpointCallback callback) throws GLib.Error;
- public abstract bool condition_breakpoint (uint id, string condition, IAnjuta.DebuggerBreakpointCallback callback) throws GLib.Error;
- public abstract bool enable_breakpoint (uint id, bool enable, IAnjuta.DebuggerBreakpointCallback callback) throws GLib.Error;
- public static GLib.Quark error_quark ();
- public abstract bool ignore_breakpoint (uint id, uint ignore, IAnjuta.DebuggerBreakpointCallback callback) throws GLib.Error;
public abstract int implement_breakpoint () throws GLib.Error;
- public abstract bool list_breakpoint (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool set_breakpoint_at_address (ulong address, IAnjuta.DebuggerBreakpointCallback callback) throws GLib.Error;
- public abstract bool set_breakpoint_at_function (string file, string function, IAnjuta.DebuggerBreakpointCallback callback) throws GLib.Error;
- public abstract bool set_breakpoint_at_line (string file, uint line, IAnjuta.DebuggerBreakpointCallback callback) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface DebuggerInstruction : IAnjuta.Debugger, GLib.Object {
- public abstract bool disassemble (ulong address, uint length, IAnjuta.DebuggerInstructionCallback callback) throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract bool run_from_address (ulong address) throws GLib.Error;
public abstract bool run_to_address (ulong address) throws GLib.Error;
public abstract bool step_in_instruction () throws GLib.Error;
@@ -1050,25 +1094,15 @@ namespace IAnjuta {
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface DebuggerMemory : IAnjuta.Debugger, GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract bool inspect (ulong address, uint length, IAnjuta.DebuggerMemoryCallback callback) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface DebuggerRegister : IAnjuta.Debugger, GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract bool list_register (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool update_register (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
public abstract bool write_register (IAnjuta.DebuggerRegisterData value) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface DebuggerVariable : IAnjuta.Debugger, GLib.Object {
public abstract bool assign (string name, string value) throws GLib.Error;
- public abstract bool create (string expression, IAnjuta.DebuggerVariableCallback callback) throws GLib.Error;
public abstract bool destroy (string name) throws GLib.Error;
- public static GLib.Quark error_quark ();
- public abstract bool evaluate (string name, IAnjuta.DebuggerGCharCallback callback) throws GLib.Error;
- public abstract bool list_children (string name, uint from, IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
- public abstract bool update (IAnjuta.DebuggerGListCallback callback) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Document : GLib.Object {
@@ -1079,26 +1113,18 @@ namespace IAnjuta {
public abstract void copy () throws GLib.Error;
public abstract void cut () throws GLib.Error;
public abstract void end_undo_action () throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract unowned string get_filename () throws GLib.Error;
public abstract void grab_focus () throws GLib.Error;
public abstract void paste () throws GLib.Error;
public abstract void redo () throws GLib.Error;
public abstract void undo () throws GLib.Error;
- public signal void update_ui ();
+ public virtual signal void update_ui ();
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface DocumentManager : GLib.Object {
public abstract void add_bookmark (GLib.File file, int line) throws GLib.Error;
- public abstract unowned IAnjuta.Editor add_buffer (string name, string content) throws GLib.Error;
public abstract void add_document (IAnjuta.Document document) throws GLib.Error;
- public static GLib.Quark error_quark ();
- public abstract unowned IAnjuta.Document find_document_with_file (GLib.File file) throws GLib.Error;
- public abstract unowned IAnjuta.Document get_current_document () throws GLib.Error;
- public abstract unowned GLib.List get_doc_widgets () throws GLib.Error;
- public abstract unowned GLib.File get_file (string filename) throws GLib.Error;
- public abstract unowned IAnjuta.Editor goto_file_line (GLib.File file, int lineno) throws GLib.Error;
- public abstract unowned IAnjuta.Editor goto_file_line_mark (GLib.File file, int lineno, bool mark) throws GLib.Error;
+ public abstract GLib.List<weak Gtk.Widget> get_doc_widgets () throws GLib.Error;
public abstract bool remove_document (IAnjuta.Document document, bool save_before) throws GLib.Error;
public abstract void set_current_document (IAnjuta.Document document) throws GLib.Error;
}
@@ -1107,138 +1133,110 @@ namespace IAnjuta {
public abstract void append (string text, int length) throws GLib.Error;
public abstract void erase (IAnjuta.Iterable position_start, IAnjuta.Iterable position_end) throws GLib.Error;
public abstract void erase_all () throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract int get_column () throws GLib.Error;
- public abstract unowned string get_current_word () throws GLib.Error;
- public abstract unowned IAnjuta.Iterable get_end_position () throws GLib.Error;
+ public abstract string get_current_word () throws GLib.Error;
public abstract int get_length () throws GLib.Error;
- public abstract unowned IAnjuta.Iterable get_line_begin_position (int line) throws GLib.Error;
- public abstract unowned IAnjuta.Iterable get_line_end_position (int line) throws GLib.Error;
+ public abstract IAnjuta.Iterable get_line_begin_position (int line) throws GLib.Error;
public abstract int get_line_from_position (IAnjuta.Iterable position) throws GLib.Error;
public abstract int get_lineno () throws GLib.Error;
public abstract int get_offset () throws GLib.Error;
public abstract bool get_overwrite () throws GLib.Error;
- public abstract unowned IAnjuta.Iterable get_position () throws GLib.Error;
- public abstract unowned IAnjuta.Iterable get_position_from_offset (int offset) throws GLib.Error;
- public abstract unowned IAnjuta.Iterable get_start_position () throws GLib.Error;
+ public abstract IAnjuta.Iterable get_position () throws GLib.Error;
public abstract int get_tabsize () throws GLib.Error;
- public abstract unowned string get_text (IAnjuta.Iterable begin, IAnjuta.Iterable end) throws GLib.Error;
- public abstract unowned string get_text_all () throws GLib.Error;
+ public abstract string get_text (IAnjuta.Iterable begin, IAnjuta.Iterable end) throws GLib.Error;
+ public abstract string get_text_all () throws GLib.Error;
public abstract bool get_use_spaces () throws GLib.Error;
- [NoWrapper]
public abstract void goto_end () throws GLib.Error;
- [NoWrapper]
public abstract void goto_line (int lineno) throws GLib.Error;
- [NoWrapper]
public abstract void goto_position (IAnjuta.Iterable position) throws GLib.Error;
- [NoWrapper]
public abstract void goto_start () throws GLib.Error;
public abstract void insert (IAnjuta.Iterable position, string text, int length) throws GLib.Error;
public abstract void set_auto_indent (bool auto_indent) throws GLib.Error;
public abstract void set_popup_menu (Gtk.Widget menu) throws GLib.Error;
public abstract void set_tabsize (int tabsize) throws GLib.Error;
public abstract void set_use_spaces (bool use_spaces) throws GLib.Error;
- public signal void backspace ();
- public signal void changed (GLib.Object position, bool added, int length, int lines, string text);
- public signal void char_added (GLib.Object position, char ch);
- public signal void line_marks_gutter_clicked (int location);
+ public virtual signal void backspace ();
+ public virtual signal void changed (GLib.Object position, bool added, int length, int lines, string text);
+ public virtual signal void char_added (GLib.Object position, char ch);
+ public virtual signal void cursor_moved ();
+ public virtual signal void line_marks_gutter_clicked (int location);
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorAssist : IAnjuta.Editor, GLib.Object {
public abstract void add (IAnjuta.Provider provider) throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract void invoke (IAnjuta.Provider provider) throws GLib.Error;
- public abstract void proposals (IAnjuta.Provider provider, GLib.List proposals, bool finished) throws GLib.Error;
+ public abstract void proposals (IAnjuta.Provider provider, GLib.List<weak IAnjuta.EditorAssistProposal> proposals, bool finished) throws GLib.Error;
public abstract void remove (IAnjuta.Provider provider) throws GLib.Error;
- public signal void cancelled ();
+ public virtual signal void cancelled ();
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorCell : GLib.Object {
- public static GLib.Quark error_quark ();
public abstract IAnjuta.EditorAttribute get_attribute () throws GLib.Error;
public abstract char get_char (int char_index) throws GLib.Error;
- public abstract unowned string get_character () throws GLib.Error;
+ public abstract string get_character () throws GLib.Error;
public abstract int get_length () throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorCellStyle : IAnjuta.EditorCell, GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract unowned string get_background_color () throws GLib.Error;
- public abstract unowned string get_color () throws GLib.Error;
- public abstract unowned string get_font_description () throws GLib.Error;
+ public abstract string get_background_color () throws GLib.Error;
+ public abstract string get_color () throws GLib.Error;
+ public abstract string get_font_description () throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorComment : IAnjuta.Editor, GLib.Object {
public abstract void block () throws GLib.Error;
public abstract void box () throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract void stream () throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorConvert : IAnjuta.Editor, GLib.Object {
- public static GLib.Quark error_quark ();
public abstract void to_lower (IAnjuta.Iterable start_position, IAnjuta.Iterable end_position) throws GLib.Error;
public abstract void to_upper (IAnjuta.Iterable start_position, IAnjuta.Iterable end_position) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorFactory : GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract unowned IAnjuta.Editor new_editor (GLib.File file, string filename) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorFolds : IAnjuta.Editor, GLib.Object {
public abstract void close_all () throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract void open_all () throws GLib.Error;
public abstract void toggle_current () throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorGoto : IAnjuta.Editor, GLib.Object {
- public static void end (IAnjuta.Editor obj) throws GLib.Error;
public abstract void end_block () throws GLib.Error;
- public static GLib.Quark error_quark ();
- public static void line (IAnjuta.Editor obj, int lineno) throws GLib.Error;
public abstract void matching_brace () throws GLib.Error;
- public static void position (IAnjuta.Editor obj, IAnjuta.Iterable position) throws GLib.Error;
- public static void start (IAnjuta.Editor obj) throws GLib.Error;
public abstract void start_block () throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorHover : IAnjuta.Editor, GLib.Object {
public abstract void display (IAnjuta.Iterable position, string info) throws GLib.Error;
- public static GLib.Quark error_quark ();
- public signal void hover_leave (GLib.Object position);
- public signal void hover_over (GLib.Object position);
+ public virtual signal void hover_leave (GLib.Object position);
+ public virtual signal void hover_over (GLib.Object position);
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorLanguage : IAnjuta.Editor, GLib.Object {
- public static GLib.Quark error_quark ();
public abstract unowned string get_language () throws GLib.Error;
public abstract unowned string get_language_name (string language) throws GLib.Error;
- public abstract unowned GLib.List get_supported_languages () throws GLib.Error;
+ public abstract unowned GLib.List<weak string> get_supported_languages () throws GLib.Error;
public abstract void set_language (string language) throws GLib.Error;
- public signal void language_changed (string language);
+ public virtual signal void language_changed (string language);
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorLineMode : IAnjuta.Editor, GLib.Object {
public abstract void convert (IAnjuta.EditorLineModeType mode) throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract void fix () throws GLib.Error;
public abstract IAnjuta.EditorLineModeType @get () throws GLib.Error;
public abstract void @set (IAnjuta.EditorLineModeType mode) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorSearch : IAnjuta.Editor, GLib.Object {
- public abstract bool backward (string search, bool case_sensitive, IAnjuta.EditorCell start, IAnjuta.EditorCell end, out unowned IAnjuta.EditorCell result_start, out unowned IAnjuta.EditorCell result_end) throws GLib.Error;
- public static GLib.Quark error_quark ();
- public abstract bool forward (string search, bool case_sensitive, IAnjuta.EditorCell start, IAnjuta.EditorCell end, out unowned IAnjuta.EditorCell result_start, out unowned IAnjuta.EditorCell result_end) throws GLib.Error;
+ public abstract bool backward (string search, bool case_sensitive, IAnjuta.EditorCell start, IAnjuta.EditorCell end, IAnjuta.EditorCell result_start, IAnjuta.EditorCell result_end) throws GLib.Error;
+ public abstract bool forward (string search, bool case_sensitive, IAnjuta.EditorCell start, IAnjuta.EditorCell end, IAnjuta.EditorCell result_start, IAnjuta.EditorCell result_end) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorSelection : IAnjuta.Editor, GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract unowned string @get () throws GLib.Error;
- public abstract unowned IAnjuta.Iterable get_end () throws GLib.Error;
- public abstract unowned IAnjuta.Iterable get_start () throws GLib.Error;
+ public abstract string @get () throws GLib.Error;
public abstract bool has_selection () throws GLib.Error;
public abstract void replace (string text, int length) throws GLib.Error;
public abstract void select_all () throws GLib.Error;
@@ -1249,81 +1247,67 @@ namespace IAnjuta {
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorTip : IAnjuta.Editor, GLib.Object {
public abstract void cancel () throws GLib.Error;
- public static GLib.Quark error_quark ();
- public abstract void show (GLib.List tips, IAnjuta.Iterable position) throws GLib.Error;
+ public abstract void show (GLib.List<weak string> tips, IAnjuta.Iterable position) throws GLib.Error;
public abstract bool visible () throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorView : IAnjuta.Editor, GLib.Object {
public abstract void create () throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract int get_count () throws GLib.Error;
public abstract void remove_current () throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface EditorZoom : IAnjuta.Editor, GLib.Object {
- public static GLib.Quark error_quark ();
public abstract void @in () throws GLib.Error;
public abstract void @out () throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Environment : GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract unowned string get_real_directory (string dir) throws GLib.Error;
+ public abstract string get_real_directory (string dir) throws GLib.Error;
public abstract bool @override (string dirp, string argvp, string envp) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface File : GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract unowned GLib.File get_file () throws GLib.Error;
+ public abstract GLib.File get_file () throws GLib.Error;
public abstract void open (GLib.File file) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface FileLoader : IAnjuta.Loader, GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract unowned GLib.Object load (GLib.File file, bool readonly) throws GLib.Error;
- public abstract unowned string peek_interface (GLib.File file) throws GLib.Error;
+ public abstract string peek_interface (GLib.File file) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface FileManager : GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract unowned GLib.File get_selected () throws GLib.Error;
public abstract void set_root (string root_uri) throws GLib.Error;
public abstract void set_selected (GLib.File file) throws GLib.Error;
- public signal void section_changed (GLib.Object file);
+ public virtual signal void section_changed (GLib.Object file);
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface FileSavable : IAnjuta.File, GLib.Object {
- public static GLib.Quark error_quark ();
public abstract bool is_conflict () throws GLib.Error;
public abstract bool is_dirty () throws GLib.Error;
public abstract bool is_read_only () throws GLib.Error;
public abstract void save () throws GLib.Error;
public abstract void save_as (GLib.File file) throws GLib.Error;
public abstract void set_dirty (bool dirty) throws GLib.Error;
- public signal void saved (GLib.Object file);
- public signal void update_save_ui ();
+ public virtual signal void saved (GLib.Object file);
+ public virtual signal void update_save_ui ();
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Help : GLib.Object {
- public static GLib.Quark error_quark ();
public abstract void search (string query) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Indicable : GLib.Object {
public abstract void clear () throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract void @set (IAnjuta.Iterable begin_location, IAnjuta.Iterable end_location, IAnjuta.IndicableIndicator indicator) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Iterable : GLib.Object {
public abstract void assign (IAnjuta.Iterable src_iter) throws GLib.Error;
- public abstract unowned IAnjuta.Iterable clone () throws GLib.Error;
+ public abstract IAnjuta.Iterable clone () throws GLib.Error;
public abstract int compare (IAnjuta.Iterable iter2) throws GLib.Error;
public abstract int diff (IAnjuta.Iterable iter2) throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract bool first () throws GLib.Error;
- public abstract void @foreach (GLib.Func callback) throws GLib.Error;
public abstract int get_length () throws GLib.Error;
public abstract int get_position () throws GLib.Error;
public abstract bool last () throws GLib.Error;
@@ -1334,51 +1318,33 @@ namespace IAnjuta {
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface IterableTree : IAnjuta.Iterable, GLib.Object {
public abstract bool children () throws GLib.Error;
- public static GLib.Quark error_quark ();
- public abstract void foreach_post (GLib.Func callback) throws GLib.Error;
- public abstract void foreach_pre (GLib.Func callback) throws GLib.Error;
public abstract bool has_children () throws GLib.Error;
public abstract bool parent () throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Language : GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract unowned IAnjuta.LanguageId get_from_editor (IAnjuta.EditorLanguage editor) throws GLib.Error;
- public abstract unowned IAnjuta.LanguageId get_from_mime_type (string mime_type) throws GLib.Error;
- public abstract unowned IAnjuta.LanguageId get_from_string (string str) throws GLib.Error;
- public abstract unowned GLib.List get_languages () throws GLib.Error;
+ public abstract IAnjuta.LanguageId get_from_editor (IAnjuta.EditorLanguage editor) throws GLib.Error;
+ public abstract IAnjuta.LanguageId get_from_mime_type (string mime_type) throws GLib.Error;
+ public abstract IAnjuta.LanguageId get_from_string (string string) throws GLib.Error;
+ public abstract GLib.List<weak int> get_languages () throws GLib.Error;
public abstract unowned string get_make_target (IAnjuta.LanguageId id) throws GLib.Error;
public abstract unowned string get_name (IAnjuta.LanguageId id) throws GLib.Error;
public abstract unowned string get_name_from_editor (IAnjuta.EditorLanguage editor) throws GLib.Error;
- public abstract unowned GLib.List get_strings (IAnjuta.LanguageId id) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Loader : GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract unowned GLib.List find_plugins () throws GLib.Error;
- }
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
- public interface Macro : GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract void insert (string key) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Markable : GLib.Object {
public abstract void delete_all_markers (IAnjuta.MarkableMarker marker) throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract bool is_marker_set (int location, IAnjuta.MarkableMarker marker) throws GLib.Error;
public abstract int location_from_handle (int handle) throws GLib.Error;
- public abstract int mark (int location, IAnjuta.MarkableMarker marker) throws GLib.Error;
+ public abstract int mark (int location, IAnjuta.MarkableMarker marker, string? tooltip) throws GLib.Error;
public abstract void unmark (int location, IAnjuta.MarkableMarker marker) throws GLib.Error;
- public signal void marker_clicked (bool double_click, int location);
+ public virtual signal void marker_clicked (bool double_click, int location);
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface MessageManager : GLib.Object {
- public abstract unowned IAnjuta.MessageView add_view (string name, string icon) throws GLib.Error;
- public static GLib.Quark error_quark ();
- public abstract unowned GLib.List get_all_views () throws GLib.Error;
- public abstract unowned IAnjuta.MessageView get_current_view () throws GLib.Error;
- public abstract unowned IAnjuta.MessageView get_view_by_name (string name) throws GLib.Error;
public abstract void remove_view (IAnjuta.MessageView view) throws GLib.Error;
public abstract void set_current_view (IAnjuta.MessageView view) throws GLib.Error;
public abstract void set_view_icon (IAnjuta.MessageView view, Gdk.PixbufAnimation icon) throws GLib.Error;
@@ -1390,104 +1356,87 @@ namespace IAnjuta {
public abstract void append (IAnjuta.MessageViewType type, string summary, string details) throws GLib.Error;
public abstract void buffer_append (string text) throws GLib.Error;
public abstract void clear () throws GLib.Error;
- public static GLib.Quark error_quark ();
- public abstract unowned GLib.List get_all_messages () throws GLib.Error;
public abstract unowned string get_current_message () throws GLib.Error;
public abstract void select_next () throws GLib.Error;
public abstract void select_previous () throws GLib.Error;
- public signal void buffer_flushed (string line);
- public signal void message_clicked (string message);
+ public virtual signal void buffer_flushed (string line);
+ public virtual signal void message_clicked (string message);
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface PluginFactory : GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract unowned Anjuta.Plugin new_plugin (Anjuta.PluginHandle handle, Anjuta.Shell shell) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Preferences : GLib.Object {
- public static GLib.Quark error_quark ();
public abstract void merge (Anjuta.Preferences prefs) throws GLib.Error;
public abstract void unmerge (Anjuta.Preferences prefs) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Print : GLib.Object {
- public static GLib.Quark error_quark ();
public abstract void print () throws GLib.Error;
public abstract void print_preview () throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Project : GLib.Object {
- public abstract unowned Anjuta.ProjectGroup add_group (Anjuta.ProjectGroup parent, string name) throws GLib.Error;
- public abstract unowned Anjuta.ProjectSource add_source (Anjuta.ProjectTarget parent, GLib.File file) throws GLib.Error;
- public abstract unowned Anjuta.ProjectTarget add_target (Anjuta.ProjectGroup parent, string name, Anjuta.ProjectTargetType type) throws GLib.Error;
- public abstract unowned Gtk.Widget configure () throws GLib.Error;
- public abstract unowned Gtk.Widget configure_node (Anjuta.ProjectNode node) throws GLib.Error;
- public static GLib.Quark error_quark ();
- public abstract uint get_capabilities () throws GLib.Error;
- public abstract GLib.List<string> get_packages () throws GLib.Error;
- public abstract unowned Anjuta.ProjectGroup get_root () throws GLib.Error;
- public abstract unowned GLib.List get_target_types () throws GLib.Error;
- public abstract bool load (GLib.File file) throws GLib.Error;
- public abstract bool refresh () throws GLib.Error;
+ public abstract unowned Anjuta.ProjectNode add_node_after (Anjuta.ProjectNode parent, Anjuta.ProjectNode? sibling, Anjuta.ProjectNodeType type, GLib.File? file, string? name) throws GLib.Error;
+ public abstract unowned Anjuta.ProjectNode add_node_before (Anjuta.ProjectNode parent, Anjuta.ProjectNode? sibling, Anjuta.ProjectNodeType type, GLib.File? file, string? name) throws GLib.Error;
+ public abstract unowned GLib.List<weak Anjuta.ProjectNodeInfo> get_node_info () throws GLib.Error;
+ public abstract unowned Anjuta.ProjectNode get_root () throws GLib.Error;
+ public abstract bool is_loaded () throws GLib.Error;
+ public abstract bool load_node (Anjuta.ProjectNode node) throws GLib.Error;
public abstract bool remove_node (Anjuta.ProjectNode node) throws GLib.Error;
- public signal void project_updated ();
+ public abstract bool remove_property (Anjuta.ProjectNode node, Anjuta.ProjectProperty property) throws GLib.Error;
+ public abstract bool save_node (Anjuta.ProjectNode node) throws GLib.Error;
+ public abstract unowned Anjuta.ProjectProperty set_property (Anjuta.ProjectNode parent, Anjuta.ProjectProperty property, string value) throws GLib.Error;
+ public virtual signal void file_changed (void* node);
+ public virtual signal void node_changed (void* node, GLib.Error error);
+ public virtual signal void node_loaded (void* node, GLib.Error error);
+ public virtual signal void node_saved (void* node, GLib.Error error);
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface ProjectBackend : GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract IAnjuta.Project new_project () throws GLib.Error;
+ public abstract IAnjuta.Project new_project (GLib.File file) throws GLib.Error;
public abstract int probe (GLib.File directory) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface ProjectManager : GLib.Object {
- public abstract unowned GLib.File add_group (string name, GLib.File default_group) throws GLib.Error;
- public abstract unowned GLib.File add_source (string name, GLib.File default_target) throws GLib.Error;
- public abstract unowned GLib.File add_source_quiet (string name, GLib.File target) throws GLib.Error;
- public abstract unowned GLib.List add_sources (GLib.List names, GLib.File default_target) throws GLib.Error;
- public abstract unowned GLib.File add_target (string name, GLib.File default_group) throws GLib.Error;
- public static GLib.Quark error_quark ();
+ public abstract GLib.List<GLib.File> add_sources (GLib.List<weak string> names, GLib.File default_target) throws GLib.Error;
public abstract uint get_capabilities () throws GLib.Error;
- public abstract unowned GLib.List get_children (GLib.File element) throws GLib.Error;
- public abstract unowned GLib.List get_elements (Anjuta.ProjectNodeType element_type) throws GLib.Error;
- public abstract unowned GLib.List get_packages () throws GLib.Error;
- public abstract unowned GLib.File get_parent (GLib.File element) throws GLib.Error;
- public abstract unowned GLib.File get_selected () throws GLib.Error;
- public abstract Anjuta.ProjectTargetClass get_target_type (GLib.File target) throws GLib.Error;
- public abstract unowned GLib.List get_targets (Anjuta.ProjectTargetClass target_type) throws GLib.Error;
+ public abstract GLib.List<GLib.File> get_children (GLib.File element) throws GLib.Error;
+ public abstract GLib.List<GLib.File> get_elements (Anjuta.ProjectNodeType element_type) throws GLib.Error;
+ public abstract GLib.List<string> get_packages () throws GLib.Error;
+ public abstract Anjuta.ProjectNodeType get_target_type (GLib.File target) throws GLib.Error;
+ public abstract GLib.List<GLib.File> get_targets (Anjuta.ProjectNodeType target_type) throws GLib.Error;
public abstract bool is_open () throws GLib.Error;
- public signal void element_added (GLib.Object element);
- public signal void element_removed (GLib.Object element);
- public signal void element_selected (GLib.Object element);
+ public virtual signal void element_added (GLib.Object element);
+ public virtual signal void element_removed (GLib.Object element);
+ public virtual signal void element_selected (GLib.Object element);
+ public virtual signal void project_loaded (GLib.Error error);
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Provider : GLib.Object {
public abstract void activate (IAnjuta.Iterable iter, void* data) throws GLib.Error;
- public static GLib.Quark error_quark ();
public abstract unowned string get_name () throws GLib.Error;
- public abstract unowned IAnjuta.Iterable get_start_iter () throws GLib.Error;
public abstract void populate (IAnjuta.Iterable iter) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public interface SnippetsManager : GLib.Object {
+ public abstract bool insert (string key) throws GLib.Error;
+ }
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Stream : GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract void open (GLib.FileStream stream) throws GLib.Error;
+ public abstract void open (void* stream) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface StreamLoader : IAnjuta.Loader, GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract unowned GLib.Object load (GLib.FileStream stream, bool readonly) throws GLib.Error;
- public abstract unowned string peek_interface (GLib.FileStream stream) throws GLib.Error;
+ public abstract string peek_interface (void* stream) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface StreamSavable : IAnjuta.Stream, GLib.Object {
- public static GLib.Quark error_quark ();
- public abstract void save (GLib.FileStream stream) throws GLib.Error;
+ public abstract void save (void* stream) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Symbol : GLib.Object {
- public static GLib.Quark error_quark ();
public abstract bool get_boolean (IAnjuta.SymbolField field) throws GLib.Error;
- public abstract unowned GLib.File get_file () throws GLib.Error;
public abstract unowned Gdk.Pixbuf get_icon () throws GLib.Error;
public abstract int get_int (IAnjuta.SymbolField field) throws GLib.Error;
public abstract unowned string get_string (IAnjuta.SymbolField field) throws GLib.Error;
@@ -1495,25 +1444,16 @@ namespace IAnjuta {
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface SymbolManager : GLib.Object {
- public abstract unowned IAnjuta.SymbolQuery create_query (IAnjuta.SymbolQueryName name, IAnjuta.SymbolQueryDb db) throws GLib.Error;
- public static GLib.Quark error_quark ();
- public signal void prj_scan_end (int process_id);
- public signal void sys_scan_end (int process_id);
+ public abstract bool activate_package (string pkg_name, string pkg_version) throws GLib.Error;
+ public abstract bool add_and_activate_package (string pkg_name, string pkg_version, GLib.List<weak void*> files) throws GLib.Error;
+ public abstract bool add_package (string pkg_name, string pkg_version, GLib.List<weak void*> files) throws GLib.Error;
+ public abstract bool deactivate_package (string pkg_name, string pkg_version) throws GLib.Error;
+ public virtual signal void prj_scan_end (int process_id);
+ public virtual signal void sys_scan_end (int process_id);
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface SymbolQuery : GLib.Object {
public abstract void cancel () throws GLib.Error;
- public static GLib.Quark error_quark ();
- public abstract unowned IAnjuta.Iterable search (string pattern) throws GLib.Error;
- public abstract unowned IAnjuta.Iterable search_all () throws GLib.Error;
- public abstract unowned IAnjuta.Iterable search_class_parents (IAnjuta.Symbol symbol) throws GLib.Error;
- public abstract unowned IAnjuta.Iterable search_file (string pattern, GLib.File file) throws GLib.Error;
- public abstract unowned IAnjuta.Iterable search_id (int symbol_id) throws GLib.Error;
- public abstract unowned IAnjuta.Iterable search_in_scope (string pattern, IAnjuta.Symbol scope) throws GLib.Error;
- public abstract unowned IAnjuta.Iterable search_members (IAnjuta.Symbol symbol) throws GLib.Error;
- public abstract unowned IAnjuta.Iterable search_parent_scope (IAnjuta.Symbol symbol) throws GLib.Error;
- public abstract unowned IAnjuta.Iterable search_parent_scope_file (IAnjuta.Symbol symbol, string file_path) throws GLib.Error;
- public abstract unowned IAnjuta.Iterable search_scope (string file_path, int line) throws GLib.Error;
public abstract void set_fields (int n_fields, IAnjuta.SymbolField fields) throws GLib.Error;
public abstract void set_file_scope (IAnjuta.SymbolQueryFileScope filescope_search) throws GLib.Error;
public abstract void set_filters (IAnjuta.SymbolType filters, bool includes_types) throws GLib.Error;
@@ -1522,32 +1462,92 @@ namespace IAnjuta {
public abstract void set_mode (IAnjuta.SymbolQueryMode mode) throws GLib.Error;
public abstract void set_offset (int offset) throws GLib.Error;
public abstract void set_order_by (IAnjuta.SymbolField field) throws GLib.Error;
- public signal void async_result (GLib.Object result);
+ public virtual signal void async_result (GLib.Object result);
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Terminal : GLib.Object {
- public static GLib.Quark error_quark ();
public abstract int execute_command (string directory, string command, string environment) throws GLib.Error;
- public signal void child_exited (int pid, int status);
+ public virtual signal void child_exited (int pid, int status);
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Todo : GLib.Object {
- public static GLib.Quark error_quark ();
public abstract void load (GLib.File file) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Vcs : GLib.Object {
- public abstract void add (GLib.List files, Anjuta.AsyncNotify notify) throws GLib.Error;
- public abstract void checkout (string repository_location, GLib.File dest, GLib.Cancellable cancel, Anjuta.AsyncNotify notify) throws GLib.Error;
- public abstract void diff (GLib.File file, IAnjuta.VcsDiffCallback callback, GLib.Cancellable cancel, Anjuta.AsyncNotify notify) throws GLib.Error;
- public static GLib.Quark error_quark ();
- public abstract void query_status (GLib.File file, IAnjuta.VcsStatusCallback callback, GLib.Cancellable cancel, Anjuta.AsyncNotify notify) throws GLib.Error;
- public abstract void remove (GLib.List files, Anjuta.AsyncNotify notify) throws GLib.Error;
+ public abstract void add (GLib.List<weak GLib.File> files, Anjuta.AsyncNotify notify) throws GLib.Error;
+ public abstract void checkout (string repository_location, GLib.File dest, GLib.Cancellable? cancel, Anjuta.AsyncNotify notify) throws GLib.Error;
+ public abstract void remove (GLib.List<weak GLib.File> files, Anjuta.AsyncNotify notify) throws GLib.Error;
}
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public interface Wizard : GLib.Object {
public abstract void activate () throws GLib.Error;
- public static GLib.Quark error_quark ();
+ }
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ [SimpleType]
+ public struct BuilderHandle {
+ }
+ [CCode (type_id = "IANJUTA_TYPE_DEBUGGER_BREAKPOINT_ITEM", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public struct DebuggerBreakpointItem {
+ public int type;
+ public uint id;
+ public weak string file;
+ public uint line;
+ public weak string function;
+ public ulong address;
+ public bool enable;
+ public uint ignore;
+ public uint times;
+ public weak string condition;
+ public bool temporary;
+ public bool pending;
+ }
+ [CCode (type_id = "IANJUTA_TYPE_DEBUGGER_FRAME", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public struct DebuggerFrame {
+ public int thread;
+ public uint level;
+ public weak string args;
+ public weak string file;
+ public uint line;
+ public weak string function;
+ public weak string library;
+ public ulong address;
+ }
+ [CCode (type_id = "IANJUTA_TYPE_DEBUGGER_INSTRUCTION_ALINE", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public struct DebuggerInstructionALine {
+ public ulong address;
+ public weak string label;
+ public weak string text;
+ }
+ [CCode (type_id = "IANJUTA_TYPE_DEBUGGER_INSTRUCTION_DISASSEMBLY", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public struct DebuggerInstructionDisassembly {
+ public uint size;
+ [CCode (array_length = false, array_null_terminated = true)]
+ public weak IAnjuta.DebuggerInstructionALine[] data;
+ }
+ [CCode (type_id = "IANJUTA_TYPE_DEBUGGER_MEMORY_BLOCK", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public struct DebuggerMemoryBlock {
+ public ulong address;
+ public uint length;
+ public weak string data;
+ }
+ [CCode (type_id = "IANJUTA_TYPE_DEBUGGER_REGISTER_DATA", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public struct DebuggerRegisterData {
+ public uint num;
+ public weak string name;
+ public weak string value;
+ }
+ [CCode (type_id = "IANJUTA_TYPE_DEBUGGER_VARIABLE_OBJECT", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public struct DebuggerVariableObject {
+ public weak string name;
+ public weak string expression;
+ public weak string type;
+ public weak string value;
+ public bool changed;
+ public bool exited;
+ public bool deleted;
+ public int children;
+ public bool has_more;
}
[CCode (type_id = "IANJUTA_TYPE_EDITOR_ASSIST_PROPOSAL", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public struct EditorAssistProposal {
@@ -1558,6 +1558,11 @@ namespace IAnjuta {
public weak Gdk.Pixbuf icon;
public void* data;
}
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ [SimpleType]
+ [IntegerType (rank = 0)]
+ public struct LanguageId : int {
+ }
[CCode (cprefix = "IANJUTA_BUILDABLE_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum BuildableCommand {
COMMAND_COMPILE,
@@ -1650,7 +1655,8 @@ namespace IAnjuta {
}
[CCode (cprefix = "IANJUTA_DOCUMENT_MANAGER_DOESNT_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum DocumentManagerError {
- EXIST
+ [CCode (cname = "IANJUTA_DOCUMENT_MANAGER_DOESNT_EXIST")]
+ DOESNT_EXIST
}
[CCode (cprefix = "IANJUTA_EDITOR_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum EditorAttribute {
@@ -1661,7 +1667,8 @@ namespace IAnjuta {
}
[CCode (cprefix = "IANJUTA_EDITOR_DOESNT_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum EditorError {
- EXIST
+ [CCode (cname = "IANJUTA_EDITOR_DOESNT_EXIST")]
+ DOESNT_EXIST
}
[CCode (cprefix = "IANJUTA_EDITOR_LINE_MODE_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum EditorLineModeType {
@@ -1669,6 +1676,11 @@ namespace IAnjuta {
CR,
CRLF
}
+ [CCode (cprefix = "IANJUTA_ENVIRONMENT_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public enum EnvironmentError {
+ CONFIG,
+ OTHER_ERROR
+ }
[CCode (cprefix = "IANJUTA_INDICABLE_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum IndicableIndicator {
NONE,
@@ -1678,26 +1690,33 @@ namespace IAnjuta {
}
[CCode (cprefix = "IANJUTA_MARKABLE_INVALID_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum MarkableError {
- LOCATION
+ [CCode (cname = "IANJUTA_MARKABLE_INVALID_LOCATION")]
+ INVALID_LOCATION
}
[CCode (cprefix = "IANJUTA_MARKABLE_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum MarkableMarker {
LINEMARKER,
BOOKMARK,
+ MESSAGE,
BREAKPOINT_DISABLED,
BREAKPOINT_ENABLED,
PROGRAM_COUNTER
}
[CCode (cprefix = "IANJUTA_MESSAGE_MANAGER_DOESNT_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum MessageManagerError {
- EXIST
+ [CCode (cname = "IANJUTA_MESSAGE_MANAGER_DOESNT_EXIST")]
+ DOESNT_EXIST
}
[CCode (cprefix = "IANJUTA_MESSAGE_VIEW_TYPE_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum MessageViewType {
- NORMAL,
- INFO,
- WARNING,
- ERROR
+ [CCode (cname = "IANJUTA_MESSAGE_VIEW_TYPE_NORMAL")]
+ TYPE_NORMAL,
+ [CCode (cname = "IANJUTA_MESSAGE_VIEW_TYPE_INFO")]
+ TYPE_INFO,
+ [CCode (cname = "IANJUTA_MESSAGE_VIEW_TYPE_WARNING")]
+ TYPE_WARNING,
+ [CCode (cname = "IANJUTA_MESSAGE_VIEW_TYPE_ERROR")]
+ TYPE_ERROR
}
[CCode (cprefix = "IANJUTA_PLUGIN_FACTORY_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum PluginFactoryError {
@@ -1710,28 +1729,31 @@ namespace IAnjuta {
INVALID_TYPE,
UNKNOWN_ERROR
}
- [CCode (cprefix = "IANJUTA_PROJECT_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
- public enum ProjectCapabilities {
- CAN_ADD_NONE,
- CAN_ADD_GROUP,
- CAN_ADD_TARGET,
- CAN_ADD_SOURCE,
- HAS_PACKAGES
- }
[CCode (cprefix = "IANJUTA_PROJECT_ERROR_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum ProjectError {
- SUCCESS,
- DOESNT_EXIST,
- ALREADY_EXISTS,
- VALIDATION_FAILED,
- PROJECT_MALFORMED,
- GENERAL_FAILURE
+ [CCode (cname = "IANJUTA_PROJECT_ERROR_SUCCESS")]
+ ERROR_SUCCESS,
+ [CCode (cname = "IANJUTA_PROJECT_ERROR_DOESNT_EXIST")]
+ ERROR_DOESNT_EXIST,
+ [CCode (cname = "IANJUTA_PROJECT_ERROR_ALREADY_EXISTS")]
+ ERROR_ALREADY_EXISTS,
+ [CCode (cname = "IANJUTA_PROJECT_ERROR_VALIDATION_FAILED")]
+ ERROR_VALIDATION_FAILED,
+ [CCode (cname = "IANJUTA_PROJECT_ERROR_PROJECT_MALFORMED")]
+ ERROR_PROJECT_MALFORMED,
+ [CCode (cname = "IANJUTA_PROJECT_ERROR_NOT_SUPPORTED")]
+ ERROR_NOT_SUPPORTED,
+ [CCode (cname = "IANJUTA_PROJECT_ERROR_GENERAL_FAILURE")]
+ ERROR_GENERAL_FAILURE
}
[CCode (cprefix = "IANJUTA_PROJECT_PROBE_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum ProjectProbe {
- FILES,
- MAKE_FILES,
- PROJECT_FILES
+ [CCode (cname = "IANJUTA_PROJECT_PROBE_FILES")]
+ PROBE_FILES,
+ [CCode (cname = "IANJUTA_PROJECT_PROBE_MAKE_FILES")]
+ PROBE_MAKE_FILES,
+ [CCode (cname = "IANJUTA_PROJECT_PROBE_PROJECT_FILES")]
+ PROBE_PROJECT_FILES
}
[CCode (cprefix = "IANJUTA_SYMBOL_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum SymbolField {
@@ -1753,20 +1775,28 @@ namespace IAnjuta {
}
[CCode (cprefix = "IANJUTA_SYMBOL_QUERY_DB_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum SymbolQueryDb {
- PROJECT,
- SYSTEM
+ [CCode (cname = "IANJUTA_SYMBOL_QUERY_DB_PROJECT")]
+ DB_PROJECT,
+ [CCode (cname = "IANJUTA_SYMBOL_QUERY_DB_SYSTEM")]
+ DB_SYSTEM
}
[CCode (cprefix = "IANJUTA_SYMBOL_QUERY_SEARCH_FS_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum SymbolQueryFileScope {
- IGNORE,
- PUBLIC,
- PRIVATE
+ [CCode (cname = "IANJUTA_SYMBOL_QUERY_SEARCH_FS_IGNORE")]
+ SEARCH_FS_IGNORE,
+ [CCode (cname = "IANJUTA_SYMBOL_QUERY_SEARCH_FS_PUBLIC")]
+ SEARCH_FS_PUBLIC,
+ [CCode (cname = "IANJUTA_SYMBOL_QUERY_SEARCH_FS_PRIVATE")]
+ SEARCH_FS_PRIVATE
}
[CCode (cprefix = "IANJUTA_SYMBOL_QUERY_MODE_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum SymbolQueryMode {
- SYNC,
- ASYNC,
- QUEUED
+ [CCode (cname = "IANJUTA_SYMBOL_QUERY_MODE_SYNC")]
+ MODE_SYNC,
+ [CCode (cname = "IANJUTA_SYMBOL_QUERY_MODE_ASYNC")]
+ MODE_ASYNC,
+ [CCode (cname = "IANJUTA_SYMBOL_QUERY_MODE_QUEUED")]
+ MODE_QUEUED
}
[CCode (cprefix = "IANJUTA_SYMBOL_QUERY_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum SymbolQueryName {
@@ -1783,56 +1813,81 @@ namespace IAnjuta {
}
[CCode (cprefix = "IANJUTA_SYMBOL_TYPE_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum SymbolType {
- NONE,
- UNDEF,
- CLASS,
- ENUM,
- ENUMERATOR,
- FIELD,
- FUNCTION,
- INTERFACE,
- MEMBER,
- METHOD,
- NAMESPACE,
- PACKAGE,
- PROTOTYPE,
- STRUCT,
- TYPEDEF,
- UNION,
- VARIABLE,
- EXTERNVAR,
- MACRO,
- MACRO_WITH_ARG,
- FILE,
- OTHER,
- SCOPE_CONTAINER,
- MAX
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_NONE")]
+ TYPE_NONE,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_UNDEF")]
+ TYPE_UNDEF,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_CLASS")]
+ TYPE_CLASS,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_ENUM")]
+ TYPE_ENUM,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_ENUMERATOR")]
+ TYPE_ENUMERATOR,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_FIELD")]
+ TYPE_FIELD,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_FUNCTION")]
+ TYPE_FUNCTION,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_INTERFACE")]
+ TYPE_INTERFACE,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_MEMBER")]
+ TYPE_MEMBER,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_METHOD")]
+ TYPE_METHOD,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_NAMESPACE")]
+ TYPE_NAMESPACE,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_PACKAGE")]
+ TYPE_PACKAGE,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_PROTOTYPE")]
+ TYPE_PROTOTYPE,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_STRUCT")]
+ TYPE_STRUCT,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_TYPEDEF")]
+ TYPE_TYPEDEF,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_UNION")]
+ TYPE_UNION,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_VARIABLE")]
+ TYPE_VARIABLE,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_EXTERNVAR")]
+ TYPE_EXTERNVAR,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_MACRO")]
+ TYPE_MACRO,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_MACRO_WITH_ARG")]
+ TYPE_MACRO_WITH_ARG,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_FILE")]
+ TYPE_FILE,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_OTHER")]
+ TYPE_OTHER,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_SCOPE_CONTAINER")]
+ TYPE_SCOPE_CONTAINER,
+ [CCode (cname = "IANJUTA_SYMBOL_TYPE_MAX")]
+ TYPE_MAX
}
[CCode (cprefix = "IANJUTA_VCS_UNKOWN_", cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public enum VcsError {
- ERROR
+ [CCode (cname = "IANJUTA_VCS_UNKOWN_ERROR")]
+ UNKOWN_ERROR
}
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", instance_pos = 3.9)]
public delegate void BuilderCallback (GLib.Object sender, IAnjuta.BuilderHandle command, GLib.Error err);
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", has_target = false)]
- public delegate void DebuggerBreakpointCallback (IAnjuta.DebuggerBreakpointItem data, void* user_data, GLib.Error err);
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", has_target = false)]
- public delegate void DebuggerCallback (void* data, void* user_data, GLib.Error err);
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", has_target = false)]
- public delegate void DebuggerGCharCallback (string value, void* user_data, GLib.Error err);
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", has_target = false)]
- public delegate void DebuggerGListCallback (GLib.List list, void* user_data, GLib.Error err);
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", has_target = false)]
- public delegate void DebuggerInstructionCallback (IAnjuta.DebuggerInstructionDisassembly data, void* user_data, GLib.Error err);
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", has_target = false)]
- public delegate void DebuggerMemoryCallback (IAnjuta.DebuggerMemoryBlock data, void* user_data, GLib.Error err);
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", instance_pos = 1.9)]
+ public delegate void DebuggerBreakpointCallback (IAnjuta.DebuggerBreakpointItem data, GLib.Error err);
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", instance_pos = 1.9)]
+ public delegate void DebuggerCallback (void* data, GLib.Error err);
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", instance_pos = 1.9)]
+ public delegate void DebuggerGCharCallback (string value, GLib.Error err);
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", instance_pos = 1.9)]
+ public delegate void DebuggerGListCallback (GLib.List<weak void*> list, GLib.Error err);
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", instance_pos = 1.9)]
+ public delegate void DebuggerInstructionCallback (IAnjuta.DebuggerInstructionDisassembly data, GLib.Error err);
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", instance_pos = 1.9)]
+ public delegate void DebuggerMemoryCallback (IAnjuta.DebuggerMemoryBlock data, GLib.Error err);
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", instance_pos = 2.9)]
public delegate void DebuggerOutputCallback (IAnjuta.DebuggerOutputType type, string output);
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", has_target = false)]
- public delegate void DebuggerVariableCallback (IAnjuta.DebuggerVariableObject data, void* user_data, GLib.Error err);
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", instance_pos = 1.9)]
+ public delegate void DebuggerVariableCallback (IAnjuta.DebuggerVariableObject data, GLib.Error err);
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", instance_pos = 2.9)]
public delegate void VcsDiffCallback (GLib.File file, string diff);
- [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h", instance_pos = 2.9)]
public delegate void VcsStatusCallback (GLib.File file, Anjuta.VcsStatus status);
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public const string BUILDER_CONFIGURATION_DEBUG;
@@ -1847,7 +1902,129 @@ namespace IAnjuta {
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public const string FILE_MANAGER_SELECTED_FILE;
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public const string PROJECT_MANAGER_CURRENT_PROJECT;
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public const string PROJECT_MANAGER_CURRENT_URI;
[CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
public const string PROJECT_MANAGER_PROJECT_ROOT_URI;
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark buildable_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark builder_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark debug_manager_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark debugger_breakpoint_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark debugger_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark debugger_instruction_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark debugger_memory_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark debugger_register_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark debugger_variable_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark document_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark document_manager_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_assist_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_cell_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_cell_style_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_comment_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_convert_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_factory_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_folds_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_goto_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_hover_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_language_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_line_mode_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_search_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_selection_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_tip_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_view_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark editor_zoom_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark environment_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark file_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark file_loader_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark file_manager_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark file_savable_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark help_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark indicable_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark iterable_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark iterable_tree_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark language_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark loader_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark markable_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark message_manager_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark message_view_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark plugin_factory_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark preferences_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark print_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark project_backend_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark project_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark project_manager_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark provider_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark snippets_manager_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark stream_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark stream_loader_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark stream_savable_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark symbol_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark symbol_manager_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark symbol_query_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark terminal_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark todo_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark vcs_error_quark ();
+ [CCode (cheader_filename = "libanjuta/interfaces/libanjuta-interfaces.h")]
+ public static GLib.Quark wizard_error_quark ();
}
diff --git a/plugins/language-support-vala/plugin.vala b/plugins/language-support-vala/plugin.vala
index 6eab46f..6ea1f3c 100644
--- a/plugins/language-support-vala/plugin.vala
+++ b/plugins/language-support-vala/plugin.vala
@@ -59,17 +59,16 @@ public class ValaPlugin : Plugin {
genie_parser.parse (context);
var project = (IAnjuta.ProjectManager) shell.get_object("IAnjutaProjectManager");
- weak List<string> packages = project.get_packages();
+ var packages = project.get_packages();
context.add_package("glib-2.0");
context.add_package("gobject-2.0");
- var status = shell.get_status ();
foreach (var pkg in packages)
context.add_package(pkg);
source_files = new Vala.HashMap<string, Vala.SourceFile>(str_hash, str_equal, direct_equal);
- weak List<File> sources = project.get_elements(Anjuta.ProjectNodeType.SOURCE);
+ var sources = project.get_elements(Anjuta.ProjectNodeType.SOURCE);
foreach (var src in sources) {
if (src.get_path() != null && !source_files.contains(src.get_path())) {
if (src.get_basename().has_suffix("vala") || src.get_basename().has_suffix("gs")) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]