MainUndoStackItem Class Reference

Inherits UndoStackItem.

Collaboration diagram for MainUndoStackItem:

Collaboration graph
[legend]

Public Member Functions

 MainUndoStackItem (MainUndo *undo, char *description, uint32_t load_flags, void *creator)
virtual ~MainUndoStackItem ()
void set_data_before (char *data)
virtual void undo ()
virtual int get_size ()

Private Member Functions

void load_from_undo (FileXML *file, uint32_t load_flags)

Private Attributes

unsigned long load_flags
char * data_before
MainUndomain_undo

Detailed Description

Definition at line 21 of file mainundo.C.


Constructor & Destructor Documentation

MainUndoStackItem::MainUndoStackItem ( MainUndo undo,
char *  description,
uint32_t  load_flags,
void *  creator 
)

Definition at line 231 of file mainundo.C.

References data_before, UndoStackItem::set_creator(), and UndoStackItem::set_description().

Here is the call graph for this function:

MainUndoStackItem::~MainUndoStackItem (  )  [virtual]

Definition at line 241 of file mainundo.C.

References data_before.


Member Function Documentation

void MainUndoStackItem::set_data_before ( char *  data  ) 

Definition at line 246 of file mainundo.C.

References data_before.

Referenced by MainUndo::push_state(), undo(), and MainUndo::update_undo().

void MainUndoStackItem::undo (  )  [virtual]

Reimplemented from UndoStackItem.

Definition at line 252 of file mainundo.C.

References MainUndo::data_after, data_before, load_flags, load_from_undo(), main_undo, FileXML::read_from_string(), and set_data_before().

Here is the call graph for this function:

int MainUndoStackItem::get_size (  )  [virtual]

Reimplemented from UndoStackItem.

Definition at line 266 of file mainundo.C.

References data_before.

void MainUndoStackItem::load_from_undo ( FileXML file,
uint32_t  load_flags 
) [private]


Field Documentation

unsigned long MainUndoStackItem::load_flags [private]

Definition at line 34 of file mainundo.C.

Referenced by undo().

Definition at line 37 of file mainundo.C.

Referenced by get_size(), MainUndoStackItem(), set_data_before(), undo(), and ~MainUndoStackItem().

Definition at line 39 of file mainundo.C.

Referenced by load_from_undo(), and undo().


The documentation for this class was generated from the following file:

Generated on Mon Apr 28 14:30:24 2008 for Cinelerra by  doxygen 1.5.5