lyx_mirror/src/UpdateInset.C
Asger Ottar Alstrup b8cad4ca9d More header file include dependency work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2386 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-29 17:39:01 +00:00

26 lines
452 B
C

#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "UpdateInset.h"
#include "BufferView.h"
#include "support/LAssert.h"
void UpdateInset::push(Inset * inset) {
lyx::Assert(inset);
insetqueue.push(inset);
}
void UpdateInset::update(BufferView * bv)
{
while (!insetqueue.empty()) {
Inset * inset = insetqueue.front();
insetqueue.pop();
bv->updateInset(inset, false); // "false" because no document change
}
}