diff options
author | Christian <zerov83@gmail.com> | 2016-04-02 23:39:03 +0200 |
---|---|---|
committer | Christian <zerov83@gmail.com> | 2016-04-02 23:39:03 +0200 |
commit | 6fc296295f0579d730a61070c40d5e05a34be787 (patch) | |
tree | 3607a483342185eddcbf67824624214a4ec59e75 /m3u8Parser.h | |
parent | f94b31e13127247160815c5902e75f7bcbf3d393 (diff) | |
download | vdr-plugin-plex-6fc296295f0579d730a61070c40d5e05a34be787.tar.gz vdr-plugin-plex-6fc296295f0579d730a61070c40d5e05a34be787.tar.bz2 |
Code reformating
Diffstat (limited to 'm3u8Parser.h')
-rw-r--r-- | m3u8Parser.h | 43 |
1 files changed, 23 insertions, 20 deletions
diff --git a/m3u8Parser.h b/m3u8Parser.h index 3bd0ae2..ed915f9 100644 --- a/m3u8Parser.h +++ b/m3u8Parser.h @@ -5,32 +5,35 @@ #include <string> #include <iostream> -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<playListItem> vPlaylistItems; - int TargetDuration; - int MediaSequence; - bool MasterPlaylist; - bool AllowCache; - bool Parse(std::istream &m3u8); + std::vector<playListItem> 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() { }; }; |