]> git.lyx.org Git - lyx.git/blobdiff - src/LyXFunc.h
do what the FIXME suggested
[lyx.git] / src / LyXFunc.h
index 692fc732335ffd71eb2b8d02a509c7738c5adb85..3b062b8f53b6baee93a9b0817007d3088da337b2 100644 (file)
@@ -24,11 +24,11 @@ namespace lyx {
 
 class Buffer;
 class BufferView;
+class DocumentClass;
 class FuncRequest;
 class FuncStatus;
 class KeySymbol;
 class Text;
-class TextClassIndex;
 
 namespace support {
 class FileName;
@@ -38,7 +38,6 @@ namespace frontend {
 class LyXView;
 }
 
-
 /** This class encapsulates all the LyX command operations.
     This is the class of the LyX's "high level event handler".
     Every user command is processed here, either invocated from
@@ -130,14 +129,12 @@ private:
        void sendDispatchMessage(docstring const & msg,
                FuncRequest const & ev);
 
-       ///
-       void closeBuffer();
        ///
        void reloadBuffer();
        ///
        bool ensureBufferClean(BufferView * bv);
        ///
-       void updateLayout(TextClassIndex const & oldlayout, Buffer * buffer);
+       void updateLayout(DocumentClass * oldlayout, Buffer * buffer);
 };
 
 /// Implementation is in LyX.cpp