1 #ifndef RS_PREVIEWACTIONINTERFACE_H
2 #define RS_PREVIEWACTIONINTERFACE_H
4 #include "rs_actioninterface.h"
9 * This is the interface that must be implemented for all
10 * action classes which need a preview.
12 * @author Andrew Mustun
14 class RS_PreviewActionInterface: public RS_ActionInterface
17 RS_PreviewActionInterface(const char * name,
18 RS_EntityContainer & container, RS_GraphicView & graphicView);
19 virtual ~RS_PreviewActionInterface();
21 virtual void init(int status = 0);
22 virtual void finish();
23 virtual void suspend();
24 virtual void resume();
25 virtual void trigger();
35 * Preview that holds the entities to be previewed.
39 * Keeps track of the drawings in XOR mode.
43 * Current offset of the preview.