]> git.lyx.org Git - lyx.git/blobdiff - src/DepTable.h
Fix bugs #32 and #52.
[lyx.git] / src / DepTable.h
index 9f2bdf24bba3e888c3d0ede261aa08e8539e0baf..45c89abfe95b608e2aca40761209d8da493872ae 100644 (file)
@@ -4,9 +4,9 @@
  * 
  *           LyX, The Document Processor
  *          Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *        
- *           This file is Copyright 1996-2000
+ *           This file is Copyright 1996-2001
  *           Lars Gullik Bjønnes
  *
  * ====================================================== 
@@ -22,9 +22,6 @@
 #pragma interface
 #endif
 
-using std::map;
-using std::pair;
-
 ///
 class DepTable {
 public:
@@ -54,8 +51,13 @@ public:
        void remove_files_with_extension(string const &);
 private:
        ///
-       typedef map<string,
-               pair<unsigned long, unsigned long> > DepList;
+       struct dep_info {
+               unsigned long first;
+               unsigned long second;
+               long mtime;
+       };
+       ///
+       typedef std::map<string, dep_info> DepList;
        ///
        DepList deplist;
 };