summaryrefslogtreecommitdiff
path: root/gio
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2014-04-02 22:32:59 +0200
committerMurray Cumming <murrayc@murrayc.com>2014-04-02 22:32:59 +0200
commitb93c933711326cc8437c458799b2a82065fc7aa3 (patch)
tree771ac2d021c0fd683df813890c318d2f0dd6314c /gio
parentb48b0b921b19adceed1b4f9d6b37d78250a2abf6 (diff)
downloadglibmm-b93c933711326cc8437c458799b2a82065fc7aa3.tar.gz
Add some TODOs about VariantDict.
We should remove Application::add_main_option_entries() and add_option_group() if we cannot get the handle_local_entries signal and its VariantDict right.
Diffstat (limited to 'gio')
-rw-r--r--gio/src/application.hg4
-rw-r--r--gio/src/applicationcommandline.hg3
2 files changed, 7 insertions, 0 deletions
diff --git a/gio/src/application.hg b/gio/src/application.hg
index 327736a7..1cd6b76f 100644
--- a/gio/src/application.hg
+++ b/gio/src/application.hg
@@ -230,6 +230,10 @@ public:
#m4 _CONVERSION(`GApplicationCommandLine*', `const Glib::RefPtr<ApplicationCommandLine>&',`Glib::wrap($3, true)')
_WRAP_SIGNAL(int command_line(const Glib::RefPtr<ApplicationCommandLine>& command_line), "command-line")
+ //TODO: Remove no_default_handler when we can break ABI
+ //TODO: Wrap GVariantDict* for C++.
+ //TODO: Avoid the use of the Variants in the VariantDict?
+ //_WRAP_SIGNAL(int handle_local_options(GVariantDict* options), "handle-local-options", no_default_handler)
protected:
virtual void on_open(const type_vec_files& files, const Glib::ustring& hint);
diff --git a/gio/src/applicationcommandline.hg b/gio/src/applicationcommandline.hg
index 3404613b..8230c6d0 100644
--- a/gio/src/applicationcommandline.hg
+++ b/gio/src/applicationcommandline.hg
@@ -65,6 +65,9 @@ public:
_WRAP_METHOD(char** get_arguments(int& argc) const, g_application_command_line_get_arguments)
+ //TODO: Wrap the GVariantDict*. See also Application's handle-local-options signal.
+ //_WRAP_METHOD(GVariantDict * g_application_command_line_get_options_dict(), g_application_command_line_get_options_dict)
+
_WRAP_METHOD(Glib::RefPtr<InputStream> get_stdin(), g_application_command_line_get_stdin, refreturn)
_WRAP_METHOD(Glib::RefPtr<const InputStream> get_stdin() const, g_application_command_line_get_stdin, refreturn, constversion)