]> git.lyx.org Git - lyx.git/blobdiff - src/TextCache.h
Point fix, earlier forgotten
[lyx.git] / src / TextCache.h
index d09559b9ca1c69129d80365cef7f19781c5ec189..fcb6caebf27f3f9061a1b5c8fa8671ba74c8e4cf 100644 (file)
@@ -1,29 +1,24 @@
 // -*- C++ -*-
-/* This file is part of
- * ====================================================== 
- * 
- *           LyX, The Document Processor        
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team
+/**
+ * \file TextCache.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           This file is Copyright 2000-2001
- *           Lars Gullik Bjønnes
+ * \author Lars Gullik Bjønnes
  *
- * ====================================================== */
+ * Full author contact details are available in file CREDITS.
+ */
 
 #ifndef TEXT_CACHE_H
 #define TEXT_CACHE_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "LString.h"
 
 #include <iosfwd>
 #include <map>
 
-#include "LString.h"
-#include "lyxtext.h"
-#include "buffer.h"
+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
@@ -58,7 +53,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
@@ -113,7 +108,7 @@ class TextCache {
 public:
        ///
        typedef std::map<Buffer *, std::pair<int,LyXText *> > Cache;
-       
+
        ///
        typedef Cache::value_type value_type;