diff finch/libgnt/gnt.h @ 18421:e16d097c5739

Allow executing another application (eg. PAGER) that will use the same console.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 03 Jul 2007 08:54:34 +0000
parents 5c6f019e48f8
children 09db6fec9dce c6282dc3fb9f
line wrap: on
line diff
--- a/finch/libgnt/gnt.h	Tue Jul 03 04:47:24 2007 +0000
+++ b/finch/libgnt/gnt.h	Tue Jul 03 08:54:34 2007 +0000
@@ -112,7 +112,7 @@
 /**
  * 
  * @param label
- * @param callback)()
+ * @param callback
  */
 void gnt_register_action(const char *label, void (*callback)());
 
@@ -149,3 +149,11 @@
  */
 void gnt_set_clipboard_string(gchar *string);
 
+/**
+ * Spawn a different application that will consume the console.
+ */
+gboolean gnt_giveup_console(const char *wd, char **argv, char **envp,
+		gint *stin, gint *stout, gint *sterr);
+
+gboolean gnt_is_refugee(void);
+