D-Bus: Emit cast to avoid C warning for signal handling in clients
[vala-lang.git] / vapi / packages / tracker-indexer-module-1.0 / tracker-indexer-module-1.0-custom.vala
blobd154b35334564eeff865c9d205a042578361c540
1 namespace Tracker {
3 namespace Ontology {
4 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
5 public static void field_add (Tracker.Field field);
7 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
8 public static unowned string field_get_display_name (Tracker.Field field);
10 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
11 public static unowned string field_get_id (string name);
13 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
14 public static bool field_is_child_of (string child, string parent);
16 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
17 public static unowned Tracker.Field get_field_by_id (int id);
19 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
20 public static unowned Tracker.Field get_field_by_name (string name);
22 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
23 public static unowned string get_field_name_by_service_name (Tracker.Field field, string service_str);
25 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
26 public static unowned GLib.SList get_field_names_registered (string service_str);
28 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
29 public static unowned string get_service_by_id (int id);
31 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
32 public static unowned string get_service_by_mime (string mime);
34 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
35 public static unowned Tracker.Service get_service_by_name (string service_str);
37 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
38 public static Tracker.DBType get_service_db_by_name (string service_str);
40 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
41 public static int get_service_id_by_name (string service_str);
43 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
44 public static unowned GLib.SList get_service_names_registered ();
46 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
47 public static unowned string get_service_parent (string service_str);
49 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
50 public static unowned string get_service_parent_by_id (int id);
52 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
53 public static int get_service_parent_id_by_id (int id);
55 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
56 public static void init ();
58 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
59 public static void service_add (Tracker.Service service, GLib.SList mimes, GLib.SList mime_prefixes);
61 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
62 public static int service_get_key_metadata (string service_str, string meta_name);
64 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
65 public static bool service_get_show_directories (string service_str);
67 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
68 public static bool service_get_show_files (string service_str);
70 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
71 public static bool service_has_embedded (string service_str);
73 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
74 public static bool service_has_metadata (string service_str);
76 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
77 public static bool service_has_text (string service_str);
79 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
80 public static bool service_has_thumbnails (string service_str);
82 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
83 public static bool service_is_valid (string service_str);
85 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-ontology.h")]
86 public static void shutdown ();
90 namespace ModuleConfig{
91 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
92 public static unowned string get_description (string name);
94 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
95 public static bool get_enabled (string name);
97 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
98 public static unowned GLib.List get_ignored_directories (string name);
100 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
101 public static unowned GLib.List get_ignored_directory_patterns (string name);
103 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
104 public static unowned GLib.List get_ignored_file_patterns (string name);
106 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
107 public static unowned GLib.List get_ignored_files (string name);
109 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
110 public static unowned GLib.List get_index_file_patterns (string name);
112 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
113 public static unowned GLib.List get_index_files (string name);
115 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
116 public static unowned GLib.List get_index_mime_types (string name);
118 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
119 public static unowned string get_index_service (string name);
121 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
122 public static unowned GLib.List get_modules ();
124 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
125 public static unowned GLib.List get_monitor_directories (string name);
127 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
128 public static unowned GLib.List get_monitor_recurse_directories (string name);
130 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
131 public static bool init ();
133 [CCode (cheader_filename = "tracker-1.0/libtracker-common/tracker-module-config.h")]
134 public static void shutdown ();
138 namespace Module {
139 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
140 public delegate void FileFreeDataFunc ();
141 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)]
142 public delegate void* FileGetDataFunc (string path);
143 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)]
144 public delegate unowned Tracker.Metadata FileGetMetadataFunc (Tracker.File file);
145 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)]
146 public delegate unowned string FileGetServiceTypeFunc (Tracker.File file);
147 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)]
148 public delegate unowned string FileGetText (Tracker.File path);
149 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)]
150 public delegate void FileGetUriFunc (Tracker.File file, string dirname, string basename);
151 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)]
152 public delegate bool FileIterContents (Tracker.File path);
153 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)]
154 public delegate unowned string GetDirectoriesFunc ();
155 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)]
156 public delegate unowned string GetNameFunc ();
157 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)]
158 public delegate void Init ();
159 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h", has_target = false)]
160 public delegate void Shutdown ();
162 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
163 public static void file_free_data (void* file_data);
164 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
165 public static void* file_get_data (string path);
166 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
167 public static unowned Tracker.Metadata file_get_metadata (Tracker.File file);
168 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
169 public static unowned string file_get_service_type (Tracker.File file);
170 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
171 public static unowned string file_get_text (Tracker.File file);
172 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
173 public static void file_get_uri (Tracker.File file, string dirname, string basename);
174 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
175 public static bool file_iter_contents (Tracker.File file);
176 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
177 public static unowned string get_name ();
178 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
179 public static void init ();
180 [CCode (cheader_filename = "tracker-1.0/libtracker-indexer/tracker-module.h")]
181 public static void shutdown ();