diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 6f9a88106f..9964b61e18 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,4 +1,7 @@ 2003-02-21 Angus Leeming + + * 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]: diff --git a/src/insets/inset.h b/src/insets/inset.h index 3734f69142..9f865c0c3f 100644 --- a/src/insets/inset.h +++ b/src/insets/inset.h @@ -337,7 +337,10 @@ public: * defaults to empty. */ virtual void generatePreview() const {} - + /// + virtual void cache(BufferView *) const {} + /// + virtual BufferView * view() const { return 0; } protected: /// diff --git a/src/insets/updatableinset.h b/src/insets/updatableinset.h index cae163fe6c..192ced8ed8 100644 --- a/src/insets/updatableinset.h +++ b/src/insets/updatableinset.h @@ -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 {