X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTextCache.h;h=73bdf8f33a5d5aa321969e2fcb778b8ab72bdf72;hb=c544107e324090c6eafb4c56749da2624b9b1122;hp=93df369bb05498b8c4fde5eff392090d39e8996e;hpb=c307b3bd88c8ddb7bbeb3c42824c66a3b19d606b;p=lyx.git diff --git a/src/TextCache.h b/src/TextCache.h index 93df369bb0..73bdf8f33a 100644 --- a/src/TextCache.h +++ b/src/TextCache.h @@ -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 * @@ -14,17 +14,13 @@ #ifndef TEXT_CACHE_H #define TEXT_CACHE_H -#ifdef __GNUG__ -#pragma interface -#endif - #include "LString.h" -#include "lyxtext.h" -#include "buffer.h" #include #include +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 > Cache; - + /// typedef Cache::value_type value_type;