]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/XFormsView.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / XFormsView.h
index bb81268005302b742d87cc988cf8250c1790630b..d0647277f8e2a39e5bcaa34ae8a4d9104a659e75 100644 (file)
@@ -6,15 +6,12 @@
  *
  * \author unknown
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef LyXView_H
 #define LyXView_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
 
 #include "forms_fwd.h"
 
@@ -41,22 +38,23 @@ public:
         * @param xpos requested y position (or 0)
         * @param title window title
         */
-       void show(int xpos, int ypos, string const & t = string("LyX"));
+       void show(int xpos, int ypos, std::string const & t = std::string("LyX"));
 
        /// get the xforms main form
        FL_FORM * getForm() const;
        /// redraw the main form.
        virtual void redraw();
-       ///
-       virtual void prohibitInput() const;
-       ///
-       virtual void allowInput() const;
+       /// show busy cursor
+       virtual void busy(bool) const;
 
        /// callback for close event from window manager
        static int atCloseMainFormCB(FL_FORM *, void *);
 
        /// display a status message
-       virtual void message(string const & str);
+       virtual void message(std::string const & str);
+
+       /// clear back to normal status message
+       virtual void clearMessage();
 
 private:
        /**
@@ -64,7 +62,7 @@ private:
         * @param t main window title
         * @param it iconified (short) title
         */
-       virtual void setWindowTitle(string const & t, string const & it);
+       virtual void setWindowTitle(std::string const & t, std::string const & it);
 
        /// update the minibuffer state message
        void show_view_state();