mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
LyXView: Remove unneeded interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31457 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
66dc054c6f
commit
783ba31467
@ -48,11 +48,6 @@ public:
|
|||||||
LyXView() {}
|
LyXView() {}
|
||||||
///
|
///
|
||||||
virtual ~LyXView() {}
|
virtual ~LyXView() {}
|
||||||
///
|
|
||||||
virtual int id() const = 0;
|
|
||||||
|
|
||||||
/// show busy cursor
|
|
||||||
virtual void setBusy(bool) = 0;
|
|
||||||
|
|
||||||
//@{ generic accessor functions
|
//@{ generic accessor functions
|
||||||
|
|
||||||
@ -62,6 +57,7 @@ public:
|
|||||||
/// \return the current document buffer view.
|
/// \return the current document buffer view.
|
||||||
virtual BufferView * documentBufferView() = 0;
|
virtual BufferView * documentBufferView() = 0;
|
||||||
virtual BufferView const * documentBufferView() const = 0;
|
virtual BufferView const * documentBufferView() const = 0;
|
||||||
|
//@}
|
||||||
|
|
||||||
/// set a buffer to the current workarea.
|
/// set a buffer to the current workarea.
|
||||||
virtual void setBuffer(Buffer * b) = 0; ///< \c Buffer to set.
|
virtual void setBuffer(Buffer * b) = 0; ///< \c Buffer to set.
|
||||||
@ -71,11 +67,6 @@ public:
|
|||||||
support::FileName const & name, ///< File to load.
|
support::FileName const & name, ///< File to load.
|
||||||
bool tolastfiles = true ///< append to the "Open recent" menu?
|
bool tolastfiles = true ///< append to the "Open recent" menu?
|
||||||
) = 0;
|
) = 0;
|
||||||
///
|
|
||||||
virtual void newDocument(std::string const & filename,
|
|
||||||
bool fromTemplate) = 0;
|
|
||||||
|
|
||||||
//@}
|
|
||||||
|
|
||||||
/// display a message in the view
|
/// display a message in the view
|
||||||
virtual void message(docstring const &) = 0;
|
virtual void message(docstring const &) = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user