From 6fc296295f0579d730a61070c40d5e05a34be787 Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 2 Apr 2016 23:39:03 +0200 Subject: Code reformating --- m3u8Parser.h | 43 +++++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 20 deletions(-) (limited to 'm3u8Parser.h') diff --git a/m3u8Parser.h b/m3u8Parser.h index 3bd0ae2..ed915f9 100644 --- a/m3u8Parser.h +++ b/m3u8Parser.h @@ -5,32 +5,35 @@ #include #include -class cM3u8Parser -{ +class cM3u8Parser { public: - struct playListItem { - int length; - int bandwidth; - int programId; - std::string file; - int size; - }; + struct playListItem { + int length; + int bandwidth; + int programId; + std::string file; + int size; + }; private: - void Init(); - void eDump(std::istream &m3u8); + void Init(); + + void eDump(std::istream &m3u8); public: - std::vector vPlaylistItems; - int TargetDuration; - int MediaSequence; - bool MasterPlaylist; - bool AllowCache; - bool Parse(std::istream &m3u8); + std::vector vPlaylistItems; + int TargetDuration; + int MediaSequence; + bool MasterPlaylist; + bool AllowCache; + + bool Parse(std::istream &m3u8); public: - cM3u8Parser(std::istream &m3u8); - cM3u8Parser(); - ~cM3u8Parser() {}; + cM3u8Parser(std::istream &m3u8); + + cM3u8Parser(); + + ~cM3u8Parser() { }; }; -- cgit v1.2.3