aboutsummaryrefslogtreecommitdiffhomepage
path: root/interface-gtk.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-15 19:52:31 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-15 19:52:31 +0100
commit51e123544bff3ca0bdd8f6ba6a1c507b57071ca4 (patch)
tree0b3c68e7520dc310a49cee0b6dc1abd042143224 /interface-gtk.h
parent5fe8298dec3736a2169719af9f0edf8592f3f7b6 (diff)
downloadsciteco-51e123544bff3ca0bdd8f6ba6a1c507b57071ca4.tar.gz
support stdio for curses interface
* ./sciteco commandline help works now * messages issued during batch-mode macro processing are written to stdout/stderr * output can be redirected
Diffstat (limited to 'interface-gtk.h')
-rw-r--r--interface-gtk.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/interface-gtk.h b/interface-gtk.h
index 95a58d7..5b48ef6 100644
--- a/interface-gtk.h
+++ b/interface-gtk.h
@@ -1,6 +1,8 @@
#ifndef __INTERFACE_GTK_H
#define __INTERFACE_GTK_H
+#include <stdarg.h>
+
#include <glib.h>
#include <gtk/gtk.h>
@@ -31,7 +33,7 @@ public:
gtk_parse_args(&argc, &argv);
}
- void msg(MessageType type, const gchar *fmt, ...) G_GNUC_PRINTF(3, 4);
+ void vmsg(MessageType type, const gchar *fmt, va_list ap);
inline sptr_t
ssm(unsigned int iMessage, uptr_t wParam = 0, sptr_t lParam = 0)