2 // lyx-stack.H : definition of PathStack class
3 // this file is part of LyX, the High Level Word Processor
4 // copyright (C) 1995-1996, Matthias Ettrich and the LyX Team
6 #ifndef __LYX_STACK_H__
7 #define __LYX_STACK_H__
15 /// Path stack class definition
23 PathStack(string const & Path);
27 int PathPush(string const & Path);
38 extern PathStack lyxPathStack;
40 /// some global wrapper functions
41 inline int PathPush(string const & szPath) {
42 return lyxPathStack.PathPush(szPath);
46 inline int PathPop() {
47 return lyxPathStack.PathPop();