[glibmm] Glib::VariantBase: Added check_format_string().



commit 26c4454ecad59ac64f57e0bc43bf94edff511d15
Author: Murray Cumming <murrayc murrayc com>
Date:   Thu Mar 21 11:18:16 2013 +0100

    Glib::VariantBase: Added check_format_string().
    
    * glib/src/variant.hg:
    Wrap the new g_variant_check_format_string()
    function.

 ChangeLog           |    8 ++++++++
 glib/src/variant.hg |    5 +++++
 2 files changed, 13 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index bf51a2c..d5966df 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2013-03-21  Murray Cumming  <murrayc murrayc com>
 
+       Glib::VariantBase: Added check_format_string().
+
+       * glib/src/variant.hg:
+       Wrap the new g_variant_check_format_string()
+       function.
+
+2013-03-21  Murray Cumming  <murrayc murrayc com>
+
        Gio::AsyncResult: Added is_tagged().
 
        * gio/src/applicationcommandline.hg:
diff --git a/glib/src/variant.hg b/glib/src/variant.hg
index 92c7193..8a4e3a4 100644
--- a/glib/src/variant.hg
+++ b/glib/src/variant.hg
@@ -186,6 +186,11 @@ public:
    void byteswap(VariantBase& result) const;
    _IGNORE(g_variant_byteswap)
 
+   _WRAP_METHOD(bool check_format_string(const std::string& format_string, bool copy_only = false) const, 
g_variant_check_format_string)
+
+   //Ignore private API from gvariant-core.h:
+   _IGNORE(g_variant_is_trusted, g_variant_get_type_info)
+
    /** Cast to a specific variant type.
     * For instance:
     * @code


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