]> git.lyx.org Git - features.git/blobdiff - src/graphics/GraphicsCache.h
make doc++ able to generate the source documentation for lyx
[features.git] / src / graphics / GraphicsCache.h
index d64df5f5d321193930dcc2b9c1fb2ab5433721d7..eba3413b190de1726d686409e88f9b82eb2f25f5 100644 (file)
 
 #include "LString.h"
 #include "GraphicsCacheItem.h"
+#include "support/utility.hpp"
 
 /** GraphicsCache is the manager of the image cache, it is responsible to
* create the GraphicsCacheItem's and maintain them.
- *
* GraphicsCache is a singleton class, there should be only one instance of
* it at any moment.
- */
-class GraphicsCache {
   create the GraphicsCacheItem's and maintain them.
+    
   GraphicsCache is a singleton class, there should be only one instance of
   it at any moment.
+*/
+class GraphicsCache : public noncopyable {
 public:
     /// Get the instance of the class.
     static GraphicsCache * getInstance();
@@ -47,8 +48,9 @@ private:
 
     /// Holder of the single instance of the class.
     static GraphicsCache * singleton;
-
+    ///
     typedef std::map<string, GraphicsCacheItem *> CacheType;
+    ///
     CacheType cache;
 };
 #endif