* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include "InsetMath.h"
+#include "support/docstring.h"
-namespace lyx {
+namespace lyx {
/// LaTeX names for objects that we really don't know
class InsetMathUnknown : public InsetMath {
bool final() const;
///
int kerning(BufferView const *) const { return kerning_; }
+ ///
+ InsetCode lyxCode() const { return MATH_UNKNOWN_CODE; }
private:
- virtual Inset * clone() const;
+ ///
+ Inset * clone() const { return new InsetMathUnknown(*this); }
+
///
docstring name_;
/// are we finished creating the name?
docstring selection_;
};
-
} // namespace lyx
+
#endif