mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Ensure header files can be compiled stand-alone.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7676 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b538a4c8fe
commit
09ec5ba3e7
@ -1,3 +1,10 @@
|
||||
2003-09-05 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* math_binaryopinset.[Ch]:
|
||||
* math_gridinfo.h:
|
||||
* math_xyarrowinset.[Ch]:
|
||||
ensure that the header file can be compiled stand-alone.
|
||||
|
||||
2003-09-05 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* *.C: strip out redundant #includes. (168 in total.)
|
||||
|
@ -26,9 +26,9 @@ MathBinaryOpInset::MathBinaryOpInset(char op)
|
||||
{}
|
||||
|
||||
|
||||
InsetBase * MathBinaryOpInset::clone() const
|
||||
auto_ptr<InsetBase> MathBinaryOpInset::clone() const
|
||||
{
|
||||
return new MathBinaryOpInset(*this);
|
||||
return auto_ptr<InsetBase>(new MathBinaryOpInset(*this));
|
||||
}
|
||||
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
|
||||
#include "math_nestinset.h"
|
||||
#include "math_nestinset.h"
|
||||
#include "metricsinfo.h"
|
||||
|
||||
|
||||
/// An inset for multiplication
|
||||
@ -22,7 +23,7 @@ public:
|
||||
///
|
||||
explicit MathBinaryOpInset(char op);
|
||||
///
|
||||
InsetBase * clone() const;
|
||||
virtual std::auto_ptr<InsetBase> clone() const;
|
||||
///
|
||||
void draw(PainterInfo &, int x, int y) const;
|
||||
///
|
||||
|
@ -12,6 +12,8 @@
|
||||
#ifndef MATH_GRIDINFO_H
|
||||
#define MATH_GRIDINFO_H
|
||||
|
||||
#include "LString.h"
|
||||
|
||||
struct ColInfo
|
||||
{
|
||||
ColInfo() : align('c'), rightline(0), leftline(false) {}
|
||||
|
@ -27,9 +27,9 @@ MathXYArrowInset::MathXYArrowInset()
|
||||
{}
|
||||
|
||||
|
||||
InsetBase * MathXYArrowInset::clone() const
|
||||
auto_ptr<InsetBase> MathXYArrowInset::clone() const
|
||||
{
|
||||
return new MathXYArrowInset(*this);
|
||||
return auto_ptr<InsetBase>(new MathXYArrowInset(*this));
|
||||
}
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@ public:
|
||||
///
|
||||
MathXYArrowInset();
|
||||
///
|
||||
InsetBase * clone() const;
|
||||
virtual std::auto_ptr<InsetBase> clone() const;
|
||||
///
|
||||
void metrics(MetricsInfo & mi) const;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user