summaryrefslogtreecommitdiff
path: root/gio/src/appinfo.hg
diff options
context:
space:
mode:
Diffstat (limited to 'gio/src/appinfo.hg')
-rw-r--r--gio/src/appinfo.hg18
1 files changed, 16 insertions, 2 deletions
diff --git a/gio/src/appinfo.hg b/gio/src/appinfo.hg
index 06d8d515..04721cfd 100644
--- a/gio/src/appinfo.hg
+++ b/gio/src/appinfo.hg
@@ -224,8 +224,22 @@ public:
_WRAP_METHOD(static std::vector<Glib::RefPtr<AppInfo>> get_all(), g_app_info_get_all)
_WRAP_METHOD(static std::vector<Glib::RefPtr<AppInfo>> get_all_for_type(const std::string& content_type), g_app_info_get_all_for_type)
- _WRAP_METHOD(static Glib::RefPtr<AppInfo> get_default_for_type(const std::string& content_type, bool must_support_uris = true), g_app_info_get_default_for_type)
- _WRAP_METHOD(static Glib::RefPtr<AppInfo> get_default_for_uri_scheme(const std::string& uri_scheme), g_app_info_get_default_for_uri_scheme)
+ _WRAP_METHOD(static Glib::RefPtr<AppInfo> get_default_for_type(const std::string& content_type,
+ bool must_support_uris = true), g_app_info_get_default_for_type)
+ _WRAP_METHOD(static void get_default_for_type_async(const std::string& content_type, bool must_support_uris,
+ const SlotAsyncReady& slot{callback?}, const Glib::RefPtr<Cancellable>& cancellable{.} = {}),
+ g_app_info_get_default_for_type_async, slot_name slot, slot_callback SignalProxy_async_callback)
+ _WRAP_METHOD(static Glib::RefPtr<AppInfo> get_default_for_type_finish(const Glib::RefPtr<AsyncResult>& result),
+ g_app_info_get_default_for_type_finish, errthrow)
+
+ _WRAP_METHOD(static Glib::RefPtr<AppInfo> get_default_for_uri_scheme(const std::string& uri_scheme),
+ g_app_info_get_default_for_uri_scheme)
+ _WRAP_METHOD(static void get_default_for_uri_scheme_async(const std::string& content_type,
+ const SlotAsyncReady& slot{callback?}, const Glib::RefPtr<Cancellable>& cancellable{.} = {}),
+ g_app_info_get_default_for_uri_scheme_async, slot_name slot, slot_callback SignalProxy_async_callback)
+ _WRAP_METHOD(static Glib::RefPtr<AppInfo> get_default_for_uri_scheme_finish(const Glib::RefPtr<AsyncResult>& result),
+ g_app_info_get_default_for_uri_scheme_finish, errthrow)
+
_WRAP_METHOD(static void reset_type_associations(const std::string& content_type), g_app_info_reset_type_associations)
_WRAP_METHOD(static bool launch_default_for_uri(const std::string& uri, const Glib::RefPtr<AppLaunchContext>& context{?}), g_app_info_launch_default_for_uri, errthrow)