]> git.lyx.org Git - lyx.git/blobdiff - src/TextCache.h
ws changes only
[lyx.git] / src / TextCache.h
index 32036e71cf76c8083a59bb93ef4059ba4d24c540..50c60852520addaef9f6893e3a834f75b19fd949 100644 (file)
@@ -1,26 +1,23 @@
 // -*- C++ -*-
-/* This file is part of
- * ======================================================
+/**
+ * \file TextCache.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- *           LyX, The Document Processor
- *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2001 The LyX Team
+ * \author Lars Gullik Bjønnes
  *
- *           This file is Copyright 2000-2001
- *           Lars Gullik Bjønnes
- *
- * ====================================================== */
+ * Full author contact details are available in file CREDITS.
+ */
 
 #ifndef TEXT_CACHE_H
 #define TEXT_CACHE_H
 
-#include "LString.h"
-#include "lyxtext.h"
-#include "buffer.h"
-
 #include <iosfwd>
 #include <map>
+#include <string>
 
+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
@@ -119,7 +116,7 @@ public:
        LyXText * findFit(Buffer * b, int p);
        /** Lists all the LyXText's currently in the cache.
            Uses msg as header for the list. */
-       void show(std::ostream & o, string const & msg);
+       void show(std::ostream & o, std::string const & msg);
        /// Gives info on a single LyXText (buffer and width)
        static void show(std::ostream & o, value_type const &);
        /** Adds a LyXText to the cache iff its buffer is