]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Application.h
* Doxy: polish html output.
[lyx.git] / src / frontends / Application.h
index c6d254d68e0d0793f3a6c09461631b7819b53156..826b9a3e2ae5b43d61b02823c2ef83fd3ca1c09f 100644 (file)
@@ -25,6 +25,7 @@ class Buffer;
 class FuncRequest;
 class FuncStatus;
 class Inset;
+class MenuBackend;
 struct RGBColor;
 
 namespace frontend {
@@ -156,13 +157,12 @@ public:
        ///
        virtual FuncStatus getStatus(FuncRequest const & cmd) = 0;
        /// dispatch command.
-       virtual void dispatch(FuncRequest const & cmd) = 0;
+       /// \return true if the \c FuncRequest has been dispatched.
+       virtual bool dispatch(FuncRequest const & cmd) = 0;
 
        ///
        virtual void resetGui() = 0;
 
-       ///
-       virtual bool closeAllViews() = 0;
        ///
        virtual void hideDialogs(std::string const & name, Inset * inset) const = 0;
        ///
@@ -210,9 +210,9 @@ public:
        */
        virtual void unregisterSocketCallback(int fd) = 0;
 
-       /// Create the main window with given geometry settings.
-       /// \param geometry_arg: only for Windows platform.
-       virtual void createView(std::string const & geometry_arg = std::string()) = 0;
+       ///
+       virtual MenuBackend const & menuBackend() const = 0;
+       virtual MenuBackend & menuBackend() = 0;
 };
 
 } // namespace frontend