Add g_application_command_line_get_stdin()
authorRyan Lortie <desrt@desrt.ca>
Wed, 18 Jan 2012 19:37:37 +0000 (14:37 -0500)
committerRyan Lortie <desrt@desrt.ca>
Thu, 27 Dec 2012 16:00:49 +0000 (11:00 -0500)
commit89d48d7800a21db1b94c09644bc68b84cda1940b
tree5fef416d6486207025c09a84bd192e6b8db84770
parent3e97776276a3648fac9706d7a82715ab230bfb5d
Add g_application_command_line_get_stdin()

This returns a GInputStream corresponding to the stdin on the
commandline that caused this invocation.

The local case works on both UNIX (GUnixInputStream on stdin) and
Windows (GWin32InputStream on GetStdHandle(STD_INPUT_HANDLE)).  The
remote case works only on UNIX (by fd passing over D-Bus).

https://bugzilla.gnome.org/show_bug.cgi?id=668210
gio/gapplicationcommandline.c
gio/gapplicationcommandline.h
gio/gapplicationimpl-dbus.c
gio/gio.symbols