* \author Baruch Even
* \author Angus Leeming
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "support/filetools.h"
-#include "frontends/lyx_gui.h"
+namespace support = lyx::support;
-#include <map>
+using std::string;
-using namespace lyx::support;
namespace lyx {
namespace graphics {
Cache::Cache()
- : pimpl_(new Impl())
+ : pimpl_(new Impl)
{}
void Cache::add(string const & file) const
{
- if (!AbsolutePath(file)) {
+ if (!support::AbsolutePath(file)) {
lyxerr << "Cache::add(" << file << "):\n"
<< "The file must be have an absolute path."
<< std::endl;