]> git.lyx.org Git - lyx.git/blobdiff - src/TextCache.h
architectural changes to tex2lyx
[lyx.git] / src / TextCache.h
index 93df369bb05498b8c4fde5eff392090d39e8996e..73bdf8f33a5d5aa321969e2fcb778b8ab72bdf72 100644 (file)
@@ -1,8 +1,8 @@
 // -*- C++ -*-
 /* This file is part of
- * ====================================================== 
- * 
- *           LyX, The Document Processor        
+ * ======================================================
+ *
+ *           LyX, The Document Processor
  *           Copyright 1995 Matthias Ettrich
  *           Copyright 1995-2001 The LyX Team
  *
 #ifndef TEXT_CACHE_H
 #define TEXT_CACHE_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "LString.h"
-#include "lyxtext.h"
-#include "buffer.h"
 
 #include <iosfwd>
 #include <map>
 
+class Buffer;
+class LyXText;
 
 // This is only the very first implemetation and use of the TextCache,
 // operations on it needs to be put into a class or a namespace, that part
@@ -59,7 +55,7 @@
 //    I believe there are only three possible scenarios where the two first
 //    are also covered by the third.
 //        - The simplest scenario is what we have now, a single
-//          BufferView only.  
+//          BufferView only.
 //          o Opening
 //            Nothing to do with the TextCache is done when opening a file.
 //          o Switching
@@ -114,7 +110,7 @@ class TextCache {
 public:
        ///
        typedef std::map<Buffer *, std::pair<int,LyXText *> > Cache;
-       
+
        ///
        typedef Cache::value_type value_type;