remove unneeded BufferView::UpdateCodes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7495 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-08-04 14:36:51 +00:00
parent c544107e32
commit ecee0239e7
3 changed files with 2 additions and 21 deletions

View File

@ -238,14 +238,6 @@ void BufferView::stuffClipboard(string const & stuff) const
}
BufferView::UpdateCodes operator|(BufferView::UpdateCodes uc1,
BufferView::UpdateCodes uc2)
{
return static_cast<BufferView::UpdateCodes>
(static_cast<int>(uc1) | static_cast<int>(uc2));
}
bool BufferView::dispatch(FuncRequest const & ev)
{
return pimpl_->dispatch(ev);

View File

@ -39,15 +39,6 @@ class ErrorList;
*/
class BufferView : boost::noncopyable {
public:
/**
* Codes to store necessary pending updates
* of the document rendering.
*/
enum UpdateCodes {
UPDATE = 0, //< repaint
SELECT = 1 //< reset selection to current cursor pos
};
/**
* Create a view with the given owner main window,
* of the given dimensions.
@ -220,8 +211,4 @@ private:
Pimpl * pimpl_;
};
BufferView::UpdateCodes operator|(BufferView::UpdateCodes uc1,
BufferView::UpdateCodes uc2);
#endif // BUFFERVIEW_H

View File

@ -13,6 +13,8 @@
* text3.C: replace "complicated" BufferView::update(...) calls with
simpler ones.
* BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
* Makefile.am (lyx_SOURCES): add paper.h