]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/LyXView.h
* Doxy: polish html output.
[lyx.git] / src / frontends / LyXView.h
index da93d5d4d4c704f91c6ff643208f310ad8df7620..db9f33fb20ff5ce9914df7e8cb8dd145868a9d54 100644 (file)
@@ -13,7 +13,6 @@
 #ifndef LYXVIEW_H
 #define LYXVIEW_H
 
-#include "frontends/Delegates.h"
 #include "support/strfwd.h"
 
 namespace lyx {
@@ -66,6 +65,11 @@ public:
        virtual Buffer const * buffer() const = 0;
        /// set a buffer to the current workarea.
        virtual void setBuffer(Buffer * b) = 0; ///< \c Buffer to set.
+       ///
+       virtual bool closeBuffer() = 0;
+       ///
+       virtual void newDocument(std::string const & filename,
+               bool fromTemplate) = 0;
 
        //@}
 
@@ -75,10 +79,8 @@ public:
        ///
        virtual FuncStatus getStatus(FuncRequest const & cmd) = 0;
        /// dispatch command.
-       /// \param propagate: indicate if the dispatch should be probagated to
-       /// the main lyx::dispatch().
        /// \return true if the \c FuncRequest has been dispatched.
-       virtual bool dispatch(FuncRequest const & cmd, bool propagate) = 0;
+       virtual bool dispatch(FuncRequest const & cmd) = 0;
 
        ///
        virtual void restartCursor() = 0;