Rename AssStyle::GetType() to AssStyle::Group() so that it actually gets called

This commit is contained in:
Thomas Goyne 2012-11-26 06:42:46 -08:00
parent 1a6caa27b6
commit 2a6c6616a9
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ wxString const& AssEntry::GroupHeader(bool ssa) const {
static wxString ass_headers[] = { static wxString ass_headers[] = {
"[Script Info]", "[Script Info]",
"[Events]", "[Events]",
"[V4+ Styles]" "[V4+ Styles]",
"[Fonts]", "[Fonts]",
"[Graphics]", "[Graphics]",
"" ""
@ -58,7 +58,7 @@ wxString const& AssEntry::GroupHeader(bool ssa) const {
static wxString ssa_headers[] = { static wxString ssa_headers[] = {
"[Script Info]", "[Script Info]",
"[Events]", "[Events]",
"[V4 Styles]" "[V4 Styles]",
"[Fonts]", "[Fonts]",
"[Graphics]", "[Graphics]",
"" ""

View File

@ -79,7 +79,7 @@ public:
AssStyle(wxString data, int version=1); AssStyle(wxString data, int version=1);
wxString GetSSAText() const; wxString GetSSAText() const;
AssEntryGroup GetType() const { return ENTRY_STYLE; } AssEntryGroup Group() const { return ENTRY_STYLE; }
AssEntry *Clone() const; AssEntry *Clone() const;
/// Convert an ASS alignment to the equivalent SSA alignment /// Convert an ASS alignment to the equivalent SSA alignment