#include <Phrase.h>
Inheritance diagram for TSE3::Cmd::Phrase_Create:
Public Member Functions | |
Phrase_Create (TSE3::PhraseList *phraseList, TSE3::PhraseEdit *phraseEdit, const std::string &title="") | |
virtual | ~Phrase_Create () |
TSE3::Phrase * | phrase () const |
Protected Member Functions | |
virtual void | executeImpl () |
virtual void | undoImpl () |
Command to insert a TSE3::Phrase into a TSE3::Song by creating it from a TSE3::PhraseEdit.
This object may propagate the TSE3::PhraseListError exception if the Phrase name already exists.
|
Creates a new Phrase_Create command. After having performed the first execute() on this object it is safe to delete the PhraseEdit object. Until then you must ensure that the object is not deleted.
|
|
|
|
Returns a pointer to the created Phrase. This is only valid once execute() had been called. |
|
Implements TSE3::Cmd::Command. |
|
Implements TSE3::Cmd::Command. |