*
* LyX, The Document Processor
*
- * Copyright (C) 1997-1999 The LyX Team.
+ * Copyright 1997-2000 The LyX Team.
*
* ====================================================== */
#define BACK_STACK_H
#include <stack>
-using std::stack;
#include "LString.h"
private:
///
struct BackStackItem {
+ ///
+ BackStackItem()
+ : x(0), y(0) {}
+ ///
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