From 83c25d7eb267f866968c7806c4afacf00fdfead5 Mon Sep 17 00:00:00 2001 From: pancake Date: Thu, 6 Mar 2008 17:58:06 +0100 Subject: * Initial working version of the flash gui - Renamed to goxf - Needs 'sudo' to be enabled to the user without password - Identify and ban piece files while including them in the list - Support for flashing multiple piece files - progressbar and warn/error messages handled - Supports reboot mobo command * Make qmode be functional * Lot of hardcore fixups on squeue_open - Should work now everywhere fine asumid UID 1000 as allowed user - Reduce timeouts - Add push2 method --- src/gui/extras.vapi | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/gui/extras.vapi (limited to 'src/gui/extras.vapi') diff --git a/src/gui/extras.vapi b/src/gui/extras.vapi new file mode 100644 index 0000000..d8f2ddc --- /dev/null +++ b/src/gui/extras.vapi @@ -0,0 +1,10 @@ +namespace Extras { + public class External { + [CCode (cname = "system")] + public static int system(string cmd); + [CCode (cname = "fpid_file")] + public static string fpid_file(string file); + [CCode (cname = "fpid_size")] + public static long fpid_size(string file); + } +} -- cgit v1.2.3