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