Code

Fix handle for LPERotateCopies
[inkscape.git] / src / io / sys.h
index fd39c630b9ea7df2b2a22d3da32e3e85a8180080..29c33c1c7c24919829e0923f19b23c028af46ce0 100644 (file)
@@ -18,6 +18,8 @@
 #include <glib/gtypes.h>
 #include <glib/gdir.h>
 #include <glib/gfileutils.h>
+#include <glibmm/spawn.h>
+#include <string>
 
 /*#####################
 ## U T I L I T Y
@@ -32,6 +34,8 @@ FILE *fopen_utf8name( char const *utf8name, char const *mode );
 
 int mkdir_utf8name( char const *utf8name );
 
+int file_open_tmp( std::string& name_used, const std::string& prefix );
+
 bool file_test( char const *utf8name, GFileTest test );
 
 GDir *dir_open(gchar const *utf8name, guint flags, GError **error);
@@ -46,6 +50,15 @@ gchar* locale_to_utf8_fallback( const gchar *opsysstring,
 
 gchar* sanitizeString( gchar const * str );
 
+void spawn_async_with_pipes (const std::string& working_directory,
+                             const Glib::ArrayHandle<std::string>& argv,
+                             Glib::SpawnFlags flags,
+                             const sigc::slot<void>& child_setup,
+                             Glib::Pid* child_pid,
+                             int* standard_input,
+                             int* standard_output,
+                             int* standard_error);
+
 }
 }