#include "support/filetools.h"
+#include <map>
+
namespace support = lyx::support;
+using std::string;
+
namespace lyx {
namespace graphics {
*/
typedef std::map<string, Cache::ItemPtr> CacheType;
-struct Cache::Impl {
+class Cache::Impl {
+public:
///
CacheType cache;
};
void Cache::add(string const & file) const
{
- if (!support::AbsolutePath(file)) {
+ if (!support::absolutePath(file)) {
lyxerr << "Cache::add(" << file << "):\n"
<< "The file must be have an absolute path."
<< std::endl;