diff options
Diffstat (limited to 'gio/src/applicationcommandline.hg')
-rw-r--r-- | gio/src/applicationcommandline.hg | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gio/src/applicationcommandline.hg b/gio/src/applicationcommandline.hg index 9ec31fec..c8311b13 100644 --- a/gio/src/applicationcommandline.hg +++ b/gio/src/applicationcommandline.hg @@ -62,25 +62,25 @@ protected: public: _WRAP_METHOD(char** get_arguments(int& argc) const, g_application_command_line_get_arguments) - + //We use std::string instead of ustring because the C documentation says that it may be non-UTF-8 data: _WRAP_METHOD(std::string get_cwd() const, g_application_command_line_get_cwd) //We use std::string instead of ustring because the C documentation says that it may be non-UTF-8 data: #m4 _CONVERSION(`const gchar* const*',`std::vector<std::string>',`Glib::ArrayHandler<std::string>::array_to_vector($3, Glib::OWNERSHIP_NONE)') _WRAP_METHOD(std::vector<std::string> get_environ() const, g_application_command_line_get_environ) - + //We use std::string instead of ustring because the C documentation says that it may be non-UTF-8 data: _WRAP_METHOD(std::string getenv(const Glib::ustring& name) const, g_application_command_line_getenv) - + _WRAP_METHOD(bool is_remote() const, g_application_command_line_get_is_remote) #m4 _CONVERSION(`GVariant*',`Glib::Variant< std::map<Glib::ustring, Glib::VariantBase> >',`$2($3)') _WRAP_METHOD(Glib::Variant< std::map<Glib::ustring, Glib::VariantBase> > get_platform_data() const, g_application_command_line_get_platform_data) - + _WRAP_METHOD(void set_exit_status(int exit_status), g_application_command_line_set_exit_status) _WRAP_METHOD(int get_exit_status() const, g_application_command_line_get_exit_status) - + /** Formats a message and prints it using the stdout print handler in the invoking process. * If this is a local invocation then this is exactly equivalent to g_print(). * If this is remote then this is equivalent to calling g_print() in the invoking process. @@ -89,7 +89,7 @@ public: */ void print(const Glib::ustring& message); _IGNORE(g_application_command_line_print) - + /** Formats a message and prints it using the stderr print handler in the invoking process. * If this is a local invocation then this is exactly equivalent to g_printerr(). * If this is remote then this is equivalent to calling g_printerr() in the invoking process. |