Advertisement
rotrevrep

libide-1.0

Feb 18th, 2015
1,278
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* libide-1.0.vapi generated by vapigen, do not modify. */
  2.  
  3. namespace Ide {
  4.     [CCode (cheader_filename = "libide-1.0.h")]
  5.     public class AutotoolsBuildSystem : Ide.BuildSystem, GLib.AsyncInitable {
  6.         [CCode (has_construct_function = false)]
  7.         protected AutotoolsBuildSystem ();
  8.         public unowned string get_tarball_name ();
  9.         public string tarball_name { get; }
  10.     }
  11.     [CCode (cheader_filename = "libide-1.0.h")]
  12.     public class AutotoolsBuildTask : Ide.BuildResult {
  13.         [CCode (has_construct_function = false)]
  14.         protected AutotoolsBuildTask ();
  15.         public async bool execute_async (GLib.Cancellable cancellable) throws GLib.Error;
  16.         public unowned GLib.File get_directory ();
  17.         [NoAccessorMethod]
  18.         public GLib.KeyFile config { owned get; construct; }
  19.         [NoAccessorMethod]
  20.         public Ide.Device device { owned get; construct; }
  21.         public GLib.File directory { get; construct; }
  22.         [NoAccessorMethod]
  23.         public bool require_autogen { get; construct; }
  24.         [NoAccessorMethod]
  25.         public bool require_configure { get; construct; }
  26.     }
  27.     [CCode (cheader_filename = "libide-1.0.h")]
  28.     public class AutotoolsBuilder : Ide.Builder {
  29.         [CCode (has_construct_function = false)]
  30.         protected AutotoolsBuilder ();
  31.         [NoAccessorMethod]
  32.         public GLib.KeyFile config { owned get; construct; }
  33.         [NoAccessorMethod]
  34.         public Ide.Device device { owned get; construct; }
  35.     }
  36.     [CCode (cheader_filename = "libide-1.0.h")]
  37.     public class BackForwardItem : Ide.Object {
  38.         [CCode (has_construct_function = false)]
  39.         public BackForwardItem (Ide.Context context, Ide.SourceLocation location);
  40.         public bool chain (Ide.BackForwardItem other);
  41.         public unowned Ide.SourceLocation get_location ();
  42.         public Ide.SourceLocation location { get; construct; }
  43.     }
  44.     [CCode (cheader_filename = "libide-1.0.h")]
  45.     public class BackForwardList : Ide.Object {
  46.         [CCode (has_construct_function = false)]
  47.         protected BackForwardList ();
  48.         public unowned Ide.BackForwardList branch ();
  49.         public bool get_can_go_backward ();
  50.         public bool get_can_go_forward ();
  51.         public unowned Ide.BackForwardItem get_current_item ();
  52.         public void go_backward ();
  53.         public void go_forward ();
  54.         public void merge (Ide.BackForwardList branch);
  55.         public void push (Ide.BackForwardItem item);
  56.         public bool can_go_backward { get; }
  57.         public bool can_go_forward { get; }
  58.         public Ide.BackForwardItem current_item { get; }
  59.         public virtual signal void navigate_to (Ide.BackForwardItem p0);
  60.     }
  61.     [CCode (cheader_filename = "libide-1.0.h")]
  62.     public class BuildResult : Ide.Object {
  63.         [CCode (has_construct_function = false)]
  64.         protected BuildResult ();
  65.         public unowned GLib.InputStream get_stderr_stream ();
  66.         public unowned GLib.InputStream get_stdout_stream ();
  67.         public void log_stderr (string format);
  68.         public void log_stdout (string format);
  69.         public void log_subprocess (GLib.Subprocess subprocess);
  70.     }
  71.     [CCode (cheader_filename = "libide-1.0.h")]
  72.     public class BuildSystem : Ide.Object {
  73.         [CCode (has_construct_function = false)]
  74.         protected BuildSystem ();
  75.         [CCode (has_construct_function = false, type = "void")]
  76.         public async BuildSystem.@async (Ide.Context context, GLib.File project_file, GLib.Cancellable cancellable) throws GLib.Error;
  77.         public virtual unowned Ide.Builder get_builder (GLib.KeyFile config, Ide.Device device) throws GLib.Error;
  78.         [NoAccessorMethod]
  79.         public GLib.File project_file { owned get; construct; }
  80.     }
  81.     [CCode (cheader_filename = "libide-1.0.h")]
  82.     public class Builder : Ide.Object {
  83.         [CCode (has_construct_function = false)]
  84.         protected Builder ();
  85.         public virtual async unowned Ide.BuildResult build_async (out unowned Ide.BuildResult _result, GLib.Cancellable cancellable) throws GLib.Error;
  86.     }
  87.     [CCode (cheader_filename = "libide-1.0.h")]
  88.     public class CIndenter : Ide.Indenter {
  89.         [CCode (has_construct_function = false)]
  90.         protected CIndenter ();
  91.     }
  92.     [CCode (cheader_filename = "libide-1.0.h")]
  93.     public class CLanguage : Ide.Language, GLib.Initable {
  94.         [CCode (has_construct_function = false)]
  95.         protected CLanguage ();
  96.     }
  97.     [CCode (cheader_filename = "libide-1.0.h")]
  98.     public class ClangDiagnosticProvider : Ide.DiagnosticProvider {
  99.         [CCode (has_construct_function = false)]
  100.         protected ClangDiagnosticProvider ();
  101.     }
  102.     [CCode (cheader_filename = "libide-1.0.h")]
  103.     public class ClangHighlighter : Ide.Highlighter {
  104.         [CCode (has_construct_function = false)]
  105.         protected ClangHighlighter ();
  106.     }
  107.     [CCode (cheader_filename = "libide-1.0.h")]
  108.     public class ClangService : Ide.Service {
  109.         [CCode (has_construct_function = false)]
  110.         protected ClangService ();
  111.         public async unowned Ide.ClangTranslationUnit get_translation_unit_async (Ide.File file, int64 min_sequence, GLib.Cancellable cancellable) throws GLib.Error;
  112.     }
  113.     [CCode (cheader_filename = "libide-1.0.h")]
  114.     public class ClangSymbolResolver : Ide.SymbolResolver {
  115.         [CCode (has_construct_function = false)]
  116.         protected ClangSymbolResolver ();
  117.     }
  118.     [CCode (cheader_filename = "libide-1.0.h")]
  119.     public class ClangTranslationUnit : Ide.Object {
  120.         [CCode (has_construct_function = false)]
  121.         protected ClangTranslationUnit ();
  122.         public unowned Ide.Diagnostics get_diagnostics ();
  123.         public int64 get_sequence ();
  124.         public int64 sequence { get; }
  125.     }
  126.     [CCode (cheader_filename = "libide-1.0.h")]
  127.     public class Context : GLib.Object, GLib.AsyncInitable {
  128.         [CCode (has_construct_function = false)]
  129.         protected Context ();
  130.         [CCode (has_construct_function = false, type = "void")]
  131.         public async Context.@async (GLib.File project_file, GLib.Cancellable cancellable) throws GLib.Error;
  132.         public unowned Ide.BackForwardList get_back_forward_list ();
  133.         public unowned Ide.BuildSystem get_build_system ();
  134.         public unowned Ide.DeviceManager get_device_manager ();
  135.         public unowned Ide.Project get_project ();
  136.         public unowned GLib.File get_project_file ();
  137.         public unowned string get_root_build_dir ();
  138.         public unowned Ide.ScriptManager get_script_manager ();
  139.         public unowned Ide.SearchEngine get_search_engine ();
  140.         public void* get_service_typed (GLib.Type service_type);
  141.         public unowned Ide.UnsavedFiles get_unsaved_files ();
  142.         public unowned Ide.Vcs get_vcs ();
  143.         public void set_root_build_dir (string root_build_dir);
  144.         public Ide.BackForwardList back_forward_list { get; }
  145.         public Ide.BuildSystem build_system { get; }
  146.         public Ide.DeviceManager device_manager { get; }
  147.         public GLib.File project_file { get; construct; }
  148.         public string root_build_dir { get; set; }
  149.         public Ide.ScriptManager script_manager { get; }
  150.         public Ide.SearchEngine search_engine { get; }
  151.         public Ide.UnsavedFiles unsaved_files { get; }
  152.         public Ide.Vcs vcs { get; }
  153.     }
  154.     [CCode (cheader_filename = "libide-1.0.h")]
  155.     public class Deployer : Ide.Object {
  156.         [CCode (has_construct_function = false)]
  157.         protected Deployer ();
  158.     }
  159.     [CCode (cheader_filename = "libide-1.0.h")]
  160.     public class Device : Ide.Object {
  161.         [CCode (has_construct_function = false)]
  162.         protected Device ();
  163.         public virtual unowned GLib.KeyFile get_config ();
  164.         public unowned string get_display_name ();
  165.         public unowned string get_id ();
  166.         public virtual unowned string get_system_type ();
  167.         public void set_display_name (string display_name);
  168.         public void set_id (string id);
  169.         public string display_name { get; set; }
  170.         public string id { get; set; }
  171.         public string system_type { get; }
  172.     }
  173.     [CCode (cheader_filename = "libide-1.0.h")]
  174.     public class DeviceManager : Ide.Object {
  175.         [CCode (has_construct_function = false)]
  176.         protected DeviceManager ();
  177.         public void add_provider (Ide.DeviceProvider provider);
  178.         public unowned GLib.PtrArray get_devices ();
  179.         public bool get_settled ();
  180.         public void remove_provider (Ide.DeviceProvider provider);
  181.         public bool settled { get; }
  182.         public virtual signal void device_added (Ide.DeviceProvider p0, Ide.Device p1);
  183.         public virtual signal void device_removed (Ide.DeviceProvider p0, Ide.Device p1);
  184.     }
  185.     [CCode (cheader_filename = "libide-1.0.h")]
  186.     public class DeviceProvider : Ide.Object {
  187.         [CCode (has_construct_function = false)]
  188.         protected DeviceProvider ();
  189.         public unowned GLib.PtrArray get_devices ();
  190.         public virtual bool get_settled ();
  191.         public bool settled { get; }
  192.         public virtual signal void device_added (Ide.Device device);
  193.         public virtual signal void device_removed (Ide.Device device);
  194.     }
  195.     [CCode (cheader_filename = "libide-1.0.h", ref_function = "ide_diagnostic_ref", type_id = "ide_diagnostic_get_type ()", unref_function = "ide_diagnostic_unref")]
  196.     [Compact]
  197.     public class Diagnostic {
  198.         public unowned Ide.SourceLocation get_location ();
  199.         public uint get_num_ranges ();
  200.         public unowned Ide.SourceRange get_range (uint index);
  201.         public Ide.DiagnosticSeverity get_severity ();
  202.         public unowned string get_text ();
  203.     }
  204.     [CCode (cheader_filename = "libide-1.0.h")]
  205.     public class DiagnosticProvider : Ide.Object {
  206.         [CCode (has_construct_function = false)]
  207.         protected DiagnosticProvider ();
  208.         public virtual async unowned Ide.Diagnostics diagnose_async (Ide.File file, GLib.Cancellable cancellable) throws GLib.Error;
  209.     }
  210.     [CCode (cheader_filename = "libide-1.0.h")]
  211.     public class Diagnostician : Ide.Object {
  212.         [CCode (has_construct_function = false)]
  213.         protected Diagnostician ();
  214.         public async unowned Ide.Diagnostics diagnose_async (Ide.File file, GLib.Cancellable cancellable) throws GLib.Error;
  215.     }
  216.     [CCode (cheader_filename = "libide-1.0.h", ref_function = "ide_diagnostics_ref", type_id = "ide_diagnostics_get_type ()", unref_function = "ide_diagnostics_unref")]
  217.     [Compact]
  218.     public class Diagnostics {
  219.         public size_t get_size ();
  220.         public unowned Ide.Diagnostic index (size_t index);
  221.         public void merge (Ide.Diagnostics other);
  222.     }
  223.     [CCode (cheader_filename = "libide-1.0.h")]
  224.     public class DirectoryBuildSystem : Ide.BuildSystem, GLib.AsyncInitable {
  225.         [CCode (has_construct_function = false)]
  226.         protected DirectoryBuildSystem ();
  227.     }
  228.     [CCode (cheader_filename = "libide-1.0.h")]
  229.     public class DirectoryVcs : Ide.Vcs, GLib.AsyncInitable {
  230.         [CCode (has_construct_function = false)]
  231.         protected DirectoryVcs ();
  232.     }
  233.     [CCode (cheader_filename = "libide-1.0.h")]
  234.     public class EditorconfigFileSettings : Ide.FileSettings, GLib.AsyncInitable {
  235.         [CCode (has_construct_function = false)]
  236.         protected EditorconfigFileSettings ();
  237.     }
  238.     [CCode (cheader_filename = "libide-1.0.h")]
  239.     public class File : Ide.Object {
  240.         [CCode (has_construct_function = false)]
  241.         protected File ();
  242.         public bool equal (Ide.File other);
  243.         public unowned GLib.File get_file ();
  244.         public unowned Ide.Language get_language ();
  245.         public unowned string get_path ();
  246.         public unowned string get_project_path ();
  247.         public uint hash ();
  248.         public async unowned Ide.FileSettings load_settings_async (GLib.Cancellable cancellable) throws GLib.Error;
  249.         public GLib.File file { get; construct; }
  250.         public Ide.Language language { get; }
  251.         public string path { get; construct; }
  252.     }
  253.     [CCode (cheader_filename = "libide-1.0.h")]
  254.     public class FileSettings : Ide.Object {
  255.         [CCode (has_construct_function = false)]
  256.         protected FileSettings ();
  257.         public unowned string get_encoding ();
  258.         public unowned Ide.File get_file ();
  259.         public Ide.IndentStyle get_indent_style ();
  260.         public int get_indent_width ();
  261.         public bool get_insert_trailing_newline ();
  262.         public Gtk.SourceNewlineType get_newline_type ();
  263.         public uint get_right_margin_position ();
  264.         public uint get_tab_width ();
  265.         public bool get_trim_trailing_whitespace ();
  266.         public void set_encoding (string encoding);
  267.         public void set_indent_style (Ide.IndentStyle indent_style);
  268.         public void set_indent_width (int indent_width);
  269.         public void set_insert_trailing_newline (bool insert_trailing_newline);
  270.         public void set_newline_type (Gtk.SourceNewlineType newline_type);
  271.         public void set_right_margin_position (uint right_margin_position);
  272.         public void set_tab_width (uint tab_width);
  273.         public void set_trim_trailing_whitespace (bool trim_trailing_whitespace);
  274.         public string encoding { get; set; }
  275.         public Ide.File file { get; construct; }
  276.         public Ide.IndentStyle indent_style { get; set; }
  277.         public int indent_width { get; set; }
  278.         public bool insert_trailing_newline { get; set; }
  279.         public Gtk.SourceNewlineType newline_type { get; set; }
  280.         public uint right_margin_position { get; set; }
  281.         public uint tab_width { get; set; }
  282.         public bool trim_trailing_whitespace { get; set; }
  283.     }
  284.     [CCode (cheader_filename = "libide-1.0.h")]
  285.     public class GitSearchProvider : Ide.SearchProvider {
  286.         [CCode (has_construct_function = false)]
  287.         protected GitSearchProvider ();
  288.     }
  289.     [CCode (cheader_filename = "libide-1.0.h")]
  290.     public class GjsScript : Ide.Script, GLib.AsyncInitable {
  291.         [CCode (has_construct_function = false)]
  292.         protected GjsScript ();
  293.     }
  294.     [CCode (cheader_filename = "libide-1.0.h")]
  295.     public class GsettingsFileSettings : Ide.FileSettings, GLib.AsyncInitable {
  296.         [CCode (has_construct_function = false)]
  297.         protected GsettingsFileSettings ();
  298.     }
  299.     [CCode (cheader_filename = "libide-1.0.h")]
  300.     public class Highlighter : Ide.Object {
  301.         [CCode (has_construct_function = false)]
  302.         protected Highlighter ();
  303.     }
  304.     [CCode (cheader_filename = "libide-1.0.h")]
  305.     public class Indenter : Ide.Object {
  306.         [CCode (has_construct_function = false)]
  307.         protected Indenter ();
  308.         public virtual unowned string format (Gtk.TextView text_view, Gtk.TextIter begin, Gtk.TextIter end, int cursor_offset, Gdk.EventKey event);
  309.         public virtual bool is_trigger (Gdk.EventKey event);
  310.     }
  311.     [CCode (cheader_filename = "libide-1.0.h")]
  312.     public class Language : Ide.Object {
  313.         [CCode (has_construct_function = false)]
  314.         protected Language ();
  315.         public virtual unowned Ide.Diagnostician get_diagnostician ();
  316.         public virtual unowned Ide.Highlighter get_highlighter ();
  317.         public unowned string get_id ();
  318.         public virtual unowned Ide.Indenter get_indenter ();
  319.         public virtual unowned string get_name ();
  320.         public virtual unowned Ide.Refactory get_refactory ();
  321.         public virtual unowned Ide.SymbolResolver get_symbol_resolver ();
  322.         public Ide.Diagnostician diagnostician { get; }
  323.         public Ide.Highlighter highlighter { get; }
  324.         public string id { get; construct; }
  325.         public Ide.Indenter indenter { get; }
  326.         public string name { get; }
  327.         public Ide.Refactory refactory { get; }
  328.         public Ide.SymbolResolver symbol_resolver { get; }
  329.     }
  330.     [CCode (cheader_filename = "libide-1.0.h")]
  331.     public class LocalDevice : Ide.Device {
  332.         [CCode (has_construct_function = false)]
  333.         protected LocalDevice ();
  334.     }
  335.     [CCode (cheader_filename = "libide-1.0.h")]
  336.     public class Object : GLib.Object {
  337.         [CCode (has_construct_function = false)]
  338.         protected Object ();
  339.         [CCode (has_construct_function = false, type = "void")]
  340.         public async Object.@async (string extension_point, int io_priority, GLib.Cancellable cancellable, ...) throws GLib.Error;
  341.         public unowned Ide.Context get_context ();
  342.         public Ide.Context context { get; construct; }
  343.     }
  344.     [CCode (cheader_filename = "libide-1.0.h")]
  345.     public class Project : Ide.Object {
  346.         [CCode (has_construct_function = false)]
  347.         protected Project ();
  348.         public unowned Ide.File get_file_for_path (string path);
  349.         public unowned string get_name ();
  350.         public unowned Ide.ProjectItem get_root ();
  351.         public void reader_lock ();
  352.         public void reader_unlock ();
  353.         public void writer_lock ();
  354.         public void writer_unlock ();
  355.         public string name { get; }
  356.         public Ide.ProjectItem root { get; construct; }
  357.     }
  358.     [CCode (cheader_filename = "libide-1.0.h")]
  359.     public class ProjectFile : Ide.ProjectItem {
  360.         [CCode (has_construct_function = false)]
  361.         protected ProjectFile ();
  362.         public unowned GLib.File get_file ();
  363.         public unowned GLib.FileInfo get_file_info ();
  364.         public unowned string get_name ();
  365.         public unowned string get_path ();
  366.         [NoAccessorMethod]
  367.         public GLib.File file { owned get; set; }
  368.         public GLib.FileInfo file_info { get; construct; }
  369.         public string name { get; }
  370.         public string path { get; construct; }
  371.     }
  372.     [CCode (cheader_filename = "libide-1.0.h")]
  373.     public class ProjectFiles : Ide.ProjectItem {
  374.         [CCode (has_construct_function = false)]
  375.         protected ProjectFiles ();
  376.         public unowned Ide.File get_file_for_path (string path);
  377.     }
  378.     [CCode (cheader_filename = "libide-1.0.h")]
  379.     public class ProjectItem : Ide.Object {
  380.         [CCode (has_construct_function = false)]
  381.         protected ProjectItem ();
  382.         public void append (Ide.ProjectItem child);
  383.         public unowned GLib.Sequence get_children ();
  384.         public unowned Ide.ProjectItem get_parent ();
  385.         public Ide.ProjectItem parent { get; construct; }
  386.     }
  387.     [CCode (cheader_filename = "libide-1.0.h")]
  388.     public class PythonIndenter : Ide.Indenter {
  389.         [CCode (has_construct_function = false)]
  390.         protected PythonIndenter ();
  391.     }
  392.     [CCode (cheader_filename = "libide-1.0.h")]
  393.     public class PythonLanguage : Ide.Language, GLib.Initable {
  394.         [CCode (has_construct_function = false)]
  395.         protected PythonLanguage ();
  396.     }
  397.     [CCode (cheader_filename = "libide-1.0.h")]
  398.     public class Refactory : GLib.Object {
  399.         [CCode (has_construct_function = false)]
  400.         protected Refactory ();
  401.     }
  402.     [CCode (cheader_filename = "libide-1.0.h")]
  403.     [Compact]
  404.     public class RefactoryInterface {
  405.     }
  406.     [CCode (cheader_filename = "libide-1.0.h")]
  407.     public class Script : Ide.Object, GLib.AsyncInitable {
  408.         [CCode (has_construct_function = false)]
  409.         protected Script ();
  410.         public unowned GLib.File get_file ();
  411.         public GLib.File file { get; construct; }
  412.         public virtual signal void load ();
  413.         public virtual signal void unload ();
  414.     }
  415.     [CCode (cheader_filename = "libide-1.0.h")]
  416.     public class ScriptManager : Ide.Object {
  417.         [CCode (has_construct_function = false)]
  418.         protected ScriptManager ();
  419.         public unowned string get_scripts_directory ();
  420.         public async bool load_async (GLib.Cancellable cancellable) throws GLib.Error;
  421.         public string scripts_directory { get; construct; }
  422.     }
  423.     [CCode (cheader_filename = "libide-1.0.h")]
  424.     public class SearchContext : Ide.Object {
  425.         [CCode (has_construct_function = false)]
  426.         protected SearchContext ();
  427.         public void add_result (Ide.SearchProvider provider, Ide.SearchResult _result);
  428.         public void cancel ();
  429.         public void execute (string search_terms);
  430.         public unowned GLib.List get_providers ();
  431.         public void provider_completed (Ide.SearchProvider provider);
  432.         public void remove_result (Ide.SearchProvider provider, Ide.SearchResult _result);
  433.         public void set_provider_count (Ide.SearchProvider provider, uint64 count);
  434.         public virtual signal void completed ();
  435.         public virtual signal void count_set (Ide.SearchProvider p0, uint64 p1);
  436.         public virtual signal void result_added (Ide.SearchProvider p0, Ide.SearchResult p1);
  437.         public virtual signal void result_removed (Ide.SearchProvider p0, Ide.SearchResult p1);
  438.     }
  439.     [CCode (cheader_filename = "libide-1.0.h")]
  440.     public class SearchEngine : Ide.Object {
  441.         [CCode (has_construct_function = false)]
  442.         protected SearchEngine ();
  443.         public void add_provider (Ide.SearchProvider provider);
  444.         public unowned GLib.List get_providers ();
  445.         public unowned Ide.SearchContext search (GLib.List providers, string search_terms);
  446.         public virtual signal void provider_added (Ide.SearchProvider p0);
  447.     }
  448.     [CCode (cheader_filename = "libide-1.0.h")]
  449.     public class SearchProvider : Ide.Object {
  450.         [CCode (has_construct_function = false)]
  451.         protected SearchProvider ();
  452.         public virtual unichar get_prefix ();
  453.         public virtual int get_priority ();
  454.         public virtual unowned string get_verb ();
  455.         public virtual void populate (Ide.SearchContext context, string search_terms, size_t max_results, GLib.Cancellable cancellable);
  456.     }
  457.     [CCode (cheader_filename = "libide-1.0.h")]
  458.     public class SearchResult : Ide.Object {
  459.         [CCode (has_construct_function = false)]
  460.         public SearchResult (Ide.Context context, string title, string subtitle, float score);
  461.         public virtual void activate ();
  462.         public int compare (Ide.SearchResult b);
  463.         public float get_score ();
  464.         public unowned string get_subtitle ();
  465.         public unowned string get_title ();
  466.         public float score { get; construct; }
  467.         public string subtitle { get; construct; }
  468.         public string title { get; construct; }
  469.     }
  470.     [CCode (cheader_filename = "libide-1.0.h")]
  471.     public class Service : Ide.Object {
  472.         [CCode (has_construct_function = false)]
  473.         protected Service ();
  474.         public virtual unowned string get_name ();
  475.         public bool get_running ();
  476.         public string name { get; }
  477.         public bool running { get; }
  478.         public virtual signal void start ();
  479.         public virtual signal void stop ();
  480.     }
  481.     [CCode (cheader_filename = "libide-1.0.h", ref_function = "ide_source_location_ref", type_id = "ide_source_location_get_type ()", unref_function = "ide_source_location_unref")]
  482.     [Compact]
  483.     public class SourceLocation {
  484.         [CCode (has_construct_function = false)]
  485.         public SourceLocation (Ide.File file, uint line, uint line_offset, uint offset);
  486.         public unowned Ide.File get_file ();
  487.         public uint get_line ();
  488.         public uint get_line_offset ();
  489.         public uint get_offset ();
  490.     }
  491.     [CCode (cheader_filename = "libide-1.0.h", ref_function = "ide_source_range_ref", type_id = "ide_source_range_get_type ()", unref_function = "ide_source_range_unref")]
  492.     [Compact]
  493.     public class SourceRange {
  494.         public unowned Ide.SourceLocation get_begin ();
  495.         public unowned Ide.SourceLocation get_end ();
  496.     }
  497.     [CCode (cheader_filename = "libide-1.0.h", ref_function = "ide_symbol_ref", type_id = "ide_symbol_get_type ()", unref_function = "ide_symbol_unref")]
  498.     [Compact]
  499.     public class Symbol {
  500.         public unowned string get_name ();
  501.     }
  502.     [CCode (cheader_filename = "libide-1.0.h")]
  503.     public class SymbolResolver : Ide.Object {
  504.         [CCode (has_construct_function = false)]
  505.         protected SymbolResolver ();
  506.         public async unowned Ide.Symbol lookup_symbol_async (Ide.SourceLocation location, GLib.Cancellable cancellable) throws GLib.Error;
  507.     }
  508.     [CCode (cheader_filename = "libide-1.0.h")]
  509.     [Compact]
  510.     public class SymbolResolverInterface {
  511.     }
  512.     [CCode (cheader_filename = "libide-1.0.h", ref_function = "ide_unsaved_file_ref", type_id = "ide_unsaved_file_get_type ()", unref_function = "ide_unsaved_file_unref")]
  513.     [Compact]
  514.     public class UnsavedFile {
  515.         public unowned GLib.Bytes get_content ();
  516.         public unowned GLib.File get_file ();
  517.         public int64 get_sequence ();
  518.         public unowned string get_temp_path ();
  519.         public bool persist (GLib.Cancellable cancellable) throws GLib.Error;
  520.     }
  521.     [CCode (cheader_filename = "libide-1.0.h")]
  522.     public class UnsavedFiles : Ide.Object {
  523.         [CCode (has_construct_function = false)]
  524.         protected UnsavedFiles ();
  525.         public int64 get_sequence ();
  526.         public unowned Ide.UnsavedFile get_unsaved_file (GLib.File file);
  527.         public unowned GLib.PtrArray get_unsaved_files ();
  528.         public void remove (GLib.File file);
  529.         public async bool restore_async (GLib.Cancellable cancellable) throws GLib.Error;
  530.         public async bool save_async (GLib.Cancellable cancellable) throws GLib.Error;
  531.         public void update (GLib.File file, GLib.Bytes content);
  532.     }
  533.     [CCode (cheader_filename = "libide-1.0.h")]
  534.     public class Vcs : Ide.Object {
  535.         [CCode (has_construct_function = false)]
  536.         protected Vcs ();
  537.         [CCode (has_construct_function = false, type = "void")]
  538.         public async Vcs.@async (Ide.Context context, int io_priority, GLib.Cancellable cancellable) throws GLib.Error;
  539.         public virtual unowned GLib.File get_working_directory ();
  540.     }
  541.     [CCode (cheader_filename = "libide-1.0.h")]
  542.     public class XmlIndenter : Ide.Indenter {
  543.         [CCode (has_construct_function = false)]
  544.         protected XmlIndenter ();
  545.     }
  546.     [CCode (cheader_filename = "libide-1.0.h")]
  547.     public class XmlLanguage : Ide.Language, GLib.Initable {
  548.         [CCode (has_construct_function = false)]
  549.         protected XmlLanguage ();
  550.     }
  551.     [CCode (cheader_filename = "libide-1.0.h")]
  552.     public interface Debugger : Ide.Object {
  553.     }
  554.     [CCode (cheader_filename = "libide-1.0.h")]
  555.     public interface Executable : Ide.Object {
  556.     }
  557.     [CCode (cheader_filename = "libide-1.0.h")]
  558.     public interface Executer : Ide.Object {
  559.     }
  560.     [CCode (cheader_filename = "libide-1.0.h")]
  561.     public interface Process : Ide.Object {
  562.     }
  563.     [CCode (cheader_filename = "libide-1.0.h")]
  564.     public interface Target : Ide.Object {
  565.     }
  566.     [CCode (cheader_filename = "libide-1.0.h")]
  567.     public interface TestCase : Ide.Object {
  568.     }
  569.     [CCode (cheader_filename = "libide-1.0.h")]
  570.     public interface TestSuite : Ide.Object {
  571.     }
  572.     [CCode (cheader_filename = "libide-1.0.h", cprefix = "IDE_DIAGNOSTIC_")]
  573.     public enum DiagnosticSeverity {
  574.         IGNORED,
  575.         NOTE,
  576.         WARNING,
  577.         ERROR,
  578.         FATAL
  579.     }
  580.     [CCode (cheader_filename = "libide-1.0.h", cprefix = "IDE_INDENT_STYLE_")]
  581.     public enum IndentStyle {
  582.         SPACES,
  583.         TABS
  584.     }
  585.     [CCode (cheader_filename = "libide-1.0.h")]
  586.     public const string BUILD_SYSTEM_EXTENSION_POINT;
  587.     [CCode (cheader_filename = "libide-1.0.h")]
  588.     public const string DEVICE_PROVIDER_EXTENSION_POINT;
  589.     [CCode (cheader_filename = "libide-1.0.h")]
  590.     public const string FILE_SETTINGS_EXTENSION_POINT;
  591.     [CCode (cheader_filename = "libide-1.0.h")]
  592.     public const string LANGUAGE_EXTENSION_POINT;
  593.     [CCode (cheader_filename = "libide-1.0.h")]
  594.     public const string SCRIPT_EXTENSION_POINT;
  595.     [CCode (cheader_filename = "libide-1.0.h")]
  596.     public const string SEARCH_PROVIDER_EXTENSION_POINT;
  597.     [CCode (cheader_filename = "libide-1.0.h")]
  598.     public const string SERVICE_EXTENSION_POINT;
  599.     [CCode (cheader_filename = "libide-1.0.h")]
  600.     public const string VCS_EXTENSION_POINT;
  601.     [CCode (cheader_filename = "libide-1.0.h")]
  602.     public static unowned string get_program_name ();
  603.     [CCode (cheader_filename = "libide-1.0.h")]
  604.     public static void set_program_name (string program_name);
  605. }
Advertisement
RAW Paste Data Copied
Advertisement