mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
77e706c441
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@638 a592a061-630c-0410-9148-cb99ea01b6c8
34 lines
440 B
C++
34 lines
440 B
C++
// -*- C++ -*-
|
|
|
|
#ifndef UPDATE_INSET_H
|
|
#define UPDATE_INSET_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include <queue>
|
|
#include "support/LAssert.h"
|
|
|
|
class Inset;
|
|
class BufferView;
|
|
|
|
///
|
|
class UpdateInset {
|
|
public:
|
|
///
|
|
void push(Inset * inset) {
|
|
Assert(inset);
|
|
insetqueue.push(inset);
|
|
}
|
|
///
|
|
void update(BufferView *);
|
|
private:
|
|
///
|
|
typedef std::queue<Inset*> InsetQueue;
|
|
///
|
|
InsetQueue insetqueue;
|
|
};
|
|
|
|
#endif // UPDATE_INSET_H
|