// -*- 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>
*/
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
/// 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();
/// dispatch to current BufferView
void dispatch(FuncRequest const & req);
-
+
protected:
/// view of a buffer. Eventually there will be several.
boost::shared_ptr<BufferView> bufferview_;