Skip to content
Extraits de code Groupes Projets
Valider 6270b312 rédigé par Niels Martin Hansen's avatar Niels Martin Hansen
Parcourir les fichiers

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

Originally committed to SVN as r5980.
parent 88fe92be
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -67,20 +67,21 @@ private: ...@@ -67,20 +67,21 @@ private:
static std::list<SubtitleFormat*> formats; static std::list<SubtitleFormat*> formats;
static bool loaded; static bool loaded;
protected: public:
struct FPSRational { struct FPSRational {
int num; int num;
int den; int den;
bool smpte_dropframe; 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; std::list<AssEntry*> *Line;
void CreateCopy(); void CreateCopy();
void ClearCopy(); void ClearCopy();
void SortLines(); void SortLines();
void ConvertTags(int format,const wxString &lineEnd,bool mergeLineBreaks=true); void ConvertTags(int format,const wxString &lineEnd,bool mergeLineBreaks=true);
//void Merge(bool identical,bool overlaps,bool stripComments,bool stripNonDialogue);
void StripComments(); void StripComments();
void StripNonDialogue(); void StripNonDialogue();
void RecombineOverlaps(); void RecombineOverlaps();
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter