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

MainUndoStackItem Class Reference

Inheritance diagram for MainUndoStackItem:

UndoStackItem List of all members.

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

Detailed Description

Definition at line 20 of file mainundo.C.

Constructor & Destructor Documentation

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

Definition at line 230 of file mainundo.C.

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

MainUndoStackItem::~MainUndoStackItem  )  [virtual]

Definition at line 240 of file mainundo.C.

References data_before.

Member Function Documentation

int MainUndoStackItem::get_size  )  [virtual]

Reimplemented from UndoStackItem.

Definition at line 265 of file mainundo.C.

References data_before.

void MainUndoStackItem::load_from_undo FileXML file,
uint32_t  load_flags

Definition at line 271 of file mainundo.C.

References MainIndexes::add_next_asset(), EDL::assets, MWindow::edl, EDL::load_xml(), main_undo, MWindow::mainindexes, MainUndo::mwindow, MWindow::plugindb, and MainIndexes::start_build().

Referenced by undo().

void MainUndoStackItem::set_data_before char *  data  ) 

Definition at line 245 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 251 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().

Member Data Documentation

char* MainUndoStackItem::data_before [private]

Definition at line 36 of file mainundo.C.

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

unsigned long MainUndoStackItem::load_flags [private]

Definition at line 33 of file mainundo.C.

Referenced by undo().

MainUndo* MainUndoStackItem::main_undo [private]

Definition at line 38 of file mainundo.C.

Referenced by load_from_undo(), and undo().

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