CrystalSpace

Public API Reference

CS::EditorApp::iAction Struct Reference

An undoable action. More...

#include <ieditor/action.h>

Inheritance diagram for CS::EditorApp::iAction:

List of all members.

Public Member Functions

virtual csPtr< iActionDo ()=0
 Does the action.
virtual const wxChar * GetDescription () const =0
 Get a user-friendly description of the action.

Detailed Description

An undoable action.

All reversible operations should implement this interface so that they can be undone.

Definition at line 35 of file action.h.


Member Function Documentation

virtual csPtr<iAction> CS::EditorApp::iAction::Do (  )  [pure virtual]

Does the action.

Returns:
An action representing the inverse operation that can be used to undo the action, or 0 if the action cannot be undone.
virtual const wxChar* CS::EditorApp::iAction::GetDescription (  )  const [pure virtual]

Get a user-friendly description of the action.


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

Generated for Crystal Space 2.1 by doxygen 1.6.1