find tdeio plugin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1399 lines
59 KiB

8 years ago
  1. /* Generated by dbus-binding-tool; do not edit! *
  2. I did edit it, to keep g++ from going crazy. So sue me. Andreas Eckstein
  3. */
  4. #include <glib/gtypes.h>
  5. #include <glib/gerror.h>
  6. #include <dbus/dbus-glib.h>
  7. G_BEGIN_DECLS
  8. #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker
  9. #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker
  10. static
  11. #ifdef G_HAVE_INLINE
  12. inline
  13. #endif
  14. gboolean
  15. org_freedesktop_Tracker_get_version (DBusGProxy *proxy, gint* OUT_version, GError **error)
  16. {
  17. return dbus_g_proxy_call (proxy, "GetVersion", error, G_TYPE_INVALID, G_TYPE_INT, OUT_version, G_TYPE_INVALID);
  18. }
  19. typedef void (*org_freedesktop_Tracker_get_version_reply) (DBusGProxy *proxy, gint OUT_version, GError *error, gpointer userdata);
  20. static void
  21. org_freedesktop_Tracker_get_version_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  22. {
  23. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  24. GError *error = NULL;
  25. gint OUT_version;
  26. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INT, &OUT_version, G_TYPE_INVALID);
  27. (*(org_freedesktop_Tracker_get_version_reply)data->cb) (proxy, OUT_version, error, data->userdata);
  28. return;
  29. }
  30. static
  31. #ifdef G_HAVE_INLINE
  32. inline
  33. #endif
  34. DBusGProxyCall*
  35. org_freedesktop_Tracker_get_version_async (DBusGProxy *proxy, org_freedesktop_Tracker_get_version_reply callback, gpointer userdata)
  36. {
  37. DBusGAsyncData *stuff;
  38. stuff = g_new (DBusGAsyncData, 1);
  39. stuff->cb = G_CALLBACK (callback);
  40. stuff->userdata = userdata;
  41. return dbus_g_proxy_begin_call (proxy, "GetVersion", org_freedesktop_Tracker_get_version_async_callback, stuff, g_free, G_TYPE_INVALID);
  42. }
  43. static
  44. #ifdef G_HAVE_INLINE
  45. inline
  46. #endif
  47. gboolean
  48. org_freedesktop_Tracker_get_services (DBusGProxy *proxy, const gboolean IN_main_services_only, GHashTable** OUT_result, GError **error)
  49. {
  50. return dbus_g_proxy_call (proxy, "GetServices", error, G_TYPE_BOOLEAN, IN_main_services_only, G_TYPE_INVALID, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE), OUT_result, G_TYPE_INVALID);
  51. }
  52. typedef void (*org_freedesktop_Tracker_get_services_reply) (DBusGProxy *proxy, GHashTable *OUT_result, GError *error, gpointer userdata);
  53. static void
  54. org_freedesktop_Tracker_get_services_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  55. {
  56. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  57. GError *error = NULL;
  58. GHashTable* OUT_result;
  59. dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_map ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE), &OUT_result, G_TYPE_INVALID);
  60. (*(org_freedesktop_Tracker_get_services_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  61. return;
  62. }
  63. static
  64. #ifdef G_HAVE_INLINE
  65. inline
  66. #endif
  67. DBusGProxyCall*
  68. org_freedesktop_Tracker_get_services_async (DBusGProxy *proxy, const gboolean IN_main_services_only, org_freedesktop_Tracker_get_services_reply callback, gpointer userdata)
  69. {
  70. DBusGAsyncData *stuff;
  71. stuff = g_new (DBusGAsyncData, 1);
  72. stuff->cb = G_CALLBACK (callback);
  73. stuff->userdata = userdata;
  74. return dbus_g_proxy_begin_call (proxy, "GetServices", org_freedesktop_Tracker_get_services_async_callback, stuff, g_free, G_TYPE_BOOLEAN, IN_main_services_only, G_TYPE_INVALID);
  75. }
  76. static
  77. #ifdef G_HAVE_INLINE
  78. inline
  79. #endif
  80. gboolean
  81. org_freedesktop_Tracker_get_stats (DBusGProxy *proxy, GPtrArray** OUT_service_stats, GError **error)
  82. {
  83. return dbus_g_proxy_call (proxy, "GetStats", error, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", G_TYPE_STRV), OUT_service_stats, G_TYPE_INVALID);
  84. }
  85. typedef void (*org_freedesktop_Tracker_get_stats_reply) (DBusGProxy *proxy, GPtrArray *OUT_service_stats, GError *error, gpointer userdata);
  86. static void
  87. org_freedesktop_Tracker_get_stats_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  88. {
  89. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  90. GError *error = NULL;
  91. GPtrArray* OUT_service_stats;
  92. dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("GPtrArray", G_TYPE_STRV), &OUT_service_stats, G_TYPE_INVALID);
  93. (*(org_freedesktop_Tracker_get_stats_reply)data->cb) (proxy, OUT_service_stats, error, data->userdata);
  94. return;
  95. }
  96. static
  97. #ifdef G_HAVE_INLINE
  98. inline
  99. #endif
  100. DBusGProxyCall*
  101. org_freedesktop_Tracker_get_stats_async (DBusGProxy *proxy, org_freedesktop_Tracker_get_stats_reply callback, gpointer userdata)
  102. {
  103. DBusGAsyncData *stuff;
  104. stuff = g_new (DBusGAsyncData, 1);
  105. stuff->cb = G_CALLBACK (callback);
  106. stuff->userdata = userdata;
  107. return dbus_g_proxy_begin_call (proxy, "GetStats", org_freedesktop_Tracker_get_stats_async_callback, stuff, g_free, G_TYPE_INVALID);
  108. }
  109. #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker */
  110. #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker_Metadata
  111. #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker_Metadata
  112. static
  113. #ifdef G_HAVE_INLINE
  114. inline
  115. #endif
  116. gboolean
  117. org_freedesktop_Tracker_Metadata_get (DBusGProxy *proxy, const char * IN_service, const char * IN_id, const char ** IN_keys, char *** OUT_values, GError **error)
  118. {
  119. return dbus_g_proxy_call (proxy, "Get", error, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_STRV, IN_keys, G_TYPE_INVALID, G_TYPE_STRV, OUT_values, G_TYPE_INVALID);
  120. }
  121. typedef void (*org_freedesktop_Tracker_Metadata_get_reply) (DBusGProxy *proxy, char * *OUT_values, GError *error, gpointer userdata);
  122. static void
  123. org_freedesktop_Tracker_Metadata_get_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  124. {
  125. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  126. GError *error = NULL;
  127. char ** OUT_values;
  128. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_values, G_TYPE_INVALID);
  129. (*(org_freedesktop_Tracker_Metadata_get_reply)data->cb) (proxy, OUT_values, error, data->userdata);
  130. return;
  131. }
  132. static
  133. #ifdef G_HAVE_INLINE
  134. inline
  135. #endif
  136. DBusGProxyCall*
  137. org_freedesktop_Tracker_Metadata_get_async (DBusGProxy *proxy, const char * IN_service, const char * IN_id, const char ** IN_keys, org_freedesktop_Tracker_Metadata_get_reply callback, gpointer userdata)
  138. {
  139. DBusGAsyncData *stuff;
  140. stuff = g_new (DBusGAsyncData, 1);
  141. stuff->cb = G_CALLBACK (callback);
  142. stuff->userdata = userdata;
  143. return dbus_g_proxy_begin_call (proxy, "Get", org_freedesktop_Tracker_Metadata_get_async_callback, stuff, g_free, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_STRV, IN_keys, G_TYPE_INVALID);
  144. }
  145. static
  146. #ifdef G_HAVE_INLINE
  147. inline
  148. #endif
  149. gboolean
  150. org_freedesktop_Tracker_Metadata_set (DBusGProxy *proxy, const char * IN_service, const char * IN_id, const char ** IN_keys, const char ** IN_values, GError **error)
  151. {
  152. return dbus_g_proxy_call (proxy, "Set", error, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_STRV, IN_keys, G_TYPE_STRV, IN_values, G_TYPE_INVALID, G_TYPE_INVALID);
  153. }
  154. typedef void (*org_freedesktop_Tracker_Metadata_set_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
  155. static void
  156. org_freedesktop_Tracker_Metadata_set_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  157. {
  158. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  159. GError *error = NULL;
  160. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
  161. (*(org_freedesktop_Tracker_Metadata_set_reply)data->cb) (proxy, error, data->userdata);
  162. return;
  163. }
  164. static
  165. #ifdef G_HAVE_INLINE
  166. inline
  167. #endif
  168. DBusGProxyCall*
  169. org_freedesktop_Tracker_Metadata_set_async (DBusGProxy *proxy, const char * IN_service, const char * IN_id, const char ** IN_keys, const char ** IN_values, org_freedesktop_Tracker_Metadata_set_reply callback, gpointer userdata)
  170. {
  171. DBusGAsyncData *stuff;
  172. stuff = g_new (DBusGAsyncData, 1);
  173. stuff->cb = G_CALLBACK (callback);
  174. stuff->userdata = userdata;
  175. return dbus_g_proxy_begin_call (proxy, "Set", org_freedesktop_Tracker_Metadata_set_async_callback, stuff, g_free, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_STRV, IN_keys, G_TYPE_STRV, IN_values, G_TYPE_INVALID);
  176. }
  177. static
  178. #ifdef G_HAVE_INLINE
  179. inline
  180. #endif
  181. gboolean
  182. org_freedesktop_Tracker_Metadata_register_type (DBusGProxy *proxy, const char * IN_name, const char * IN_datatype, GError **error)
  183. {
  184. return dbus_g_proxy_call (proxy, "RegisterType", error, G_TYPE_STRING, IN_name, G_TYPE_STRING, IN_datatype, G_TYPE_INVALID, G_TYPE_INVALID);
  185. }
  186. typedef void (*org_freedesktop_Tracker_Metadata_register_type_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
  187. static void
  188. org_freedesktop_Tracker_Metadata_register_type_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  189. {
  190. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  191. GError *error = NULL;
  192. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
  193. (*(org_freedesktop_Tracker_Metadata_register_type_reply)data->cb) (proxy, error, data->userdata);
  194. return;
  195. }
  196. static
  197. #ifdef G_HAVE_INLINE
  198. inline
  199. #endif
  200. DBusGProxyCall*
  201. org_freedesktop_Tracker_Metadata_register_type_async (DBusGProxy *proxy, const char * IN_name, const char * IN_datatype, org_freedesktop_Tracker_Metadata_register_type_reply callback, gpointer userdata)
  202. {
  203. DBusGAsyncData *stuff;
  204. stuff = g_new (DBusGAsyncData, 1);
  205. stuff->cb = G_CALLBACK (callback);
  206. stuff->userdata = userdata;
  207. return dbus_g_proxy_begin_call (proxy, "RegisterType", org_freedesktop_Tracker_Metadata_register_type_async_callback, stuff, g_free, G_TYPE_STRING, IN_name, G_TYPE_STRING, IN_datatype, G_TYPE_INVALID);
  208. }
  209. static
  210. #ifdef G_HAVE_INLINE
  211. inline
  212. #endif
  213. gboolean
  214. org_freedesktop_Tracker_Metadata_get_type_details (DBusGProxy *proxy, const char * IN_name, char ** OUT_data_type, gboolean* OUT_is_embedded, gboolean* OUT_is_writable, GError **error)
  215. {
  216. return dbus_g_proxy_call (proxy, "GetTypeDetails", error, G_TYPE_STRING, IN_name, G_TYPE_INVALID, G_TYPE_STRING, OUT_data_type, G_TYPE_BOOLEAN, OUT_is_embedded, G_TYPE_BOOLEAN, OUT_is_writable, G_TYPE_INVALID);
  217. }
  218. typedef void (*org_freedesktop_Tracker_Metadata_get_type_details_reply) (DBusGProxy *proxy, char * OUT_data_type, gboolean OUT_is_embedded, gboolean OUT_is_writable, GError *error, gpointer userdata);
  219. static void
  220. org_freedesktop_Tracker_Metadata_get_type_details_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  221. {
  222. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  223. GError *error = NULL;
  224. char * OUT_data_type;
  225. gboolean OUT_is_embedded;
  226. gboolean OUT_is_writable;
  227. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_data_type, G_TYPE_BOOLEAN, &OUT_is_embedded, G_TYPE_BOOLEAN, &OUT_is_writable, G_TYPE_INVALID);
  228. (*(org_freedesktop_Tracker_Metadata_get_type_details_reply)data->cb) (proxy, OUT_data_type, OUT_is_embedded, OUT_is_writable, error, data->userdata);
  229. return;
  230. }
  231. static
  232. #ifdef G_HAVE_INLINE
  233. inline
  234. #endif
  235. DBusGProxyCall*
  236. org_freedesktop_Tracker_Metadata_get_type_details_async (DBusGProxy *proxy, const char * IN_name, org_freedesktop_Tracker_Metadata_get_type_details_reply callback, gpointer userdata)
  237. {
  238. DBusGAsyncData *stuff;
  239. stuff = g_new (DBusGAsyncData, 1);
  240. stuff->cb = G_CALLBACK (callback);
  241. stuff->userdata = userdata;
  242. return dbus_g_proxy_begin_call (proxy, "GetTypeDetails", org_freedesktop_Tracker_Metadata_get_type_details_async_callback, stuff, g_free, G_TYPE_STRING, IN_name, G_TYPE_INVALID);
  243. }
  244. static
  245. #ifdef G_HAVE_INLINE
  246. inline
  247. #endif
  248. gboolean
  249. org_freedesktop_Tracker_Metadata_get_registered_types (DBusGProxy *proxy, const char * IN_metadata_class, char *** OUT_result, GError **error)
  250. {
  251. return dbus_g_proxy_call (proxy, "GetRegisteredTypes", error, G_TYPE_STRING, IN_metadata_class, G_TYPE_INVALID, G_TYPE_STRV, OUT_result, G_TYPE_INVALID);
  252. }
  253. typedef void (*org_freedesktop_Tracker_Metadata_get_registered_types_reply) (DBusGProxy *proxy, char * *OUT_result, GError *error, gpointer userdata);
  254. static void
  255. org_freedesktop_Tracker_Metadata_get_registered_types_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  256. {
  257. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  258. GError *error = NULL;
  259. char ** OUT_result;
  260. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_result, G_TYPE_INVALID);
  261. (*(org_freedesktop_Tracker_Metadata_get_registered_types_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  262. return;
  263. }
  264. static
  265. #ifdef G_HAVE_INLINE
  266. inline
  267. #endif
  268. DBusGProxyCall*
  269. org_freedesktop_Tracker_Metadata_get_registered_types_async (DBusGProxy *proxy, const char * IN_metadata_class, org_freedesktop_Tracker_Metadata_get_registered_types_reply callback, gpointer userdata)
  270. {
  271. DBusGAsyncData *stuff;
  272. stuff = g_new (DBusGAsyncData, 1);
  273. stuff->cb = G_CALLBACK (callback);
  274. stuff->userdata = userdata;
  275. return dbus_g_proxy_begin_call (proxy, "GetRegisteredTypes", org_freedesktop_Tracker_Metadata_get_registered_types_async_callback, stuff, g_free, G_TYPE_STRING, IN_metadata_class, G_TYPE_INVALID);
  276. }
  277. static
  278. #ifdef G_HAVE_INLINE
  279. inline
  280. #endif
  281. gboolean
  282. org_freedesktop_Tracker_Metadata_get_writeable_types (DBusGProxy *proxy, const char * IN_metadata_class, char *** OUT_result, GError **error)
  283. {
  284. return dbus_g_proxy_call (proxy, "GetWriteableTypes", error, G_TYPE_STRING, IN_metadata_class, G_TYPE_INVALID, G_TYPE_STRV, OUT_result, G_TYPE_INVALID);
  285. }
  286. typedef void (*org_freedesktop_Tracker_Metadata_get_writeable_types_reply) (DBusGProxy *proxy, char * *OUT_result, GError *error, gpointer userdata);
  287. static void
  288. org_freedesktop_Tracker_Metadata_get_writeable_types_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  289. {
  290. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  291. GError *error = NULL;
  292. char ** OUT_result;
  293. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_result, G_TYPE_INVALID);
  294. (*(org_freedesktop_Tracker_Metadata_get_writeable_types_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  295. return;
  296. }
  297. static
  298. #ifdef G_HAVE_INLINE
  299. inline
  300. #endif
  301. DBusGProxyCall*
  302. org_freedesktop_Tracker_Metadata_get_writeable_types_async (DBusGProxy *proxy, const char * IN_metadata_class, org_freedesktop_Tracker_Metadata_get_writeable_types_reply callback, gpointer userdata)
  303. {
  304. DBusGAsyncData *stuff;
  305. stuff = g_new (DBusGAsyncData, 1);
  306. stuff->cb = G_CALLBACK (callback);
  307. stuff->userdata = userdata;
  308. return dbus_g_proxy_begin_call (proxy, "GetWriteableTypes", org_freedesktop_Tracker_Metadata_get_writeable_types_async_callback, stuff, g_free, G_TYPE_STRING, IN_metadata_class, G_TYPE_INVALID);
  309. }
  310. static
  311. #ifdef G_HAVE_INLINE
  312. inline
  313. #endif
  314. gboolean
  315. org_freedesktop_Tracker_Metadata_get_registered_classes (DBusGProxy *proxy, char *** OUT_result, GError **error)
  316. {
  317. return dbus_g_proxy_call (proxy, "GetRegisteredClasses", error, G_TYPE_INVALID, G_TYPE_STRV, OUT_result, G_TYPE_INVALID);
  318. }
  319. typedef void (*org_freedesktop_Tracker_Metadata_get_registered_classes_reply) (DBusGProxy *proxy, char * *OUT_result, GError *error, gpointer userdata);
  320. static void
  321. org_freedesktop_Tracker_Metadata_get_registered_classes_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  322. {
  323. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  324. GError *error = NULL;
  325. char ** OUT_result;
  326. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_result, G_TYPE_INVALID);
  327. (*(org_freedesktop_Tracker_Metadata_get_registered_classes_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  328. return;
  329. }
  330. static
  331. #ifdef G_HAVE_INLINE
  332. inline
  333. #endif
  334. DBusGProxyCall*
  335. org_freedesktop_Tracker_Metadata_get_registered_classes_async (DBusGProxy *proxy, org_freedesktop_Tracker_Metadata_get_registered_classes_reply callback, gpointer userdata)
  336. {
  337. DBusGAsyncData *stuff;
  338. stuff = g_new (DBusGAsyncData, 1);
  339. stuff->cb = G_CALLBACK (callback);
  340. stuff->userdata = userdata;
  341. return dbus_g_proxy_begin_call (proxy, "GetRegisteredClasses", org_freedesktop_Tracker_Metadata_get_registered_classes_async_callback, stuff, g_free, G_TYPE_INVALID);
  342. }
  343. #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker_Metadata */
  344. #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker_Keywords
  345. #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker_Keywords
  346. static
  347. #ifdef G_HAVE_INLINE
  348. inline
  349. #endif
  350. gboolean
  351. org_freedesktop_Tracker_Keywords_get_list (DBusGProxy *proxy, const char * IN_service, GPtrArray** OUT_value, GError **error)
  352. {
  353. return dbus_g_proxy_call (proxy, "GetList", error, G_TYPE_STRING, IN_service, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", G_TYPE_STRV), OUT_value, G_TYPE_INVALID);
  354. }
  355. typedef void (*org_freedesktop_Tracker_Keywords_get_list_reply) (DBusGProxy *proxy, GPtrArray *OUT_value, GError *error, gpointer userdata);
  356. static void
  357. org_freedesktop_Tracker_Keywords_get_list_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  358. {
  359. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  360. GError *error = NULL;
  361. GPtrArray* OUT_value;
  362. dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("GPtrArray", G_TYPE_STRV), &OUT_value, G_TYPE_INVALID);
  363. (*(org_freedesktop_Tracker_Keywords_get_list_reply)data->cb) (proxy, OUT_value, error, data->userdata);
  364. return;
  365. }
  366. static
  367. #ifdef G_HAVE_INLINE
  368. inline
  369. #endif
  370. DBusGProxyCall*
  371. org_freedesktop_Tracker_Keywords_get_list_async (DBusGProxy *proxy, const char * IN_service, org_freedesktop_Tracker_Keywords_get_list_reply callback, gpointer userdata)
  372. {
  373. DBusGAsyncData *stuff;
  374. stuff = g_new (DBusGAsyncData, 1);
  375. stuff->cb = G_CALLBACK (callback);
  376. stuff->userdata = userdata;
  377. return dbus_g_proxy_begin_call (proxy, "GetList", org_freedesktop_Tracker_Keywords_get_list_async_callback, stuff, g_free, G_TYPE_STRING, IN_service, G_TYPE_INVALID);
  378. }
  379. static
  380. #ifdef G_HAVE_INLINE
  381. inline
  382. #endif
  383. gboolean
  384. org_freedesktop_Tracker_Keywords_get (DBusGProxy *proxy, const char * IN_service, const char * IN_id, char *** OUT_value, GError **error)
  385. {
  386. return dbus_g_proxy_call (proxy, "Get", error, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_INVALID, G_TYPE_STRV, OUT_value, G_TYPE_INVALID);
  387. }
  388. typedef void (*org_freedesktop_Tracker_Keywords_get_reply) (DBusGProxy *proxy, char * *OUT_value, GError *error, gpointer userdata);
  389. static void
  390. org_freedesktop_Tracker_Keywords_get_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  391. {
  392. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  393. GError *error = NULL;
  394. char ** OUT_value;
  395. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_value, G_TYPE_INVALID);
  396. (*(org_freedesktop_Tracker_Keywords_get_reply)data->cb) (proxy, OUT_value, error, data->userdata);
  397. return;
  398. }
  399. static
  400. #ifdef G_HAVE_INLINE
  401. inline
  402. #endif
  403. DBusGProxyCall*
  404. org_freedesktop_Tracker_Keywords_get_async (DBusGProxy *proxy, const char * IN_service, const char * IN_id, org_freedesktop_Tracker_Keywords_get_reply callback, gpointer userdata)
  405. {
  406. DBusGAsyncData *stuff;
  407. stuff = g_new (DBusGAsyncData, 1);
  408. stuff->cb = G_CALLBACK (callback);
  409. stuff->userdata = userdata;
  410. return dbus_g_proxy_begin_call (proxy, "Get", org_freedesktop_Tracker_Keywords_get_async_callback, stuff, g_free, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_INVALID);
  411. }
  412. static
  413. #ifdef G_HAVE_INLINE
  414. inline
  415. #endif
  416. gboolean
  417. org_freedesktop_Tracker_Keywords_add (DBusGProxy *proxy, const char * IN_service, const char * IN_id, const char ** IN_values, GError **error)
  418. {
  419. return dbus_g_proxy_call (proxy, "Add", error, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_STRV, IN_values, G_TYPE_INVALID, G_TYPE_INVALID);
  420. }
  421. typedef void (*org_freedesktop_Tracker_Keywords_add_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
  422. static void
  423. org_freedesktop_Tracker_Keywords_add_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  424. {
  425. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  426. GError *error = NULL;
  427. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
  428. (*(org_freedesktop_Tracker_Keywords_add_reply)data->cb) (proxy, error, data->userdata);
  429. return;
  430. }
  431. static
  432. #ifdef G_HAVE_INLINE
  433. inline
  434. #endif
  435. DBusGProxyCall*
  436. org_freedesktop_Tracker_Keywords_add_async (DBusGProxy *proxy, const char * IN_service, const char * IN_id, const char ** IN_values, org_freedesktop_Tracker_Keywords_add_reply callback, gpointer userdata)
  437. {
  438. DBusGAsyncData *stuff;
  439. stuff = g_new (DBusGAsyncData, 1);
  440. stuff->cb = G_CALLBACK (callback);
  441. stuff->userdata = userdata;
  442. return dbus_g_proxy_begin_call (proxy, "Add", org_freedesktop_Tracker_Keywords_add_async_callback, stuff, g_free, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_STRV, IN_values, G_TYPE_INVALID);
  443. }
  444. static
  445. #ifdef G_HAVE_INLINE
  446. inline
  447. #endif
  448. gboolean
  449. org_freedesktop_Tracker_Keywords_remove (DBusGProxy *proxy, const char * IN_service, const char * IN_id, const char ** IN_keywords, GError **error)
  450. {
  451. return dbus_g_proxy_call (proxy, "Remove", error, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_STRV, IN_keywords, G_TYPE_INVALID, G_TYPE_INVALID);
  452. }
  453. typedef void (*org_freedesktop_Tracker_Keywords_remove_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
  454. static void
  455. org_freedesktop_Tracker_Keywords_remove_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  456. {
  457. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  458. GError *error = NULL;
  459. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
  460. (*(org_freedesktop_Tracker_Keywords_remove_reply)data->cb) (proxy, error, data->userdata);
  461. return;
  462. }
  463. static
  464. #ifdef G_HAVE_INLINE
  465. inline
  466. #endif
  467. DBusGProxyCall*
  468. org_freedesktop_Tracker_Keywords_remove_async (DBusGProxy *proxy, const char * IN_service, const char * IN_id, const char ** IN_keywords, org_freedesktop_Tracker_Keywords_remove_reply callback, gpointer userdata)
  469. {
  470. DBusGAsyncData *stuff;
  471. stuff = g_new (DBusGAsyncData, 1);
  472. stuff->cb = G_CALLBACK (callback);
  473. stuff->userdata = userdata;
  474. return dbus_g_proxy_begin_call (proxy, "Remove", org_freedesktop_Tracker_Keywords_remove_async_callback, stuff, g_free, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_STRV, IN_keywords, G_TYPE_INVALID);
  475. }
  476. static
  477. #ifdef G_HAVE_INLINE
  478. inline
  479. #endif
  480. gboolean
  481. org_freedesktop_Tracker_Keywords_remove_all (DBusGProxy *proxy, const char * IN_service, const char * IN_id, GError **error)
  482. {
  483. return dbus_g_proxy_call (proxy, "RemoveAll", error, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_INVALID, G_TYPE_INVALID);
  484. }
  485. typedef void (*org_freedesktop_Tracker_Keywords_remove_all_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
  486. static void
  487. org_freedesktop_Tracker_Keywords_remove_all_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  488. {
  489. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  490. GError *error = NULL;
  491. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
  492. (*(org_freedesktop_Tracker_Keywords_remove_all_reply)data->cb) (proxy, error, data->userdata);
  493. return;
  494. }
  495. static
  496. #ifdef G_HAVE_INLINE
  497. inline
  498. #endif
  499. DBusGProxyCall*
  500. org_freedesktop_Tracker_Keywords_remove_all_async (DBusGProxy *proxy, const char * IN_service, const char * IN_id, org_freedesktop_Tracker_Keywords_remove_all_reply callback, gpointer userdata)
  501. {
  502. DBusGAsyncData *stuff;
  503. stuff = g_new (DBusGAsyncData, 1);
  504. stuff->cb = G_CALLBACK (callback);
  505. stuff->userdata = userdata;
  506. return dbus_g_proxy_begin_call (proxy, "RemoveAll", org_freedesktop_Tracker_Keywords_remove_all_async_callback, stuff, g_free, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_INVALID);
  507. }
  508. static
  509. #ifdef G_HAVE_INLINE
  510. inline
  511. #endif
  512. gboolean
  513. org_freedesktop_Tracker_Keywords_search (DBusGProxy *proxy, const gint IN_live_query_id, const char * IN_service, const char ** IN_keywords, const gint IN_offset, const gint IN_max_hits, char *** OUT_result, GError **error)
  514. {
  515. return dbus_g_proxy_call (proxy, "Search", error, G_TYPE_INT, IN_live_query_id, G_TYPE_STRING, IN_service, G_TYPE_STRV, IN_keywords, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID, G_TYPE_STRV, OUT_result, G_TYPE_INVALID);
  516. }
  517. typedef void (*org_freedesktop_Tracker_Keywords_search_reply) (DBusGProxy *proxy, char * *OUT_result, GError *error, gpointer userdata);
  518. static void
  519. org_freedesktop_Tracker_Keywords_search_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  520. {
  521. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  522. GError *error = NULL;
  523. char ** OUT_result;
  524. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_result, G_TYPE_INVALID);
  525. (*(org_freedesktop_Tracker_Keywords_search_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  526. return;
  527. }
  528. static
  529. #ifdef G_HAVE_INLINE
  530. inline
  531. #endif
  532. DBusGProxyCall*
  533. org_freedesktop_Tracker_Keywords_search_async (DBusGProxy *proxy, const gint IN_live_query_id, const char * IN_service, const char ** IN_keywords, const gint IN_offset, const gint IN_max_hits, org_freedesktop_Tracker_Keywords_search_reply callback, gpointer userdata)
  534. {
  535. DBusGAsyncData *stuff;
  536. stuff = g_new (DBusGAsyncData, 1);
  537. stuff->cb = G_CALLBACK (callback);
  538. stuff->userdata = userdata;
  539. return dbus_g_proxy_begin_call (proxy, "Search", org_freedesktop_Tracker_Keywords_search_async_callback, stuff, g_free, G_TYPE_INT, IN_live_query_id, G_TYPE_STRING, IN_service, G_TYPE_STRV, IN_keywords, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID);
  540. }
  541. #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker_Keywords */
  542. #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker_Search
  543. #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker_Search
  544. static
  545. #ifdef G_HAVE_INLINE
  546. inline
  547. #endif
  548. gboolean
  549. org_freedesktop_Tracker_Search_text (DBusGProxy *proxy, const gint IN_live_query_id, const char * IN_service, const char * IN_search_text, const gint IN_offset, const gint IN_max_hits, char *** OUT_result, GError **error)
  550. {
  551. return dbus_g_proxy_call (proxy, "Text", error, G_TYPE_INT, IN_live_query_id, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_search_text, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID, G_TYPE_STRV, OUT_result, G_TYPE_INVALID);
  552. }
  553. typedef void (*org_freedesktop_Tracker_Search_text_reply) (DBusGProxy *proxy, char * *OUT_result, GError *error, gpointer userdata);
  554. static void
  555. org_freedesktop_Tracker_Search_text_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  556. {
  557. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  558. GError *error = NULL;
  559. char ** OUT_result;
  560. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_result, G_TYPE_INVALID);
  561. (*(org_freedesktop_Tracker_Search_text_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  562. return;
  563. }
  564. static
  565. #ifdef G_HAVE_INLINE
  566. inline
  567. #endif
  568. DBusGProxyCall*
  569. org_freedesktop_Tracker_Search_text_async (DBusGProxy *proxy, const gint IN_live_query_id, const char * IN_service, const char * IN_search_text, const gint IN_offset, const gint IN_max_hits, org_freedesktop_Tracker_Search_text_reply callback, gpointer userdata)
  570. {
  571. DBusGAsyncData *stuff;
  572. stuff = g_new (DBusGAsyncData, 1);
  573. stuff->cb = G_CALLBACK (callback);
  574. stuff->userdata = userdata;
  575. return dbus_g_proxy_begin_call (proxy, "Text", org_freedesktop_Tracker_Search_text_async_callback, stuff, g_free, G_TYPE_INT, IN_live_query_id, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_search_text, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID);
  576. }
  577. static
  578. #ifdef G_HAVE_INLINE
  579. inline
  580. #endif
  581. gboolean
  582. org_freedesktop_Tracker_Search_text_detailed (DBusGProxy *proxy, const gint IN_live_query_id, const char * IN_service, const char * IN_search_text, const gint IN_offset, const gint IN_max_hits, GPtrArray** OUT_result, GError **error)
  583. {
  584. return dbus_g_proxy_call (proxy, "TextDetailed", error, G_TYPE_INT, IN_live_query_id, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_search_text, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", G_TYPE_STRV), OUT_result, G_TYPE_INVALID);
  585. }
  586. typedef void (*org_freedesktop_Tracker_Search_text_detailed_reply) (DBusGProxy *proxy, GPtrArray *OUT_result, GError *error, gpointer userdata);
  587. static void
  588. org_freedesktop_Tracker_Search_text_detailed_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  589. {
  590. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  591. GError *error = NULL;
  592. GPtrArray* OUT_result;
  593. dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("GPtrArray", G_TYPE_STRV), &OUT_result, G_TYPE_INVALID);
  594. (*(org_freedesktop_Tracker_Search_text_detailed_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  595. return;
  596. }
  597. static
  598. #ifdef G_HAVE_INLINE
  599. inline
  600. #endif
  601. DBusGProxyCall*
  602. org_freedesktop_Tracker_Search_text_detailed_async (DBusGProxy *proxy, const gint IN_live_query_id, const char * IN_service, const char * IN_search_text, const gint IN_offset, const gint IN_max_hits, org_freedesktop_Tracker_Search_text_detailed_reply callback, gpointer userdata)
  603. {
  604. DBusGAsyncData *stuff;
  605. stuff = g_new (DBusGAsyncData, 1);
  606. stuff->cb = G_CALLBACK (callback);
  607. stuff->userdata = userdata;
  608. return dbus_g_proxy_begin_call (proxy, "TextDetailed", org_freedesktop_Tracker_Search_text_detailed_async_callback, stuff, g_free, G_TYPE_INT, IN_live_query_id, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_search_text, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID);
  609. }
  610. static
  611. #ifdef G_HAVE_INLINE
  612. inline
  613. #endif
  614. gboolean
  615. org_freedesktop_Tracker_Search_get_snippet (DBusGProxy *proxy, const char * IN_service, const char * IN_id, const char * IN_search_text, char ** OUT_result, GError **error)
  616. {
  617. return dbus_g_proxy_call (proxy, "GetSnippet", error, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_STRING, IN_search_text, G_TYPE_INVALID, G_TYPE_STRING, OUT_result, G_TYPE_INVALID);
  618. }
  619. typedef void (*org_freedesktop_Tracker_Search_get_snippet_reply) (DBusGProxy *proxy, char * OUT_result, GError *error, gpointer userdata);
  620. static void
  621. org_freedesktop_Tracker_Search_get_snippet_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  622. {
  623. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  624. GError *error = NULL;
  625. char * OUT_result;
  626. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_result, G_TYPE_INVALID);
  627. (*(org_freedesktop_Tracker_Search_get_snippet_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  628. return;
  629. }
  630. static
  631. #ifdef G_HAVE_INLINE
  632. inline
  633. #endif
  634. DBusGProxyCall*
  635. org_freedesktop_Tracker_Search_get_snippet_async (DBusGProxy *proxy, const char * IN_service, const char * IN_id, const char * IN_search_text, org_freedesktop_Tracker_Search_get_snippet_reply callback, gpointer userdata)
  636. {
  637. DBusGAsyncData *stuff;
  638. stuff = g_new (DBusGAsyncData, 1);
  639. stuff->cb = G_CALLBACK (callback);
  640. stuff->userdata = userdata;
  641. return dbus_g_proxy_begin_call (proxy, "GetSnippet", org_freedesktop_Tracker_Search_get_snippet_async_callback, stuff, g_free, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_id, G_TYPE_STRING, IN_search_text, G_TYPE_INVALID);
  642. }
  643. static
  644. #ifdef G_HAVE_INLINE
  645. inline
  646. #endif
  647. gboolean
  648. org_freedesktop_Tracker_Search_metadata (DBusGProxy *proxy, const char * IN_service, const char * IN_field, const char * IN_search_text, const gint IN_offset, const gint IN_max_hits, char *** OUT_result, GError **error)
  649. {
  650. return dbus_g_proxy_call (proxy, "Metadata", error, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_field, G_TYPE_STRING, IN_search_text, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID, G_TYPE_STRV, OUT_result, G_TYPE_INVALID);
  651. }
  652. typedef void (*org_freedesktop_Tracker_Search_metadata_reply) (DBusGProxy *proxy, char * *OUT_result, GError *error, gpointer userdata);
  653. static void
  654. org_freedesktop_Tracker_Search_metadata_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  655. {
  656. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  657. GError *error = NULL;
  658. char ** OUT_result;
  659. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_result, G_TYPE_INVALID);
  660. (*(org_freedesktop_Tracker_Search_metadata_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  661. return;
  662. }
  663. static
  664. #ifdef G_HAVE_INLINE
  665. inline
  666. #endif
  667. DBusGProxyCall*
  668. org_freedesktop_Tracker_Search_metadata_async (DBusGProxy *proxy, const char * IN_service, const char * IN_field, const char * IN_search_text, const gint IN_offset, const gint IN_max_hits, org_freedesktop_Tracker_Search_metadata_reply callback, gpointer userdata)
  669. {
  670. DBusGAsyncData *stuff;
  671. stuff = g_new (DBusGAsyncData, 1);
  672. stuff->cb = G_CALLBACK (callback);
  673. stuff->userdata = userdata;
  674. return dbus_g_proxy_begin_call (proxy, "Metadata", org_freedesktop_Tracker_Search_metadata_async_callback, stuff, g_free, G_TYPE_STRING, IN_service, G_TYPE_STRING, IN_field, G_TYPE_STRING, IN_search_text, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID);
  675. }
  676. static
  677. #ifdef G_HAVE_INLINE
  678. inline
  679. #endif
  680. gboolean
  681. org_freedesktop_Tracker_Search_query (DBusGProxy *proxy, const gint IN_live_query_id, const char * IN_service, const char ** IN_fields, const char * IN_search_text, const char * IN_keyword, const char * IN_query_condition, const gboolean IN_sort_by_service, const gint IN_offset, const gint IN_max_hits, GPtrArray** OUT_result, GError **error)
  682. {
  683. return dbus_g_proxy_call (proxy, "Query", error, G_TYPE_INT, IN_live_query_id, G_TYPE_STRING, IN_service, G_TYPE_STRV, IN_fields, G_TYPE_STRING, IN_search_text, G_TYPE_STRING, IN_keyword, G_TYPE_STRING, IN_query_condition, G_TYPE_BOOLEAN, IN_sort_by_service, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", G_TYPE_STRV), OUT_result, G_TYPE_INVALID);
  684. }
  685. typedef void (*org_freedesktop_Tracker_Search_query_reply) (DBusGProxy *proxy, GPtrArray *OUT_result, GError *error, gpointer userdata);
  686. static void
  687. org_freedesktop_Tracker_Search_query_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  688. {
  689. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  690. GError *error = NULL;
  691. GPtrArray* OUT_result;
  692. dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("GPtrArray", G_TYPE_STRV), &OUT_result, G_TYPE_INVALID);
  693. (*(org_freedesktop_Tracker_Search_query_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  694. return;
  695. }
  696. static
  697. #ifdef G_HAVE_INLINE
  698. inline
  699. #endif
  700. DBusGProxyCall*
  701. org_freedesktop_Tracker_Search_query_async (DBusGProxy *proxy, const gint IN_live_query_id, const char * IN_service, const char ** IN_fields, const char * IN_search_text, const char * IN_keyword, const char * IN_query_condition, const gboolean IN_sort_by_service, const gint IN_offset, const gint IN_max_hits, org_freedesktop_Tracker_Search_query_reply callback, gpointer userdata)
  702. {
  703. DBusGAsyncData *stuff;
  704. stuff = g_new (DBusGAsyncData, 1);
  705. stuff->cb = G_CALLBACK (callback);
  706. stuff->userdata = userdata;
  707. return dbus_g_proxy_begin_call (proxy, "Query", org_freedesktop_Tracker_Search_query_async_callback, stuff, g_free, G_TYPE_INT, IN_live_query_id, G_TYPE_STRING, IN_service, G_TYPE_STRV, IN_fields, G_TYPE_STRING, IN_search_text, G_TYPE_STRING, IN_keyword, G_TYPE_STRING, IN_query_condition, G_TYPE_BOOLEAN, IN_sort_by_service, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID);
  708. }
  709. #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker_Search */
  710. #ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker_Files
  711. #define DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker_Files
  712. static
  713. #ifdef G_HAVE_INLINE
  714. inline
  715. #endif
  716. gboolean
  717. org_freedesktop_Tracker_Files_exists (DBusGProxy *proxy, const char * IN_uri, const gboolean IN_auto_create, gboolean* OUT_result, GError **error)
  718. {
  719. return dbus_g_proxy_call (proxy, "Exists", error, G_TYPE_STRING, IN_uri, G_TYPE_BOOLEAN, IN_auto_create, G_TYPE_INVALID, G_TYPE_BOOLEAN, OUT_result, G_TYPE_INVALID);
  720. }
  721. typedef void (*org_freedesktop_Tracker_Files_exists_reply) (DBusGProxy *proxy, gboolean OUT_result, GError *error, gpointer userdata);
  722. static void
  723. org_freedesktop_Tracker_Files_exists_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  724. {
  725. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  726. GError *error = NULL;
  727. gboolean OUT_result;
  728. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_BOOLEAN, &OUT_result, G_TYPE_INVALID);
  729. (*(org_freedesktop_Tracker_Files_exists_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  730. return;
  731. }
  732. static
  733. #ifdef G_HAVE_INLINE
  734. inline
  735. #endif
  736. DBusGProxyCall*
  737. org_freedesktop_Tracker_Files_exists_async (DBusGProxy *proxy, const char * IN_uri, const gboolean IN_auto_create, org_freedesktop_Tracker_Files_exists_reply callback, gpointer userdata)
  738. {
  739. DBusGAsyncData *stuff;
  740. stuff = g_new (DBusGAsyncData, 1);
  741. stuff->cb = G_CALLBACK (callback);
  742. stuff->userdata = userdata;
  743. return dbus_g_proxy_begin_call (proxy, "Exists", org_freedesktop_Tracker_Files_exists_async_callback, stuff, g_free, G_TYPE_STRING, IN_uri, G_TYPE_BOOLEAN, IN_auto_create, G_TYPE_INVALID);
  744. }
  745. static
  746. #ifdef G_HAVE_INLINE
  747. inline
  748. #endif
  749. gboolean
  750. org_freedesktop_Tracker_Files_create (DBusGProxy *proxy, const char * IN_uri, const gboolean IN_is_directory, const char * IN_mime, const gint IN_size, const gint IN_mtime, GError **error)
  751. {
  752. return dbus_g_proxy_call (proxy, "Create", error, G_TYPE_STRING, IN_uri, G_TYPE_BOOLEAN, IN_is_directory, G_TYPE_STRING, IN_mime, G_TYPE_INT, IN_size, G_TYPE_INT, IN_mtime, G_TYPE_INVALID, G_TYPE_INVALID);
  753. }
  754. typedef void (*org_freedesktop_Tracker_Files_create_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
  755. static void
  756. org_freedesktop_Tracker_Files_create_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  757. {
  758. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  759. GError *error = NULL;
  760. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
  761. (*(org_freedesktop_Tracker_Files_create_reply)data->cb) (proxy, error, data->userdata);
  762. return;
  763. }
  764. static
  765. #ifdef G_HAVE_INLINE
  766. inline
  767. #endif
  768. DBusGProxyCall*
  769. org_freedesktop_Tracker_Files_create_async (DBusGProxy *proxy, const char * IN_uri, const gboolean IN_is_directory, const char * IN_mime, const gint IN_size, const gint IN_mtime, org_freedesktop_Tracker_Files_create_reply callback, gpointer userdata)
  770. {
  771. DBusGAsyncData *stuff;
  772. stuff = g_new (DBusGAsyncData, 1);
  773. stuff->cb = G_CALLBACK (callback);
  774. stuff->userdata = userdata;
  775. return dbus_g_proxy_begin_call (proxy, "Create", org_freedesktop_Tracker_Files_create_async_callback, stuff, g_free, G_TYPE_STRING, IN_uri, G_TYPE_BOOLEAN, IN_is_directory, G_TYPE_STRING, IN_mime, G_TYPE_INT, IN_size, G_TYPE_INT, IN_mtime, G_TYPE_INVALID);
  776. }
  777. static
  778. #ifdef G_HAVE_INLINE
  779. inline
  780. #endif
  781. gboolean
  782. org_freedesktop_Tracker_Files_delete (DBusGProxy *proxy, const char * IN_uri, GError **error)
  783. {
  784. return dbus_g_proxy_call (proxy, "Delete", error, G_TYPE_STRING, IN_uri, G_TYPE_INVALID, G_TYPE_INVALID);
  785. }
  786. typedef void (*org_freedesktop_Tracker_Files_delete_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
  787. static void
  788. org_freedesktop_Tracker_Files_delete_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  789. {
  790. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  791. GError *error = NULL;
  792. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
  793. (*(org_freedesktop_Tracker_Files_delete_reply)data->cb) (proxy, error, data->userdata);
  794. return;
  795. }
  796. static
  797. #ifdef G_HAVE_INLINE
  798. inline
  799. #endif
  800. DBusGProxyCall*
  801. org_freedesktop_Tracker_Files_delete_async (DBusGProxy *proxy, const char * IN_uri, org_freedesktop_Tracker_Files_delete_reply callback, gpointer userdata)
  802. {
  803. DBusGAsyncData *stuff;
  804. stuff = g_new (DBusGAsyncData, 1);
  805. stuff->cb = G_CALLBACK (callback);
  806. stuff->userdata = userdata;
  807. return dbus_g_proxy_begin_call (proxy, "Delete", org_freedesktop_Tracker_Files_delete_async_callback, stuff, g_free, G_TYPE_STRING, IN_uri, G_TYPE_INVALID);
  808. }
  809. static
  810. #ifdef G_HAVE_INLINE
  811. inline
  812. #endif
  813. gboolean
  814. org_freedesktop_Tracker_Files_get_service_type (DBusGProxy *proxy, const char * IN_uri, char ** OUT_result, GError **error)
  815. {
  816. return dbus_g_proxy_call (proxy, "GetServiceType", error, G_TYPE_STRING, IN_uri, G_TYPE_INVALID, G_TYPE_STRING, OUT_result, G_TYPE_INVALID);
  817. }
  818. typedef void (*org_freedesktop_Tracker_Files_get_service_type_reply) (DBusGProxy *proxy, char * OUT_result, GError *error, gpointer userdata);
  819. static void
  820. org_freedesktop_Tracker_Files_get_service_type_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  821. {
  822. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  823. GError *error = NULL;
  824. char * OUT_result;
  825. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_result, G_TYPE_INVALID);
  826. (*(org_freedesktop_Tracker_Files_get_service_type_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  827. return;
  828. }
  829. static
  830. #ifdef G_HAVE_INLINE
  831. inline
  832. #endif
  833. DBusGProxyCall*
  834. org_freedesktop_Tracker_Files_get_service_type_async (DBusGProxy *proxy, const char * IN_uri, org_freedesktop_Tracker_Files_get_service_type_reply callback, gpointer userdata)
  835. {
  836. DBusGAsyncData *stuff;
  837. stuff = g_new (DBusGAsyncData, 1);
  838. stuff->cb = G_CALLBACK (callback);
  839. stuff->userdata = userdata;
  840. return dbus_g_proxy_begin_call (proxy, "GetServiceType", org_freedesktop_Tracker_Files_get_service_type_async_callback, stuff, g_free, G_TYPE_STRING, IN_uri, G_TYPE_INVALID);
  841. }
  842. static
  843. #ifdef G_HAVE_INLINE
  844. inline
  845. #endif
  846. gboolean
  847. org_freedesktop_Tracker_Files_get_text_contents (DBusGProxy *proxy, const char * IN_uri, const gint IN_offset, const gint IN_max_length, char ** OUT_result, GError **error)
  848. {
  849. return dbus_g_proxy_call (proxy, "GetTextContents", error, G_TYPE_STRING, IN_uri, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_length, G_TYPE_INVALID, G_TYPE_STRING, OUT_result, G_TYPE_INVALID);
  850. }
  851. typedef void (*org_freedesktop_Tracker_Files_get_text_contents_reply) (DBusGProxy *proxy, char * OUT_result, GError *error, gpointer userdata);
  852. static void
  853. org_freedesktop_Tracker_Files_get_text_contents_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  854. {
  855. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  856. GError *error = NULL;
  857. char * OUT_result;
  858. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_result, G_TYPE_INVALID);
  859. (*(org_freedesktop_Tracker_Files_get_text_contents_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  860. return;
  861. }
  862. static
  863. #ifdef G_HAVE_INLINE
  864. inline
  865. #endif
  866. DBusGProxyCall*
  867. org_freedesktop_Tracker_Files_get_text_contents_async (DBusGProxy *proxy, const char * IN_uri, const gint IN_offset, const gint IN_max_length, org_freedesktop_Tracker_Files_get_text_contents_reply callback, gpointer userdata)
  868. {
  869. DBusGAsyncData *stuff;
  870. stuff = g_new (DBusGAsyncData, 1);
  871. stuff->cb = G_CALLBACK (callback);
  872. stuff->userdata = userdata;
  873. return dbus_g_proxy_begin_call (proxy, "GetTextContents", org_freedesktop_Tracker_Files_get_text_contents_async_callback, stuff, g_free, G_TYPE_STRING, IN_uri, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_length, G_TYPE_INVALID);
  874. }
  875. static
  876. #ifdef G_HAVE_INLINE
  877. inline
  878. #endif
  879. gboolean
  880. org_freedesktop_Tracker_Files_search_text_contents (DBusGProxy *proxy, const char * IN_uri, const char * IN_text, const gint IN_length, char ** OUT_result, GError **error)
  881. {
  882. return dbus_g_proxy_call (proxy, "SearchTextContents", error, G_TYPE_STRING, IN_uri, G_TYPE_STRING, IN_text, G_TYPE_INT, IN_length, G_TYPE_INVALID, G_TYPE_STRING, OUT_result, G_TYPE_INVALID);
  883. }
  884. typedef void (*org_freedesktop_Tracker_Files_search_text_contents_reply) (DBusGProxy *proxy, char * OUT_result, GError *error, gpointer userdata);
  885. static void
  886. org_freedesktop_Tracker_Files_search_text_contents_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  887. {
  888. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  889. GError *error = NULL;
  890. char * OUT_result;
  891. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRING, &OUT_result, G_TYPE_INVALID);
  892. (*(org_freedesktop_Tracker_Files_search_text_contents_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  893. return;
  894. }
  895. static
  896. #ifdef G_HAVE_INLINE
  897. inline
  898. #endif
  899. DBusGProxyCall*
  900. org_freedesktop_Tracker_Files_search_text_contents_async (DBusGProxy *proxy, const char * IN_uri, const char * IN_text, const gint IN_length, org_freedesktop_Tracker_Files_search_text_contents_reply callback, gpointer userdata)
  901. {
  902. DBusGAsyncData *stuff;
  903. stuff = g_new (DBusGAsyncData, 1);
  904. stuff->cb = G_CALLBACK (callback);
  905. stuff->userdata = userdata;
  906. return dbus_g_proxy_begin_call (proxy, "SearchTextContents", org_freedesktop_Tracker_Files_search_text_contents_async_callback, stuff, g_free, G_TYPE_STRING, IN_uri, G_TYPE_STRING, IN_text, G_TYPE_INT, IN_length, G_TYPE_INVALID);
  907. }
  908. static
  909. #ifdef G_HAVE_INLINE
  910. inline
  911. #endif
  912. gboolean
  913. org_freedesktop_Tracker_Files_get_by_service_type (DBusGProxy *proxy, const gint IN_live_query_id, const char * IN_file_service, const gint IN_offset, const gint IN_max_hits, char *** OUT_result, GError **error)
  914. {
  915. return dbus_g_proxy_call (proxy, "GetByServiceType", error, G_TYPE_INT, IN_live_query_id, G_TYPE_STRING, IN_file_service, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID, G_TYPE_STRV, OUT_result, G_TYPE_INVALID);
  916. }
  917. typedef void (*org_freedesktop_Tracker_Files_get_by_service_type_reply) (DBusGProxy *proxy, char * *OUT_result, GError *error, gpointer userdata);
  918. static void
  919. org_freedesktop_Tracker_Files_get_by_service_type_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  920. {
  921. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  922. GError *error = NULL;
  923. char ** OUT_result;
  924. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_result, G_TYPE_INVALID);
  925. (*(org_freedesktop_Tracker_Files_get_by_service_type_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  926. return;
  927. }
  928. static
  929. #ifdef G_HAVE_INLINE
  930. inline
  931. #endif
  932. DBusGProxyCall*
  933. org_freedesktop_Tracker_Files_get_by_service_type_async (DBusGProxy *proxy, const gint IN_live_query_id, const char * IN_file_service, const gint IN_offset, const gint IN_max_hits, org_freedesktop_Tracker_Files_get_by_service_type_reply callback, gpointer userdata)
  934. {
  935. DBusGAsyncData *stuff;
  936. stuff = g_new (DBusGAsyncData, 1);
  937. stuff->cb = G_CALLBACK (callback);
  938. stuff->userdata = userdata;
  939. return dbus_g_proxy_begin_call (proxy, "GetByServiceType", org_freedesktop_Tracker_Files_get_by_service_type_async_callback, stuff, g_free, G_TYPE_INT, IN_live_query_id, G_TYPE_STRING, IN_file_service, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID);
  940. }
  941. static
  942. #ifdef G_HAVE_INLINE
  943. inline
  944. #endif
  945. gboolean
  946. org_freedesktop_Tracker_Files_get_by_mime_type (DBusGProxy *proxy, const gint IN_live_query_id, const char ** IN_mime_types, const gint IN_offset, const gint IN_max_hits, char *** OUT_result, GError **error)
  947. {
  948. return dbus_g_proxy_call (proxy, "GetByMimeType", error, G_TYPE_INT, IN_live_query_id, G_TYPE_STRV, IN_mime_types, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID, G_TYPE_STRV, OUT_result, G_TYPE_INVALID);
  949. }
  950. typedef void (*org_freedesktop_Tracker_Files_get_by_mime_type_reply) (DBusGProxy *proxy, char * *OUT_result, GError *error, gpointer userdata);
  951. static void
  952. org_freedesktop_Tracker_Files_get_by_mime_type_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  953. {
  954. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  955. GError *error = NULL;
  956. char ** OUT_result;
  957. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_result, G_TYPE_INVALID);
  958. (*(org_freedesktop_Tracker_Files_get_by_mime_type_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  959. return;
  960. }
  961. static
  962. #ifdef G_HAVE_INLINE
  963. inline
  964. #endif
  965. DBusGProxyCall*
  966. org_freedesktop_Tracker_Files_get_by_mime_type_async (DBusGProxy *proxy, const gint IN_live_query_id, const char ** IN_mime_types, const gint IN_offset, const gint IN_max_hits, org_freedesktop_Tracker_Files_get_by_mime_type_reply callback, gpointer userdata)
  967. {
  968. DBusGAsyncData *stuff;
  969. stuff = g_new (DBusGAsyncData, 1);
  970. stuff->cb = G_CALLBACK (callback);
  971. stuff->userdata = userdata;
  972. return dbus_g_proxy_begin_call (proxy, "GetByMimeType", org_freedesktop_Tracker_Files_get_by_mime_type_async_callback, stuff, g_free, G_TYPE_INT, IN_live_query_id, G_TYPE_STRV, IN_mime_types, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID);
  973. }
  974. static
  975. #ifdef G_HAVE_INLINE
  976. inline
  977. #endif
  978. gboolean
  979. org_freedesktop_Tracker_Files_get_by_mime_type_vfs (DBusGProxy *proxy, const gint IN_live_query_id, const char ** IN_mime_types, const gint IN_offset, const gint IN_max_hits, char *** OUT_result, GError **error)
  980. {
  981. return dbus_g_proxy_call (proxy, "GetByMimeTypeVfs", error, G_TYPE_INT, IN_live_query_id, G_TYPE_STRV, IN_mime_types, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID, G_TYPE_STRV, OUT_result, G_TYPE_INVALID);
  982. }
  983. typedef void (*org_freedesktop_Tracker_Files_get_by_mime_type_vfs_reply) (DBusGProxy *proxy, char * *OUT_result, GError *error, gpointer userdata);
  984. static void
  985. org_freedesktop_Tracker_Files_get_by_mime_type_vfs_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  986. {
  987. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  988. GError *error = NULL;
  989. char ** OUT_result;
  990. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_result, G_TYPE_INVALID);
  991. (*(org_freedesktop_Tracker_Files_get_by_mime_type_vfs_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  992. return;
  993. }
  994. static
  995. #ifdef G_HAVE_INLINE
  996. inline
  997. #endif
  998. DBusGProxyCall*
  999. org_freedesktop_Tracker_Files_get_by_mime_type_vfs_async (DBusGProxy *proxy, const gint IN_live_query_id, const char ** IN_mime_types, const gint IN_offset, const gint IN_max_hits, org_freedesktop_Tracker_Files_get_by_mime_type_vfs_reply callback, gpointer userdata)
  1000. {
  1001. DBusGAsyncData *stuff;
  1002. stuff = g_new (DBusGAsyncData, 1);
  1003. stuff->cb = G_CALLBACK (callback);
  1004. stuff->userdata = userdata;
  1005. return dbus_g_proxy_begin_call (proxy, "GetByMimeTypeVfs", org_freedesktop_Tracker_Files_get_by_mime_type_vfs_async_callback, stuff, g_free, G_TYPE_INT, IN_live_query_id, G_TYPE_STRV, IN_mime_types, G_TYPE_INT, IN_offset, G_TYPE_INT, IN_max_hits, G_TYPE_INVALID);
  1006. }
  1007. static
  1008. #ifdef G_HAVE_INLINE
  1009. inline
  1010. #endif
  1011. gboolean
  1012. org_freedesktop_Tracker_Files_refresh_metadata (DBusGProxy *proxy, const char * IN_uri, const gboolean IN_basic, const gboolean IN_embedded, const gboolean IN_contents, const gboolean IN_thumbnails, GError **error)
  1013. {
  1014. return dbus_g_proxy_call (proxy, "RefreshMetadata", error, G_TYPE_STRING, IN_uri, G_TYPE_BOOLEAN, IN_basic, G_TYPE_BOOLEAN, IN_embedded, G_TYPE_BOOLEAN, IN_contents, G_TYPE_BOOLEAN, IN_thumbnails, G_TYPE_INVALID, G_TYPE_INVALID);
  1015. }
  1016. typedef void (*org_freedesktop_Tracker_Files_refresh_metadata_reply) (DBusGProxy *proxy, GError *error, gpointer userdata);
  1017. static void
  1018. org_freedesktop_Tracker_Files_refresh_metadata_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  1019. {
  1020. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  1021. GError *error = NULL;
  1022. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID);
  1023. (*(org_freedesktop_Tracker_Files_refresh_metadata_reply)data->cb) (proxy, error, data->userdata);
  1024. return;
  1025. }
  1026. static
  1027. #ifdef G_HAVE_INLINE
  1028. inline
  1029. #endif
  1030. DBusGProxyCall*
  1031. org_freedesktop_Tracker_Files_refresh_metadata_async (DBusGProxy *proxy, const char * IN_uri, const gboolean IN_basic, const gboolean IN_embedded, const gboolean IN_contents, const gboolean IN_thumbnails, org_freedesktop_Tracker_Files_refresh_metadata_reply callback, gpointer userdata)
  1032. {
  1033. DBusGAsyncData *stuff;
  1034. stuff = g_new (DBusGAsyncData, 1);
  1035. stuff->cb = G_CALLBACK (callback);
  1036. stuff->userdata = userdata;
  1037. return dbus_g_proxy_begin_call (proxy, "RefreshMetadata", org_freedesktop_Tracker_Files_refresh_metadata_async_callback, stuff, g_free, G_TYPE_STRING, IN_uri, G_TYPE_BOOLEAN, IN_basic, G_TYPE_BOOLEAN, IN_embedded, G_TYPE_BOOLEAN, IN_contents, G_TYPE_BOOLEAN, IN_thumbnails, G_TYPE_INVALID);
  1038. }
  1039. static
  1040. #ifdef G_HAVE_INLINE
  1041. inline
  1042. #endif
  1043. gboolean
  1044. org_freedesktop_Tracker_Files_get_mtime (DBusGProxy *proxy, const char * IN_uri, gint* OUT_result, GError **error)
  1045. {
  1046. return dbus_g_proxy_call (proxy, "GetMTime", error, G_TYPE_STRING, IN_uri, G_TYPE_INVALID, G_TYPE_INT, OUT_result, G_TYPE_INVALID);
  1047. }
  1048. typedef void (*org_freedesktop_Tracker_Files_get_mtime_reply) (DBusGProxy *proxy, gint OUT_result, GError *error, gpointer userdata);
  1049. static void
  1050. org_freedesktop_Tracker_Files_get_mtime_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  1051. {
  1052. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  1053. GError *error = NULL;
  1054. gint OUT_result;
  1055. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INT, &OUT_result, G_TYPE_INVALID);
  1056. (*(org_freedesktop_Tracker_Files_get_mtime_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  1057. return;
  1058. }
  1059. static
  1060. #ifdef G_HAVE_INLINE
  1061. inline
  1062. #endif
  1063. DBusGProxyCall*
  1064. org_freedesktop_Tracker_Files_get_mtime_async (DBusGProxy *proxy, const char * IN_uri, org_freedesktop_Tracker_Files_get_mtime_reply callback, gpointer userdata)
  1065. {
  1066. DBusGAsyncData *stuff;
  1067. stuff = g_new (DBusGAsyncData, 1);
  1068. stuff->cb = G_CALLBACK (callback);
  1069. stuff->userdata = userdata;
  1070. return dbus_g_proxy_begin_call (proxy, "GetMTime", org_freedesktop_Tracker_Files_get_mtime_async_callback, stuff, g_free, G_TYPE_STRING, IN_uri, G_TYPE_INVALID);
  1071. }
  1072. static
  1073. #ifdef G_HAVE_INLINE
  1074. inline
  1075. #endif
  1076. gboolean
  1077. org_freedesktop_Tracker_Files_get_metadata_for_files_in_folder (DBusGProxy *proxy, const gint IN_live_query_id, const char * IN_uri, const char ** IN_fields, GPtrArray** OUT_values, GError **error)
  1078. {
  1079. return dbus_g_proxy_call (proxy, "GetMetadataForFilesInFolder", error, G_TYPE_INT, IN_live_query_id, G_TYPE_STRING, IN_uri, G_TYPE_STRV, IN_fields, G_TYPE_INVALID, dbus_g_type_get_collection ("GPtrArray", G_TYPE_STRV), OUT_values, G_TYPE_INVALID);
  1080. }
  1081. typedef void (*org_freedesktop_Tracker_Files_get_metadata_for_files_in_folder_reply) (DBusGProxy *proxy, GPtrArray *OUT_values, GError *error, gpointer userdata);
  1082. static void
  1083. org_freedesktop_Tracker_Files_get_metadata_for_files_in_folder_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  1084. {
  1085. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  1086. GError *error = NULL;
  1087. GPtrArray* OUT_values;
  1088. dbus_g_proxy_end_call (proxy, call, &error, dbus_g_type_get_collection ("GPtrArray", G_TYPE_STRV), &OUT_values, G_TYPE_INVALID);
  1089. (*(org_freedesktop_Tracker_Files_get_metadata_for_files_in_folder_reply)data->cb) (proxy, OUT_values, error, data->userdata);
  1090. return;
  1091. }
  1092. static
  1093. #ifdef G_HAVE_INLINE
  1094. inline
  1095. #endif
  1096. DBusGProxyCall*
  1097. org_freedesktop_Tracker_Files_get_metadata_for_files_in_folder_async (DBusGProxy *proxy, const gint IN_live_query_id, const char * IN_uri, const char ** IN_fields, org_freedesktop_Tracker_Files_get_metadata_for_files_in_folder_reply callback, gpointer userdata)
  1098. {
  1099. DBusGAsyncData *stuff;
  1100. stuff = g_new (DBusGAsyncData, 1);
  1101. stuff->cb = G_CALLBACK (callback);
  1102. stuff->userdata = userdata;
  1103. return dbus_g_proxy_begin_call (proxy, "GetMetadataForFilesInFolder", org_freedesktop_Tracker_Files_get_metadata_for_files_in_folder_async_callback, stuff, g_free, G_TYPE_INT, IN_live_query_id, G_TYPE_STRING, IN_uri, G_TYPE_STRV, IN_fields, G_TYPE_INVALID);
  1104. }
  1105. static
  1106. #ifdef G_HAVE_INLINE
  1107. inline
  1108. #endif
  1109. gboolean
  1110. org_freedesktop_Tracker_Files_search_by_text_and_mime (DBusGProxy *proxy, const char * IN_text, const char ** IN_mimes, char *** OUT_result, GError **error)
  1111. {
  1112. return dbus_g_proxy_call (proxy, "SearchByTextAndMime", error, G_TYPE_STRING, IN_text, G_TYPE_STRV, IN_mimes, G_TYPE_INVALID, G_TYPE_STRV, OUT_result, G_TYPE_INVALID);
  1113. }
  1114. typedef void (*org_freedesktop_Tracker_Files_search_by_text_and_mime_reply) (DBusGProxy *proxy, char * *OUT_result, GError *error, gpointer userdata);
  1115. static void
  1116. org_freedesktop_Tracker_Files_search_by_text_and_mime_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  1117. {
  1118. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  1119. GError *error = NULL;
  1120. char ** OUT_result;
  1121. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_result, G_TYPE_INVALID);
  1122. (*(org_freedesktop_Tracker_Files_search_by_text_and_mime_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  1123. return;
  1124. }
  1125. static
  1126. #ifdef G_HAVE_INLINE
  1127. inline
  1128. #endif
  1129. DBusGProxyCall*
  1130. org_freedesktop_Tracker_Files_search_by_text_and_mime_async (DBusGProxy *proxy, const char * IN_text, const char ** IN_mimes, org_freedesktop_Tracker_Files_search_by_text_and_mime_reply callback, gpointer userdata)
  1131. {
  1132. DBusGAsyncData *stuff;
  1133. stuff = g_new (DBusGAsyncData, 1);
  1134. stuff->cb = G_CALLBACK (callback);
  1135. stuff->userdata = userdata;
  1136. return dbus_g_proxy_begin_call (proxy, "SearchByTextAndMime", org_freedesktop_Tracker_Files_search_by_text_and_mime_async_callback, stuff, g_free, G_TYPE_STRING, IN_text, G_TYPE_STRV, IN_mimes, G_TYPE_INVALID);
  1137. }
  1138. static
  1139. #ifdef G_HAVE_INLINE
  1140. inline
  1141. #endif
  1142. gboolean
  1143. org_freedesktop_Tracker_Files_search_by_text_and_mime_and_location (DBusGProxy *proxy, const char * IN_text, const char ** IN_mimes, const char * IN_location, char *** OUT_result, GError **error)
  1144. {
  1145. return dbus_g_proxy_call (proxy, "SearchByTextAndMimeAndLocation", error, G_TYPE_STRING, IN_text, G_TYPE_STRV, IN_mimes, G_TYPE_STRING, IN_location, G_TYPE_INVALID, G_TYPE_STRV, OUT_result, G_TYPE_INVALID);
  1146. }
  1147. typedef void (*org_freedesktop_Tracker_Files_search_by_text_and_mime_and_location_reply) (DBusGProxy *proxy, char * *OUT_result, GError *error, gpointer userdata);
  1148. static void
  1149. org_freedesktop_Tracker_Files_search_by_text_and_mime_and_location_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  1150. {
  1151. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  1152. GError *error = NULL;
  1153. char ** OUT_result;
  1154. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_result, G_TYPE_INVALID);
  1155. (*(org_freedesktop_Tracker_Files_search_by_text_and_mime_and_location_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  1156. return;
  1157. }
  1158. static
  1159. #ifdef G_HAVE_INLINE
  1160. inline
  1161. #endif
  1162. DBusGProxyCall*
  1163. org_freedesktop_Tracker_Files_search_by_text_and_mime_and_location_async (DBusGProxy *proxy, const char * IN_text, const char ** IN_mimes, const char * IN_location, org_freedesktop_Tracker_Files_search_by_text_and_mime_and_location_reply callback, gpointer userdata)
  1164. {
  1165. DBusGAsyncData *stuff;
  1166. stuff = g_new (DBusGAsyncData, 1);
  1167. stuff->cb = G_CALLBACK (callback);
  1168. stuff->userdata = userdata;
  1169. return dbus_g_proxy_begin_call (proxy, "SearchByTextAndMimeAndLocation", org_freedesktop_Tracker_Files_search_by_text_and_mime_and_location_async_callback, stuff, g_free, G_TYPE_STRING, IN_text, G_TYPE_STRV, IN_mimes, G_TYPE_STRING, IN_location, G_TYPE_INVALID);
  1170. }
  1171. static
  1172. #ifdef G_HAVE_INLINE
  1173. inline
  1174. #endif
  1175. gboolean
  1176. org_freedesktop_Tracker_Files_search_by_text_and_location (DBusGProxy *proxy, const char * IN_text, const char * IN_location, char *** OUT_result, GError **error)
  1177. {
  1178. return dbus_g_proxy_call (proxy, "SearchByTextAndLocation", error, G_TYPE_STRING, IN_text, G_TYPE_STRING, IN_location, G_TYPE_INVALID, G_TYPE_STRV, OUT_result, G_TYPE_INVALID);
  1179. }
  1180. typedef void (*org_freedesktop_Tracker_Files_search_by_text_and_location_reply) (DBusGProxy *proxy, char * *OUT_result, GError *error, gpointer userdata);
  1181. static void
  1182. org_freedesktop_Tracker_Files_search_by_text_and_location_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data)
  1183. {
  1184. DBusGAsyncData *data = (DBusGAsyncData*)user_data;
  1185. GError *error = NULL;
  1186. char ** OUT_result;
  1187. dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_STRV, &OUT_result, G_TYPE_INVALID);
  1188. (*(org_freedesktop_Tracker_Files_search_by_text_and_location_reply)data->cb) (proxy, OUT_result, error, data->userdata);
  1189. return;
  1190. }
  1191. static
  1192. #ifdef G_HAVE_INLINE
  1193. inline
  1194. #endif
  1195. DBusGProxyCall*
  1196. org_freedesktop_Tracker_Files_search_by_text_and_location_async (DBusGProxy *proxy, const char * IN_text, const char * IN_location, org_freedesktop_Tracker_Files_search_by_text_and_location_reply callback, gpointer userdata)
  1197. {
  1198. DBusGAsyncData *stuff;
  1199. stuff = g_new (DBusGAsyncData, 1);
  1200. stuff->cb = G_CALLBACK (callback);
  1201. stuff->userdata = userdata;
  1202. return dbus_g_proxy_begin_call (proxy, "SearchByTextAndLocation", org_freedesktop_Tracker_Files_search_by_text_and_location_async_callback, stuff, g_free, G_TYPE_STRING, IN_text, G_TYPE_STRING, IN_location, G_TYPE_INVALID);
  1203. }
  1204. #endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_freedesktop_Tracker_Files */
  1205. G_END_DECLS