SubtitleFormat::FPSRational can be useful in other places, so make it a public type.

Originally committed to SVN as r5980.
This commit is contained in:
Niels Martin Hansen 2011-12-06 20:42:07 +00:00
parent 88fe92bef1
commit 6270b312db
1 changed files with 3 additions and 2 deletions

View File

@ -67,20 +67,21 @@ private:
static std::list<SubtitleFormat*> formats;
static bool loaded;
protected:
public:
struct FPSRational {
int num;
int den;
bool smpte_dropframe;
FPSRational(int n=1, int d=1, bool dropframe=false) : num(n), den(d), smpte_dropframe(dropframe) { }
};
protected:
std::list<AssEntry*> *Line;
void CreateCopy();
void ClearCopy();
void SortLines();
void ConvertTags(int format,const wxString &lineEnd,bool mergeLineBreaks=true);
//void Merge(bool identical,bool overlaps,bool stripComments,bool stripNonDialogue);
void StripComments();
void StripNonDialogue();
void RecombineOverlaps();