Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / undostackitem.C
blob14df17c3a76d55798ae5b02b4021392a03c4b8a1
1 #include "undostackitem.h"
2 #include <string.h>
6 UndoStackItem::UndoStackItem() : ListItem<UndoStackItem>()
8         description = 0;
9         creator = 0;
12 UndoStackItem::~UndoStackItem()
14         delete [] description;
17 void UndoStackItem::set_description(char *description)
19         this->description = new char[strlen(description) + 1];
20         strcpy(this->description, description);
23 void UndoStackItem::set_creator(void *creator)
25         this->creator = creator;
28 void UndoStackItem::undo()
32 int UndoStackItem::get_size()
34         return 0;
37 //      Local Variables:
38 //      mode: C++
39 //      c-file-style: "linux"
40 //      End: