// -*- C++ -*-
// lyx-stack.H : definition of PathStack class
// this file is part of LyX, the High Level Word Processor
// copyright (C) 1995-1996, Matthias Ettrich and the LyX Team
#ifndef __LYX_STACK_H__
#define __LYX_STACK_H__
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
/// Path stack class definition
class PathStack {
public:
///
PathStack() {
Next = 0;
}
///
PathStack(LString const & Path);
///
~PathStack();
///
int PathPush(LString const & Path);
///
int PathPop();
private:
///
LString Path;
///
PathStack *Next;
};
// global path stack
extern PathStack lyxPathStack;
/// some global wrapper functions
inline int PathPush(LString const & szPath) {
return lyxPathStack.PathPush(szPath);
}
///
inline int PathPop() {
return lyxPathStack.PathPop();
}
#endif
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet)
¤
|
Haftungshinweis
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.
|