// -*- C++ -*-
/* This file is part of
- * ======================================================
+ * ======================================================
*
* LyX, The Document Processor
*
- * Copyright (C) 1997-1999 The LyX Team.
+ * Copyright 1997-2000 The LyX Team.
*
- * ======================================================*/
+ * ====================================================== */
#ifndef BACK_STACK_H
#define BACK_STACK_H
#include <stack>
-using std::stack;
#include "LString.h"
private:
///
struct BackStackItem {
+ ///
BackStackItem(string const & f, int xx, int yy)
: fname(f), x(xx), y(yy) {}
- ///
- //void set(string f, int xx, int yy) {
- // fname = f; x = xx; y = yy;
- //}
/// Filename
string fname;
/// Cursor x-position
}
private:
///
- stack<BackStackItem> stakk;
+ std::stack<BackStackItem> stakk;
};
#endif