src/textbuf_gui.h
changeset 9319 141ca3009ac2
parent 9179 780666b686ed
child 10145 849ba8b8626b
--- a/src/textbuf_gui.h	Mon May 19 16:44:50 2008 +0000
+++ b/src/textbuf_gui.h	Mon May 19 19:17:56 2008 +0000
@@ -28,8 +28,10 @@
 void InitializeTextBuffer(Textbuf *tb, const char *buf, uint16 maxlength, uint16 maxwidth);
 void UpdateTextBufferSize(Textbuf *tb);
 
+typedef void QueryCallbackProc(Window*, bool);
+
 void ShowQueryString(StringID str, StringID caption, uint maxlen, uint maxwidth, Window *parent, CharSetFilter afilter);
-void ShowQuery(StringID caption, StringID message, Window *w, void (*callback)(Window*, bool));
+void ShowQuery(StringID caption, StringID message, Window *w, QueryCallbackProc *callback);
 
 /** The number of 'characters' on the on-screen keyboard. */
 static const uint OSK_KEYBOARD_ENTRIES = 50;