]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInclude.h
Check character encodability with pass-thru in command insets
[lyx.git] / src / insets / InsetInclude.h
old mode 100644 (file)
new mode 100755 (executable)
index 18329fe..69c778e
@@ -117,6 +117,9 @@ public:
        static std::string defaultCommand() { return "include"; }
        ///
        static bool isCompatibleCommand(std::string const & s);
+       ///
+       bool needsCProtection(bool const maintext = false,
+                             bool const fragile = false) const;
        //@}
 
 protected:
@@ -134,6 +137,8 @@ private:
        void editIncluded(std::string const & file);
        ///
        bool isChildIncluded() const;
+       /// check whether the included file exist
+       bool includedFileExist() const;
 
        /// \name Private functions inherited from Inset class
        //@{
@@ -167,6 +172,7 @@ private:
        mutable docstring listings_label_;
        InsetLabel * label_;
        mutable Buffer * child_buffer_;
+       mutable bool file_exist_;
 };