diff --git a/core/ass_dialogue.cpp b/core/ass_dialogue.cpp index 72a11fdcd..b8875ca5e 100644 --- a/core/ass_dialogue.cpp +++ b/core/ass_dialogue.cpp @@ -44,34 +44,6 @@ #include -////////////////////// AssEntry ////////////////////// -/////////////////////// -// Constructs AssEntry -AssEntry::AssEntry() { - Type = ENTRY_BASE; - Valid = true; -} - -AssEntry::AssEntry(wxString _data) { - data = _data; - Type = ENTRY_BASE; - Valid = true; -} - - -/////////////////////////// -// Destructor for AssEntry -AssEntry::~AssEntry() { -} - - -/////////////////////////// -// Comparison for STL Sort -bool operator < (const AssEntry &t1, const AssEntry &t2) { - return (t1.StartMS < t2.StartMS); -} - - ////////////////////// AssDialogue ////////////////////// // Constructs AssDialogue AssDialogue::AssDialogue() { diff --git a/core/ass_entry.cpp b/core/ass_entry.cpp index 74afa6e8f..558bad336 100644 --- a/core/ass_entry.cpp +++ b/core/ass_entry.cpp @@ -41,6 +41,34 @@ #include "ass_entry.h" +////////////////////// AssEntry ////////////////////// +/////////////////////// +// Constructs AssEntry +AssEntry::AssEntry() { + Type = ENTRY_BASE; + Valid = true; +} + +AssEntry::AssEntry(wxString _data) { + data = _data; + Type = ENTRY_BASE; + Valid = true; +} + + +/////////////////////////// +// Destructor for AssEntry +AssEntry::~AssEntry() { +} + + +/////////////////////////// +// Comparison for STL Sort +bool operator < (const AssEntry &t1, const AssEntry &t2) { + return (t1.StartMS < t2.StartMS); +} + + //////////////////////////////////////////////////////////////// // Returns an entry as dialogue if possible, else, returns NULL AssDialogue *AssEntry::GetAsDialogue(AssEntry *base) {