]> git.lyx.org Git - features.git/blobdiff - src/frontends/LyXView.h
Replace LString.h with support/std_string.h,
[features.git] / src / frontends / LyXView.h
index 3ec570bfb9c5736c61edca179844720b5602bf84..4c9ee9051a960611e28a880868a7b8baa27cfdcf 100644 (file)
@@ -1,24 +1,20 @@
 // -*- C++ -*-
 /**
  * \file LyXView.h
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Lars Gullik Bjønnes 
- * \author John Levon 
+ * \author Lars Gullik Bjønnes
+ * \author John Levon
  *
- * 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 "LString.h"
-
-#include "support/types.h"
+#include "support/std_string.h"
 
 #include <boost/utility.hpp>
 #include <boost/scoped_ptr.hpp>
@@ -66,10 +62,8 @@ public:
         */
        void init();
 
-       /// start modal operation
-       virtual void prohibitInput() const = 0;
-       /// end modal operation
-       virtual void allowInput() const = 0;
+       /// show busy cursor
+       virtual void busy(bool) const = 0;
 
        //@{ generic accessor functions
 
@@ -121,13 +115,16 @@ public:
 
        /// focus the command buffer (minibuffer)
        boost::signal0<void> focus_command_buffer;
+
        /// view state string changed
        boost::signal0<void> view_state_changed;
 
        /// display a message in the view
        virtual void message(string const &) = 0;
 
+       /// clear any temporary message and replace with current status
+       virtual void clearMessage() = 0;
+
        /// updates the title of the window
        void updateWindowTitle();
 
@@ -136,7 +133,7 @@ public:
 
        /// dispatch to current BufferView
        void dispatch(FuncRequest const & req);
+
 protected:
        /// view of a buffer. Eventually there will be several.
        boost::shared_ptr<BufferView> bufferview_;