]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/LyXView.h
* Doxy: polish html output.
[lyx.git] / src / frontends / LyXView.h
index 9c610ccffb9d0cb41e6237e7bda8022cd430e156..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,8 +79,6 @@ 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) = 0;