class Modified

TSE3::Song modified status monitor. More...

Full nameTSE3::App::Modified
Definition#include <Modified.h>
InheritsTSE3::Listener (unknown) [public ], TSE3::Listener (unknown) [public ], TSE3::Listener (unknown) [public ], TSE3::Listener (unknown) [public ], TSE3::Listener (unknown) [public ], TSE3::Listener (unknown) [public ], TSE3::Listener (unknown) [public ], TSE3::Listener (unknown) [public ], TSE3::Listener (unknown) [public ], TSE3::Listener (unknown) [public ], TSE3::Listener (unknown) [public ], TSE3::Notifier (unknown) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Listens to a TSE3::Song and all its subcomponents, and works out whether it has been 'modified' at all.

You can change which TSE3::Song is monitored at any time.

See also: TSE3

 Modified (TSE3::Song *song = 0)

Modified

Create a Modified object for the specified TSE3::Song. If no song is specified then this will return false from modified until a TSE3::Song is set with setSong.

Parameters:
songTSE3::Song to monitor at first.

TSE3::Songsong ()

song

[const]

Returns the TSE3::Song currently being monitored, or zero if no song is being monitored.

Returns: TSE3::Song being monitored

See also: setSong

void  setSong (TSE3::Song *song)

setSong

Sets the TSE3::Song currently being monitored. This will clear the return value of modified if it is currently true.

See also: song

bool  modified ()

modified

[const]

Returns whether or not the TSE3::Song has been modified.

Returns: Whether the TSE3::Song has been modified.

See also: setModified

void  setModified (bool modified = true)

setModified

Causes the modified status to be set. If necessary, this will emit a Modified_Changed notification.

Parameters:
mNew modified status

See also: modified

void  Song_InfoAltered (Song *)

Song_InfoAltered

[virtual]

void  Song_FromAltered (Song *, Clock )

Song_FromAltered

[virtual]

void  Song_ToAltered (Song *, Clock )

Song_ToAltered

[virtual]

void  Song_TrackInserted (Song *, Track *)

Song_TrackInserted

[virtual]

void  Song_TrackRemoved (Song *, Track *, size_t)

Song_TrackRemoved

[virtual]

void  Track_TitleAltered (Track *)

Track_TitleAltered

[virtual]

void  Track_PartInserted (Track *, Part *)

Track_PartInserted

[virtual]

void  Track_PartRemoved (Track *, Part *)

Track_PartRemoved

[virtual]

void  Part_StartAltered (Part *, Clock )

Part_StartAltered

[virtual]

void  Part_EndAltered (Part *, Clock )

Part_EndAltered

[virtual]

void  Part_RepeatAltered (Part *, Clock )

Part_RepeatAltered

[virtual]

void  Part_PhraseAltered (Part *, Phrase * )

Part_PhraseAltered

[virtual]

void  PhraseList_Inserted (PhraseList *, Phrase * )

PhraseList_Inserted

[virtual]

void  PhraseList_Removed (PhraseList *, Phrase * )

PhraseList_Removed

[virtual]

void  MidiParams_Altered (MidiParams *, int )

MidiParams_Altered

[virtual]

void  DisplayParams_Altered (DisplayParams *)

DisplayParams_Altered

[virtual]

void  EventTrack_EventAltered (EventTrack *, size_t)

EventTrack_EventAltered

[virtual]

void  EventTrack_EventInserted (EventTrack *, size_t)

EventTrack_EventInserted

[virtual]

void  EventTrack_EventErased (EventTrack *, size_t)

EventTrack_EventErased

[virtual]

void  EventTrack_EventAltered (EventTrack *)

EventTrack_EventAltered

[virtual]

void  EventTrack_EventInserted (EventTrack *)

EventTrack_EventInserted

[virtual]

void  EventTrack_EventErased (EventTrack *)

EventTrack_EventErased

[virtual]

void  EventTrack_EventAltered (EventTrack *)

EventTrack_EventAltered

[virtual]

void  EventTrack_EventInserted (EventTrack *)

EventTrack_EventInserted

[virtual]

void  EventTrack_EventErased (EventTrack *)

EventTrack_EventErased

[virtual]

void  MidiFilter_Altered (MidiFilter *, int )

MidiFilter_Altered