* 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 "InsetMathNest.h"
+namespace lyx {
+
class latexkeys;
/// Inset for end-of-line comments
class InsetMathComment : public InsetMathNest {
public:
///
- InsetMathComment();
+ InsetMathComment(Buffer * buf);
///
- explicit InsetMathComment(std::string const &);
+ explicit InsetMathComment(Buffer * buf, docstring const &);
///
void metrics(MetricsInfo & mi, Dimension & dim) const;
///
///
void octave(OctaveStream &) const;
///
- void mathmlize(MathMLStream &) const;
+ void mathmlize(MathStream &) const;
+ ///
+ void infoize(odocstream & os) const;
///
- void infoize(std::ostream & os) const;
+ InsetCode lyxCode() const { return MATH_COMMENT_CODE; }
private:
- virtual std::auto_ptr<InsetBase> doClone() const;
+ virtual Inset * clone() const;
};
+
+} // namespace lyx
+
#endif