18#ifndef LEGACYBACKUPELEMENT_H
19#define LEGACYBACKUPELEMENT_H
22#include "vectorimage.h"
23#include "bitmapimage.h"
32 enum types { UNDEFINED, BITMAP_MODIF, VECTOR_MODIF, SOUND_MODIF };
35 bool somethingSelected =
false;
36 qreal rotationAngle = 0.0;
43 virtual int type() {
return UNDEFINED; }
44 virtual void restore(
Editor*) { Q_ASSERT(
false); }
58 int type()
override {
return LegacyBackupElement::BITMAP_MODIF; }
59 void restore(
Editor*)
override;
73 int type()
override {
return LegacyBackupElement::VECTOR_MODIF; }
74 void restore(
Editor*)
override;
89 int type()
override {
return LegacyBackupElement::SOUND_MODIF; }
90 void restore(
Editor* )
override;