]> git.lyx.org Git - lyx.git/blobdiff - src/lyxlex.h
Fix inline collapsable inset set focus crash
[lyx.git] / src / lyxlex.h
index f33e077919c5e0a45afc4ddf4a04491c855e5ac9..7f6cc26e0225487f7b5da7ffa47bb1d95bce774d 100644 (file)
@@ -26,6 +26,7 @@
 
 namespace lyx {
 
+namespace support { class FileName; }
 
 ///
 struct keyword_item {
@@ -66,7 +67,7 @@ public:
        /// stream is not ok
        bool operator!() const;
        /// return true if able to open file, else false
-       bool setFile(std::string const & filename);
+       bool setFile(support::FileName const & filename);
        ///
        void setStream(std::istream & is);
        ///
@@ -138,6 +139,8 @@ public:
 
        /// extract string
        LyXLex & operator>>(std::string &);
+       /// extract docstring
+       LyXLex & operator>>(docstring &);
        /// extract double
        LyXLex & operator>>(double &);
        /// extract integer