]> git.lyx.org Git - features.git/blobdiff - src/support/path.h
make doc++ able to generate the source documentation for lyx
[features.git] / src / support / path.h
index e2e99085430bd2397ea92aaff7c90b15834a275e..d2480670c3b5eebe6ffe93e83cc5c35dcdecffd0 100644 (file)
@@ -3,17 +3,19 @@
 #define PATH_H
 
 #include "LString.h"
-#include "support/filetools.h"
+#include "filetools.h"
 #include "lyxlib.h"
+#include "utility.hpp"
 
 #ifdef __GNUG__
 #pragma interface
 #endif
 
 ///
-class Path {
+class Path : public noncopyable {
 public:
        ///
+       explicit
        Path(string const & path)
                : popped_(false)
        {
@@ -49,6 +51,7 @@ private:
 // Path("/tmp");   // wrong
 // Path p("/tmp");  // right
 // we add this macro:
+///
 #define Path(x) unnamed_Path;
 // Tip gotten from Bobby Schmidt's column in C/C++ Users Journal