#define PATH_H
#include "LString.h"
-#include "filetools.h"
+//#include "filetools.h"
#include "lyxlib.h"
#include <boost/utility.hpp>
#endif
///
-class Path : public noncopyable {
+class Path : boost::noncopyable {
public:
///
explicit
: popped_(false)
{
if (!path.empty()) {
- pushedDir_ = GetCWD();
+ pushedDir_ = lyx::getcwd(); // GetCWD();
if (pushedDir_.empty() || lyx::chdir(path)) {
// should throw an exception
// throw DirChangeError();