Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

UndoStackItem Class Reference

#include <undostackitem.h>

Inheritance diagram for UndoStackItem:

InPointUndoItem LabelUndoItem MainUndoStackItem OutPointUndoItem List of all members.

Public Member Functions

 UndoStackItem ()
virtual ~UndoStackItem ()
void set_description (char *description)
void set_creator (void *creator)
virtual void undo ()
virtual int get_size ()

Public Attributes

char * description
void * creator

Detailed Description

Definition at line 7 of file undostackitem.h.


Constructor & Destructor Documentation

UndoStackItem::UndoStackItem  ) 
 

Definition at line 6 of file undostackitem.C.

References creator, and description.

UndoStackItem::~UndoStackItem  )  [virtual]
 

Definition at line 12 of file undostackitem.C.

References description.


Member Function Documentation

int UndoStackItem::get_size  )  [virtual]
 

Reimplemented in MainUndoStackItem, InPointUndoItem, OutPointUndoItem, and LabelUndoItem.

Definition at line 32 of file undostackitem.C.

Referenced by MainUndo::prune_undo().

void UndoStackItem::set_creator void *  creator  ) 
 

Definition at line 23 of file undostackitem.C.

Referenced by MainUndoStackItem::MainUndoStackItem(), and MainUndo::reset_creators().

void UndoStackItem::set_description char *  description  ) 
 

Definition at line 17 of file undostackitem.C.

Referenced by InPointUndoItem::InPointUndoItem(), LabelUndoItem::LabelUndoItem(), MainUndoStackItem::MainUndoStackItem(), and OutPointUndoItem::OutPointUndoItem().

void UndoStackItem::undo  )  [virtual]
 

Reimplemented in MainUndoStackItem, InPointUndoItem, OutPointUndoItem, and LabelUndoItem.

Definition at line 28 of file undostackitem.C.

Referenced by MainUndo::redo(), and MainUndo::undo().


Member Data Documentation

void* UndoStackItem::creator
 

Definition at line 35 of file undostackitem.h.

Referenced by UndoStackItem().

char* UndoStackItem::description
 

Definition at line 33 of file undostackitem.h.

Referenced by MainUndo::push_undo_item(), MainUndo::redo(), MainUndo::undo(), UndoStackItem(), and ~UndoStackItem().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:27 2006 for Cinelerra-svn by  doxygen 1.4.4