Moved AssEntry constructors to where they should be

Originally committed to SVN as r27.
This commit is contained in:
Fredrik Mellbin 2006-01-25 22:19:40 +00:00
parent 87ac27af9a
commit 645aae6e29
2 changed files with 28 additions and 28 deletions

View file

@ -44,34 +44,6 @@
#include <wx/tokenzr.h> #include <wx/tokenzr.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);
}
////////////////////// AssDialogue ////////////////////// ////////////////////// AssDialogue //////////////////////
// Constructs AssDialogue // Constructs AssDialogue
AssDialogue::AssDialogue() { AssDialogue::AssDialogue() {

View file

@ -41,6 +41,34 @@
#include "ass_entry.h" #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 // Returns an entry as dialogue if possible, else, returns NULL
AssDialogue *AssEntry::GetAsDialogue(AssEntry *base) { AssDialogue *AssEntry::GetAsDialogue(AssEntry *base) {