]> git.lyx.org Git - lyx.git/commitdiff
Forgot to remove a file
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 4 Dec 2000 14:57:09 +0000 (14:57 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 4 Dec 2000 14:57:09 +0000 (14:57 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1254 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/xform_macros.h [deleted file]

diff --git a/src/frontends/xforms/xform_macros.h b/src/frontends/xforms/xform_macros.h
deleted file mode 100644 (file)
index c813f40..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef XFORM_MACROS_H
-#define XFORM_MACROS_H
-
-/** Collection of useful macros to assist in correctly wrapping and
-    mapping C callbacks to the C++ member functions.
- */
-
-#define C_GENERICCB(FN, METHOD)                                \
-extern "C" void C_##FN##METHOD(FL_OBJECT * ob, long d) \
-{                                                      \
-       FN::METHOD(ob, d);                              \
-}
-
-// Return CB's all seem to take a void* as the 2nd argument and return an int.
-#define C_RETURNCB(FN, METHOD)                                 \
-extern "C" int C_##FN##METHOD(FL_FORM * ob, void * d)          \
-{                                                              \
-       return FN::METHOD(ob, d);                               \
-}
-
-// The CB used by the preempive and post-object handlers.
-#define C_PREPOSTHANDLER(FN, METHOD)                           \
-extern "C" int C_##FN##METHOD(FL_OBJECT * ob, int event,       \
-                           FL_Coord mx, FL_Coord my,           \
-                           int key, void * xev)                \
-{                                                              \
-       return FN::METHOD(ob, event, mx, my, key, xev);         \
-}
-
-#endif