#include <actions.hpp>
Inheritance diagram for Action::Task:
Public Types | |
typedef std::auto_ptr< Task > | AutoPtr |
Shortcut for an auto pointer. | |
Public Member Functions | |
virtual | ~Task () |
Virtual destructor. | |
AutoPtr | clone () const |
Virtual copy construction. | |
virtual int | run (const std::string &path)=0 |
Application interface to perform a task. |
Task provides a simple interface that actions must implement and a few commonly used helpers.
virtual int Action::Task::run | ( | const std::string & | path | ) | [pure virtual] |
Application interface to perform a task.
path | Path of the file to process. |
Implemented in Action::Print, Action::Rename, Action::Adjust, Action::Erase, Action::Extract, Action::Insert, Action::Modify, Action::FixIso, and Action::FixCom.