2 /* This file is part of
3 * =================================================
5 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich.
7 * Copyright 1995-2000 The LyX Team.
9 * This file Copyright 2000 Baruch Even
10 * ================================================= */
13 #pragma implementation
17 #include "GraphicsCache.h"
20 GraphicsCache::getInstance()
23 singleton = new GraphicsCache;
31 GraphicsCache::addFile(string filename)
33 CacheType::const_iterator it = cache.find(filename);
35 if (it != cache.end()) {
43 GraphicsCache::removeFile(string filename)
45 CacheType::const_iterator it = cache.find(filename);
47 if (it != cache.end()) {