On Sat, Dec 01, 2007 at 12:03:26PM +0100, Peter Kümmel wrote: > Andre Poenitz wrote: >> On Sat, Dec 01, 2007 at 10:23:17AM -0000, [EMAIL PROTECTED] wrote: >>> Modified: lyx-devel/trunk/src/support/FileName.h >>> URL: >>> http://www.lyx.org/trac/file/lyx-devel/trunk/src/support/FileName.h?rev=21896 >>> ============================================================================== >>> --- lyx-devel/trunk/src/support/FileName.h (original) >>> +++ lyx-devel/trunk/src/support/FileName.h Sat Dec 1 11:23:16 2007 >>> @@ -15,6 +15,7 @@ >>> #include "support/strfwd.h" >>> #include <ctime> >>> +#include <vector> >> Looks like I have no chance to keep that out. First Abdel, now you ;-} > > Sorry, didn't know that this header is that critical at this point. > I will look for a better solution.
I guess having a FileList class wrapping/deriveing/whatever a std::vector<FileName> and simply forward declaring that in FileName.h would count as a "proper solution", even if a bit ... "overengineered". Andre'