]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Application.h
Embedding: add embedCB checkboxes to IncludeUi and ExternalUi
[lyx.git] / src / frontends / Application.h
index ab3a82557afda12379e3e14b0b3b48936ba31be0..826b9a3e2ae5b43d61b02823c2ef83fd3ca1c09f 100644 (file)
@@ -25,6 +25,7 @@ class Buffer;
 class FuncRequest;
 class FuncStatus;
 class Inset;
+class MenuBackend;
 struct RGBColor;
 
 namespace frontend {
@@ -156,7 +157,8 @@ 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;
@@ -207,6 +209,10 @@ public:
        * @param fd socket descriptor (file/socket/etc)
        */
        virtual void unregisterSocketCallback(int fd) = 0;
+
+       ///
+       virtual MenuBackend const & menuBackend() const = 0;
+       virtual MenuBackend & menuBackend() = 0;
 };
 
 } // namespace frontend