]> git.lyx.org Git - lyx.git/blobdiff - src/DepTable.h
move some selection related stuff over to textcursor.C
[lyx.git] / src / DepTable.h
index e9a12a6fadbae89b4c167f3ea1dbb04a5b1b84ed..676a2b4561799f0d1b28f6794bab8d60acf9add6 100644 (file)
 #include "LString.h"
 #include <map>
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 ///
 class DepTable {
 public:
        /** This one is a little bit harder since we need the absolute
          filename. Should we insert files with .sty .cls etc as
          extension? */
-       void insert(string const & f,
-                   bool upd = false);
+       void insert(string const & f, bool upd = false);
        ///
        void update();
 
        ///
        void write(string const & f) const;
-       ///
-       void read(string const & f);
+       /// returns true if dep file was read successfully
+       bool read(string const & f);
        /// returns true if any of the files has changed
        bool sumchange() const;
        /// return true if fil has changed.