class Addon

# class Addon | This is the base class for all addons. More...
Definition | `#include <addon.h>`
Inherits | Operation [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- Addon (char*,Element*,bool,int)
- virtual ~Addon ()
- virtual void undo ()
- virtual void redo ()
- virtual void selection (Table * selection)
- virtual void part (Part * part)
- virtual void track (Track * track)
- virtual void song (Song * song)
- virtual void global ()
- void run ()
- int context ()
- bool context (int)
- virtual ostream & print (int,ostream&) const
- virtual void flush (const char*) const
- virtual Element * copy () const

#### Public Members

- static const bool TO_BE_UNDONE
- static const int TREAT_SELECTION
- static const int TREAT_PART
- static const int TREAT_TRACK
- static const int TREAT_SONG
- static const int TREAT_GLOBAL
- static const int TREAT_ALL

#### Protected Members

- Element * _target
- int _context

## Detailed Description

This is the base class for all addons. Beware: If your addon is of the type TO_BE_UNDONE, don't use other operations within your addon!

Element * _target | ### _target

[protected]

int _context | ### _context

[protected]

static const bool TO_BE_UNDONE | ### TO_BE_UNDONE

static const int TREAT_SELECTION | ### TREAT_SELECTION

static const int TREAT_PART | ### TREAT_PART

static const int TREAT_TRACK | ### TREAT_TRACK

static const int TREAT_SONG | ### TREAT_SONG

static const int TREAT_GLOBAL | ### TREAT_GLOBAL

static const int TREAT_ALL | ### TREAT_ALL

Addon (char*,Element*,bool,int) | ### Addon

~Addon () | ### ~Addon

[virtual]

void undo () | ### undo

[virtual]

Reimplemented from Operation.

void redo () | ### redo

[virtual]

Reimplemented from Operation.

void selection (Table * selection) | ### selection

[virtual]

void part (Part * part) | ### part

[virtual]

void track (Track * track) | ### track

[virtual]

void song (Song * song) | ### song

[virtual]

void global () | ### global

[virtual]

void run () | ### run

int context () | ### context

bool context (int) | ### context

ostream & print (int,ostream&) | ### print

[const virtual]

Reimplemented from Atoma.

void flush (const char*) | ### flush

[const virtual]

Reimplemented from Atoma.

Element * copy () | ### copy

[const virtual]

Reimplemented from Atoma.

Generated by: wuerthne on clouseau on Fri Sep 21 19:20:46 2001, using kdoc 2.0a53.