diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2018-07-02 18:43:41 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2018-07-02 18:43:41 +0200 |
commit | e30044809d3de348fd44f66940a3840accc49a83 (patch) | |
tree | 5f803f3b05ceb012314ab8a9dda0d6e413edcaaf /gio/giomm/slot_async.h | |
parent | b1611c6939e1913999c04555d3275ec5160ae68d (diff) | |
download | glibmm-e30044809d3de348fd44f66940a3840accc49a83.tar.gz |
Install giomm/slot_async.h
Gio::SignalProxy_async_callback() is required in gtkmm.
Diffstat (limited to 'gio/giomm/slot_async.h')
-rw-r--r-- | gio/giomm/slot_async.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gio/giomm/slot_async.h b/gio/giomm/slot_async.h index 228e1c9c..378d9d40 100644 --- a/gio/giomm/slot_async.h +++ b/gio/giomm/slot_async.h @@ -1,3 +1,6 @@ +#ifndef _GIOMM_SLOT_ASYNC_H +#define _GIOMM_SLOT_ASYNC_H + /* Copyright (C) 2007 The gtkmm Development Team * * This library is free software; you can redistribute it and/or @@ -15,9 +18,24 @@ */ #include <gio/gio.h> +#ifndef DOXYGEN_SHOULD_SKIP_THIS + namespace Gio { +/** Callback function, used in combination with Gio::SlotAsyncReady. + * + * Example: + * @code + * _WRAP_METHOD(void acquire_async(const SlotAsyncReady& slot{callback}, + * const Glib::RefPtr<Cancellable>& cancellable{.?}), g_permission_acquire_async, + * slot_name slot, slot_callback SignalProxy_async_callback) + * @endcode + */ void SignalProxy_async_callback(GObject*, GAsyncResult* res, void* data); } // namespace Gio + +#endif /* DOXYGEN_SHOULD_SKIP_THIS */ + +#endif /* _GIOMM_SLOT_ASYNC_H */ |