[glibmm] Add some TODOs about VariantDict.



commit b93c933711326cc8437c458799b2a82065fc7aa3
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Apr 2 22:32:59 2014 +0200

    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.

 gio/src/application.hg            |    4 ++++
 gio/src/applicationcommandline.hg |    3 +++
 2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gio/src/application.hg b/gio/src/application.hg
index 327736a..1cd6b76 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 3404613..8230c6d 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)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]