]> git.lyx.org Git - features.git/commitdiff
build fix
authorJohn Levon <levon@movementarian.org>
Fri, 30 Aug 2002 16:36:02 +0000 (16:36 +0000)
committerJohn Levon <levon@movementarian.org>
Fri, 30 Aug 2002 16:36:02 +0000 (16:36 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5188 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/FormMathsPanel.h
src/frontends/xforms/Makefile.am
src/frontends/xforms/MathsCallbacks.h [new file with mode: 0644]
src/frontends/xforms/forms/fdfix.sh

index 1369e0a4938561ef0db861d46944327391d1504f..2fa73b20f93ee805794e38b9794b5fb6082d19ff 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-30  John Levon  <levon@movementarian.org>
+
+       * MathsCallbacks.h:
+       * forms/fdfix.sh: fix build from last change
 2002-08-30  John Levon  <levon@movementarian.org>
 
        * MathsSymbols.h:
index 2da2bfb08c7436ca6541200d8a1b620bbbda11e6..382f630de23dadce650016bfbd29bcea2665b59d 100644 (file)
 #pragma interface
 #endif
 
-/// values used by the xforms callbacks
-enum MathsCallbackValues {
-       MM_GREEK,
-       MM_ARROW,
-       MM_BOP,
-       MM_BRELATS,
-       MM_VARSIZE,
-       MM_MISC,
-       MM_FRAC,
-       MM_SQRT,
-       MM_DELIM,
-       MM_SUPER,
-       MM_SUB,
-       MM_SUBSUPER,
-       MM_MATRIX,
-       MM_EQU,
-       MM_DECO,
-       MM_SPACE,
-       MM_STYLE,
-       MM_DOTS,
-       MM_AMS_MISC,
-       MM_AMS_ARROWS,
-       MM_AMS_BREL,
-       MM_AMS_NREL,
-       MM_AMS_OPS,
-       MM_FUNC
-};
-
+#include "MathsCallbacks.h"
 #include "FormBaseDeprecated.h"
 
 #include <boost/scoped_ptr.hpp>
@@ -68,10 +41,10 @@ public:
        FormMathsPanel(LyXView &, Dialogs &);
        ///
        void setActive(FormMathsSub *) const;
-       /// dispatch a symbol insert
-       void insertSymbol(string const & sym, bool bs = true) const;
        /// dispatch an LFUN:
        void dispatchFunc(kb_action action) const;
+       /// dispatch a symbol insert
+       void insertSymbol(string const & sym, bool bs = true) const;
 private:
        /// Pointer to the actual instantiation of the ButtonController.
        virtual xformsBC & bc();
index edc9780b0124272addade6db0f1e7c558887f1e9..93dbf037ae3882b4ca86f24cc05eabfff0ac4ad0 100644 (file)
@@ -147,6 +147,7 @@ libxforms_la_SOURCES = \
        FormVCLog.h \
        LyXKeySymFactory.C \
        LyXScreenFactory.C \
+       MathsCallbacks.h \
        Menubar_pimpl.C \
        Menubar_pimpl.h \
        RadioButtonGroup.C \
diff --git a/src/frontends/xforms/MathsCallbacks.h b/src/frontends/xforms/MathsCallbacks.h
new file mode 100644 (file)
index 0000000..04275a9
--- /dev/null
@@ -0,0 +1,40 @@
+/**
+ * \file MathsCallbacks.h
+ * Copyright 2002 the LyX Team
+ * Read the file COPYING
+ *
+ * \author John Levon <levon@movementarian.org>
+ */
+
+#ifndef MATHSCALLBACKS_H
+#define MATHSCALLBACKS_H
+/// values used by the xforms callbacks
+enum MathsCallbackValues {
+       MM_GREEK,
+       MM_ARROW,
+       MM_BOP,
+       MM_BRELATS,
+       MM_VARSIZE,
+       MM_MISC,
+       MM_FRAC,
+       MM_SQRT,
+       MM_DELIM,
+       MM_SUPER,
+       MM_SUB,
+       MM_SUBSUPER,
+       MM_MATRIX,
+       MM_EQU,
+       MM_DECO,
+       MM_SPACE,
+       MM_STYLE,
+       MM_DOTS,
+       MM_AMS_MISC,
+       MM_AMS_ARROWS,
+       MM_AMS_BREL,
+       MM_AMS_NREL,
+       MM_AMS_OPS,
+       MM_FUNC
+};
+
+#endif // MATHSCALLBACKS_H
index 0fd3bcb16ca10a5209d09bcc1c5eee82e195667a..b3a30c01210e1948c50e10d5d3f329a20e55200b 100644 (file)
@@ -123,7 +123,7 @@ fi
 # Angus 12 June, 2002.
 grep MM_ ${CIN} > /dev/null
 if [ $? -eq 0 ]; then
-    echo "#include \"MathsSymbols.h\"" >> ${COUT}
+    echo "#include \"MathsCallbacks.h\"" >> ${COUT}
 fi
 
 echo >> ${COUT}