]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/lyx_gui.h
fix tooltips in toolbar
[lyx.git] / src / frontends / lyx_gui.h
index d4f0c03e4528401ab5aabd97fefaad910bc3b490..741688a3114ef9808d795e032d1526732d0b169a 100644 (file)
@@ -16,6 +16,7 @@
 
 class Dialogs;
 class LyXFont;
+class LyXComm;
 
 /// GUI interaction
 namespace lyx_gui {
@@ -35,6 +36,11 @@ namespace lyx_gui {
         */
        void start(string const & batch, std::vector<std::string> files);
 
+       /**
+        * quit running LyX
+        */
+       void exit();
        /** Eg, passing LColor::black returns "000000",
         *      passing LColor::white returns "ffffff".
         */
@@ -54,6 +60,11 @@ namespace lyx_gui {
         * is the given font available ?
         */
        bool font_available(LyXFont const & font);
+
+       /**
+        * add a callback for I/O read notification
+        */
+       void set_read_callback(int fd, LyXComm * comm);
 }
 
 #endif // LYX_GUI_H