Reposition these BufferView access and caching methods, make 'em virtual

and give 'em defaults.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6222 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-02-21 12:11:53 +00:00
parent 546e14eb16
commit 12b3e1818e
3 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,7 @@
2003-02-21 Angus Leeming <leeming@lyx.org>
* updatableinset.h (setView, view): remove.
* inset.h (view, cache): to be replaced by these.
* insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
insetbibtex.[Ch]:

View File

@ -337,7 +337,10 @@ public:
* defaults to empty.
*/
virtual void generatePreview() const {}
///
virtual void cache(BufferView *) const {}
///
virtual BufferView * view() const { return 0; }
protected:
///

View File

@ -142,12 +142,6 @@ public:
virtual bool searchBackward(BufferView *, string const &,
bool = true, bool = false);
///
BufferView * view() const;
///
void setView(BufferView * bv) const;
protected:
///
void toggleCursorVisible() const {