-/*
+/**
* \file GraphicsCache.C
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author Baruch Even <baruch.even@writeme.com>
- * \author Angus Leeming <a.leeming@ic.ac.uk>
+ * \author Baruch Even
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
*/
#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include "GraphicsCache.h"
#include "GraphicsCacheItem.h"
#include "GraphicsImage.h"
CacheType cache;
};
-
+
Cache & Cache::get()
{
// Now return the cache
}
-void Cache::add(string const & file)
+void Cache::add(string const & file) const
{
if (!AbsolutePath(file)) {
lyxerr << "Cache::add(" << file << "):\n"
}
-void Cache::remove(string const & file)
+void Cache::remove(string const & file) const
{
CacheType::iterator it = pimpl_->cache.find(file);
if (it == pimpl_->cache.end())