summaryrefslogtreecommitdiff
path: root/wintable/NEWutil.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-05 10:27:45 -0500
committerPietro Gagliardi <[email protected]>2014-12-05 10:27:45 -0500
commit61f7316d562f4c02c9e3d1bb30c3ba3963ded4a8 (patch)
treee94f9f94861a8a6173160f4c85e742333bf17133 /wintable/NEWutil.h
parentf7daa5580f8788a8d15f46b65c2e21ca96db8523 (diff)
Moved the rewrite of the new Windows Table to its /own/ folder.
Diffstat (limited to 'wintable/NEWutil.h')
-rw-r--r--wintable/NEWutil.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/wintable/NEWutil.h b/wintable/NEWutil.h
deleted file mode 100644
index c6cbfb3..0000000
--- a/wintable/NEWutil.h
+++ /dev/null
@@ -1,14 +0,0 @@
-// 4 december 2014
-
-typedef BOOL (*handlerfunc)(struct table *, UINT, WPARAM, LPARAM, LRESULT *);
-#define HANDLER(name) static BOOL name(struct table *t, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult)
-
-static BOOL runHandlers(handlerfunc *list, struct table *t, UINT uMsg, WPARAM wParam, LPARAM lParam, LRESULT *lResult)
-{
- handlerfunc *p;
-
- for (p = list; *p != NULL; p++)
- if ((*(*p))(t, uMsg, wParam, lParam, lResult))
- return TRUE;
- return FALSE;
-}