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