2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
6 * Copyright (C) 1995 Matthias Ettrich
8 * This file is Copyright (C) 1996-1998
11 * ======================================================
29 /** This one is a little bit harder since we need the absolute
30 filename. Should we insert files with .sty .cls etc as
32 void insert(string const & f,
34 unsigned long one = 0,
35 unsigned long two = 0);
40 void write(string const & f) const;
42 void read(string const & f);
43 /// returns true if any of the files has changed
44 bool sumchange() const;
45 /// return true if fil has changed.
46 bool haschanged(string const & fil) const;
47 /// return true if a file with extension ext has changed.
48 bool extchanged(string const & ext) const;
50 bool exist(string const & fil) const;
52 void remove_files_with_extension(string const &);
55 typedef map<string, pair<unsigned long, unsigned long> > DepList;