remove unused files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7529 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-08-11 15:28:52 +00:00
parent 848b72c13f
commit a7617b28a7
5 changed files with 5 additions and 132 deletions

View File

@ -1,4 +1,9 @@
2003-08-11 André Pönitz <poenitz@gmx.net>
* Makefile.am:
* tracer.[Ch]: remove unneeded files
2003-08-11 André Pönitz <poenitz@gmx.net>
* InsetList.[Ch]: remove resizeInsetsLyXText()

View File

@ -1,37 +0,0 @@
#include "math_inferinset.h"
#include "math_support.h"
#include "frontends/Painter.h"
#include "math_mathmlstream.h"
#include "textpainter.h"
using std::auto_ptr;
MathInferInset::MathInferInset()
: MathGridInset(1, 1)
{}
auto_ptr<InsetBase> MathInferInset::clone() const
{
return auto_ptr<InsetBase>(new MathInferInset(*this));
}
void MathInferInset::metrics(MetricsInfo &, Dimension &) const
{
}
void MathInferInset::draw(PainterInfo &, int, int) const
{
}
void MathInferInset::write(WriteStream & os) const
{
os << "\\infer";
if (opt_.size())
os << '[' << opt_ << ']';
MathGridInset::write(os);
}

View File

@ -1,31 +0,0 @@
// -*- C++ -*-
#ifndef MATH_INFERINSET_H
#define MATH_INFERINSET_H
#include "math_gridinset.h"
/** for proof.sty's \infer
* \author André Poenitz
*
* Full author contact details are available in file CREDITS
*/
class MathInferInset : public MathGridInset {
public:
///
explicit MathInferInset();
///
virtual std::auto_ptr<InsetBase> clone() const;
///
void metrics(MetricsInfo & mi, Dimension & dim) const;
///
void draw(PainterInfo & pi, int x, int y) const;
///
void write(WriteStream & os) const;
public:
///
MathArray opt_;
};
#endif

View File

@ -1,15 +0,0 @@
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
* ====================================================== */
#include <config.h>
#include "tracer.h"
int Trace::depth = 0;

View File

@ -1,49 +0,0 @@
// -*- C++ -*-
/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
* ====================================================== */
#ifndef TRACER_H
#define TRACER_H
#include "debug.h"
#include "LString.h"
///
class Trace {
public:
///
explicit
Trace(string const & s) : str(s) {
lyxerr << string(depth, ' ') << "TRACE IN: "
<< str << std::endl;
depth += 2;
}
///
~Trace() {
depth -= 2;
lyxerr << string(depth, ' ') << "TRACE OUT: "
<< str << std::endl;
}
private:
///
string str;
///
static int depth;
};
// To avoid wrong usage:
// Trace("BufferView::update"); // wrong
// Trace t("BufferView::update"); // right
// we add this macro:
///
#define Trace(x) unnamed_Trace;
// Tip gotten from Bobby Schmidt's column in C/C++ Users Journal
#endif