]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex.h
* Painter.h:
[lyx.git] / src / lyxlex.h
index 3dd942eea82c963bfccc5ca9ac5d356d5f382620..f33e077919c5e0a45afc4ddf4a04491c855e5ac9 100644 (file)
 #ifndef LYXLEX_H
 #define LYXLEX_H
 
-#include "support/types.h"
+#include "support/docstring.h"
 
 #include <boost/utility.hpp>
 
 #include <iosfwd>
-#include <string>
+
+
+namespace lyx {
 
 
 ///
@@ -103,7 +105,7 @@ public:
        std::string const getString() const;
 
        ///
-       lyx::docstring const getDocString() const;
+       docstring const getDocString() const;
 
        /** Get a long string, ended by the tag `endtag'.
            This string can span several lines. The first line
@@ -183,4 +185,7 @@ public:
 #define pushpophelper(x, y, z) unnamed_pushpophelper;
 // Tip gotten from Bobby Schmidt's column in C/C++ Users Journal
 
+
+} // namespace lyx
+
 #endif