lyx_mirror/src/support/FileNameList.h
Richard Kimberly Heck 6014492699 Try yet again try to fix bug #9158.
The problem with the previous attempt was that, every time through
updateBuffer, we looked up the file location using kpsewhich, which
took too long on Windows. The new solution is to cache that info, and
to look it up only when we need it.

Previously, this info would have been re-read whenever we parsed the
bibfiles. So we re-read it now whenever the bibinfo cache is invalid,
which is less often, but should be good enough. We can add more such
re-reads if need be.
2018-09-02 11:50:03 -04:00

35 lines
654 B
C++

// -*- C++ -*-
/**
* \file FileNameList.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Abdelrazak Younes
*
* Full author contact details are available in file CREDITS.
*/
#ifndef FILENAMELIST_H
#define FILENAMELIST_H
#include "support/FileName.h"
#include <vector>
namespace lyx {
namespace support {
/**
* Class for storing file name list.
* std::vector can not be forward declared in a simple way. Creating a class solves
* this problem.
*/
class FileNameList: public std::vector<FileName>
{
};
} // namespace support
} // namespace lyx
#endif // FILENAMELIST_H