2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich
7 * Copyright 1995-2001 The LyX Team.
9 * This file is Copyright 1996-2001
12 * ======================================================
28 /** This one is a little bit harder since we need the absolute
29 filename. Should we insert files with .sty .cls etc as
31 void insert(string const & f,
33 unsigned long one = 0,
34 unsigned long two = 0);
39 void write(string const & f) const;
41 void read(string const & f);
42 /// returns true if any of the files has changed
43 bool sumchange() const;
44 /// return true if fil has changed.
45 bool haschanged(string const & fil) const;
46 /// return true if a file with extension ext has changed.
47 bool extchanged(string const & ext) const;
49 bool exist(string const & fil) const;
51 void remove_files_with_extension(string const &);
60 typedef std::map<string, dep_info> DepList;