r578: Factored UndoStackItem into an interface class UndoStackItem and
[cinelerra_cv/ct.git] / cinelerra / undostackitem.C
blob35b37847d566d80757c9bf60fa15d9dde56ce567
1 #include "undostackitem.h"
2 #include <string.h>
6 UndoStackItem::UndoStackItem() : ListItem<UndoStackItem>()
8         description = 0;
11 UndoStackItem::~UndoStackItem()
13         delete [] description;
16 void UndoStackItem::set_description(char *description)
18         this->description = new char[strlen(description) + 1];
19         strcpy(this->description, description);
22 void UndoStackItem::undo()
26 void UndoStackItem::redo()
30 int UndoStackItem::get_size()
32         return 0;