1 #include "undostackitem.h"
6 UndoStackItem::UndoStackItem() : ListItem<UndoStackItem>()
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()
39 // c-file-style: "linux"