GType: Fix C warnings for properties in interface_init
[vala-lang.git] / vapi / hildon-fm-2.vapi
blobbb7fdf4cbad40e9f1481277abf0afc7413d8a6d4
1 /* hildon-fm-2.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Hildon", lower_case_cprefix = "hildon_")]
4 namespace Hildon {
5         [CCode (cheader_filename = "hildon/hildon-file-chooser-dialog.h")]
6         public class FileChooserDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable, Gtk.FileChooser {
7                 [CCode (type = "GtkWidget*", has_construct_function = false)]
8                 public FileChooserDialog (Gtk.Window parent, Gtk.FileChooserAction action);
9                 public unowned Gtk.Widget add_extensions_combo (out unowned string extensions, out unowned string ext_names);
10                 public void add_extra (Gtk.Widget widget);
11                 public void focus_to_input ();
12                 public unowned string get_extension ();
13                 public unowned string get_safe_folder ();
14                 public unowned string get_safe_folder_uri ();
15                 public bool get_show_upnp ();
16                 public void set_extension (string extension);
17                 public void set_safe_folder (string local_path);
18                 public void set_safe_folder_uri (string uri);
19                 public void set_show_upnp (bool value);
20                 [CCode (type = "GtkWidget*", has_construct_function = false)]
21                 public FileChooserDialog.with_properties (Gtk.Window parent, ...);
22                 [NoAccessorMethod]
23                 public bool autonaming { get; set; }
24                 [NoAccessorMethod]
25                 public string empty_text { owned get; set; }
26                 [NoAccessorMethod]
27                 public Hildon.FileSystemModel file_system_model { owned get; construct; }
28                 [NoAccessorMethod]
29                 public int max_full_path_length { get; set construct; }
30                 [NoAccessorMethod]
31                 public int max_name_length { get; set construct; }
32                 [NoAccessorMethod]
33                 public string open_button_text { owned get; set; }
34                 [NoAccessorMethod]
35                 public string save_multiple { owned get; set; }
36                 [NoAccessorMethod]
37                 public int selection_mode { get; set; }
38                 [NoAccessorMethod]
39                 public bool show_folder_button { get; set; }
40                 [NoAccessorMethod]
41                 public bool show_location { get; set; }
42         }
43         [CCode (cheader_filename = "hildon/hildon-file-details-dialog.h")]
44         public class FileDetailsDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
45                 [CCode (type = "GtkWidget*", has_construct_function = false)]
46                 public FileDetailsDialog (Gtk.Window parent, string filename);
47                 public bool get_file_iter (out Gtk.TreeIter iter);
48                 public void set_file_iter (Gtk.TreeIter iter);
49                 [CCode (type = "GtkWidget*", has_construct_function = false)]
50                 public FileDetailsDialog.with_model (Gtk.Window parent, Hildon.FileSystemModel model);
51                 [NoAccessorMethod]
52                 public Gtk.Widget additional_tab { owned get; set construct; }
53                 [NoAccessorMethod]
54                 public string additional_tab_label { owned get; set; }
55                 [NoAccessorMethod]
56                 public bool enable_read_only_checkbox { get; set construct; }
57                 [NoAccessorMethod]
58                 public Hildon.FileSystemModel model { owned get; set; }
59                 [NoAccessorMethod]
60                 public bool show_tabs { get; set construct; }
61                 [NoAccessorMethod]
62                 public bool show_type_icon { get; set construct; }
63         }
64         [CCode (cheader_filename = "hildon/hildon-file-selection.h")]
65         public class FileSelection : Gtk.Container, Atk.Implementor, Gtk.Buildable {
66                 public void clear_multi_selection ();
67                 public bool content_iter_is_selected (Gtk.TreeIter iter);
68                 public void dim_current_selection ();
69                 public bool get_active_content_iter (Gtk.TreeIter iter);
70                 public Hildon.FileSelectionPane get_active_pane ();
71                 public bool get_column_headers_visible ();
72                 public bool get_current_content_iter (Gtk.TreeIter iter);
73                 public bool get_current_folder_iter (Gtk.TreeIter iter);
74                 public unowned string get_current_folder_uri ();
75                 public unowned Gtk.FileFilter get_filter ();
76                 public Hildon.FileSelectionMode get_mode ();
77                 public bool get_select_multiple ();
78                 public unowned GLib.SList get_selected_paths ();
79                 public unowned GLib.SList get_selected_uris ();
80                 public void get_sort_key (Hildon.FileSelectionSortKey key, Gtk.SortType order);
81                 public void hide_content_pane ();
82                 public void move_cursor_to_uri (string uri);
83                 public void select_all ();
84                 public bool select_uri (string uri) throws GLib.Error;
85                 public void set_column_headers_visible (bool visible);
86                 public bool set_current_folder_uri (string folder) throws GLib.Error;
87                 public void set_filter (Gtk.FileFilter filter);
88                 public void set_mode (Hildon.FileSelectionMode mode);
89                 public void set_select_multiple (bool select_multiple);
90                 public void set_sort_key (Hildon.FileSelectionSortKey key, Gtk.SortType order);
91                 public void show_content_pane ();
92                 public void undim_all ();
93                 public void unselect_all ();
94                 public void unselect_uri (string uri);
95                 [CCode (type = "GtkWidget*", has_construct_function = false)]
96                 public FileSelection.with_model (Hildon.FileSystemModel model);
97                 [NoAccessorMethod]
98                 public int active_pane { get; set; }
99                 [NoAccessorMethod]
100                 public bool drag_enabled { get; construct; }
101                 [NoAccessorMethod]
102                 public string empty_text { owned get; set; }
103                 [NoAccessorMethod]
104                 public bool local_only { get; set; }
105                 [NoAccessorMethod]
106                 public Hildon.FileSystemModel model { owned get; construct; }
107                 [NoAccessorMethod]
108                 public int pane_position { get; set construct; }
109                 [NoAccessorMethod]
110                 public void* safe_folder { get; set; }
111                 [NoAccessorMethod]
112                 public bool show_hidden { get; set; }
113                 [NoAccessorMethod]
114                 public bool show_upnp { get; set construct; }
115                 [NoAccessorMethod]
116                 public int visible_columns { get; construct; }
117                 public virtual signal void content_pane_context_menu ();
118                 public virtual signal void current_folder_changed ();
119                 public virtual signal void file_activated ();
120                 public virtual signal void location_insensitive (Gtk.TreeIter iter);
121                 public virtual signal void navigation_pane_context_menu ();
122                 public virtual signal void selection_changed ();
123                 public virtual signal void uris_dropped (string destination, void* sources);
124         }
125         [Compact]
126         [CCode (cheader_filename = "hildon/hildon-file-system-info.h")]
127         public class FileSystemInfo {
128                 [CCode (has_construct_function = false)]
129                 public FileSystemInfo (string uri) throws GLib.Error;
130                 public static void async_cancel (Hildon.FileSystemInfoHandle handle);
131                 public static unowned Hildon.FileSystemInfoHandle async_new (string uri, Hildon.FileSystemInfoCallback callback);
132                 public unowned string get_display_name ();
133                 public unowned Gdk.Pixbuf get_icon (Gtk.Widget ref_widget);
134                 public unowned Gdk.Pixbuf get_icon_at_size (Gtk.Widget ref_widget, int size);
135         }
136         [Compact]
137         [CCode (cheader_filename = "hildon/hildon-file-system-info.h")]
138         public class FileSystemInfoHandle {
139         }
140         [CCode (cheader_filename = "hildon/hildon-file-system-model.h")]
141         public class FileSystemModel : GLib.Object, Gtk.TreeModel, Gtk.TreeDragSource {
142                 public unowned string autoname_uri (string uri) throws GLib.Error;
143                 [CCode (type = "gchar*", has_construct_function = false)]
144                 public FileSystemModel.item (Hildon.FileSystemModel model, Gtk.TreeIter parent, string stub_name, string extension);
145                 public void iter_available (Gtk.TreeIter iter, bool available);
146                 public bool load_local_path (string path, Gtk.TreeIter iter);
147                 public bool load_uri (string uri, Gtk.TreeIter iter);
148                 public void reset_available ();
149                 public bool search_local_path (string path, Gtk.TreeIter iter, Gtk.TreeIter start_iter, bool recursive);
150                 public bool search_uri (string uri, Gtk.TreeIter iter, Gtk.TreeIter start_iter, bool recursive);
151                 [NoAccessorMethod]
152                 public string backend { owned get; construct; }
153                 [NoAccessorMethod]
154                 public void* backend_object { get; construct; }
155                 [NoAccessorMethod]
156                 public bool multi_root { get; construct; }
157                 [NoAccessorMethod]
158                 public Gtk.Widget ref_widget { owned get; set; }
159                 [NoAccessorMethod]
160                 public string root_dir { owned get; construct; }
161                 [NoAccessorMethod]
162                 public void* thumbnail_callback { get; set; }
163                 public virtual signal void device_disconnected (Gtk.TreeIter iter);
164                 public virtual signal void finished_loading (Gtk.TreeIter iter);
165         }
166         [CCode (cheader_filename = "hildon/hildon-file-system-storage-dialog.h")]
167         public class FileSystemStorageDialog : Gtk.Dialog, Atk.Implementor, Gtk.Buildable {
168                 [CCode (type = "GtkWidget*", has_construct_function = false)]
169                 public FileSystemStorageDialog (Gtk.Window parent, string uri_str);
170                 public static void set_uri (Gtk.Widget widget, string uri_str);
171         }
172         [CCode (cprefix = "HILDON_FILE_SELECTION_MODE_", has_type_id = "0", cheader_filename = "hildon/hildon-file-selection.h")]
173         public enum FileSelectionMode {
174                 LIST,
175                 THUMBNAILS
176         }
177         [CCode (cprefix = "HILDON_FILE_SELECTION_PANE_", has_type_id = "0", cheader_filename = "hildon/hildon-file-selection.h")]
178         public enum FileSelectionPane {
179                 NAVIGATION,
180                 CONTENT
181         }
182         [CCode (cprefix = "HILDON_FILE_SELECTION_SORT_", has_type_id = "0", cheader_filename = "hildon/hildon-file-selection.h")]
183         public enum FileSelectionSortKey {
184                 NAME,
185                 TYPE,
186                 MODIFIED,
187                 SIZE
188         }
189         [CCode (cprefix = "HILDON_FILE_SELECTION_SHOW_", has_type_id = "0", cheader_filename = "hildon/hildon-file-selection.h")]
190         public enum FileSelectionVisibleColumns {
191                 NAME,
192                 MODIFIED,
193                 SIZE,
194                 ALL
195         }
196         [CCode (cprefix = "HILDON_FILE_SYSTEM_MODEL_", has_type_id = "0", cheader_filename = "hildon/hildon-file-system-model.h")]
197         public enum FileSystemModelColumns {
198                 COLUMN_GTK_PATH_INTERNAL,
199                 COLUMN_LOCAL_PATH,
200                 COLUMN_URI,
201                 COLUMN_FILE_NAME,
202                 COLUMN_DISPLAY_NAME,
203                 COLUMN_SORT_KEY,
204                 COLUMN_MIME_TYPE,
205                 COLUMN_FILE_SIZE,
206                 COLUMN_FILE_TIME,
207                 COLUMN_IS_FOLDER,
208                 COLUMN_IS_AVAILABLE,
209                 COLUMN_HAS_LOCAL_PATH,
210                 COLUMN_TYPE,
211                 COLUMN_ICON,
212                 COLUMN_ICON_EXPANDED,
213                 COLUMN_ICON_COLLAPSED,
214                 COLUMN_THUMBNAIL,
215                 COLUMN_LOAD_READY,
216                 COLUMN_FREE_SPACE,
217                 COLUMN_TITLE,
218                 COLUMN_AUTHOR,
219                 COLUMN_IS_HIDDEN,
220                 COLUMN_UNAVAILABLE_REASON,
221                 COLUMN_FAILED_ACCESS_MESSAGE,
222                 COLUMN_SORT_WEIGHT,
223                 COLUMN_EXTRA_INFO,
224                 COLUMN_IS_DRIVE,
225                 NUM_COLUMNS
226         }
227         [CCode (cprefix = "HILDON_FILE_SYSTEM_MODEL_", has_type_id = "0", cheader_filename = "hildon/hildon-file-system-model.h")]
228         public enum FileSystemModelItemType {
229                 UNKNOWN,
230                 FILE,
231                 FOLDER,
232                 SAFE_FOLDER_IMAGES,
233                 SAFE_FOLDER_VIDEOS,
234                 SAFE_FOLDER_SOUNDS,
235                 SAFE_FOLDER_DOCUMENTS,
236                 SAFE_FOLDER_GAMES,
237                 MMC,
238                 GATEWAY,
239                 LOCAL_DEVICE
240         }
241         [CCode (cheader_filename = "hildon/hildon-file-system-info.h")]
242         public delegate void FileSystemInfoCallback (Hildon.FileSystemInfoHandle handle, Hildon.FileSystemInfo info, GLib.Error error);
243         [CCode (cheader_filename = "hildon/hildon-file-system-model.h", has_target = false)]
244         public delegate bool FileSystemModelThumbnailCallback (string uri, string path, string thumbnail_file);