Permalink
Browse files

cosmetics: whitespace

  • Loading branch information...
t-nelson committed Oct 5, 2012
1 parent cfd805f commit 75b575985d3effc9323abc720469df31d73da6f0
Showing with 33 additions and 33 deletions.
  1. +24 −24 xbmc/video/Episode.h
  2. +9 −9 xbmc/video/VideoInfoDownloader.h
View
@@ -5,31 +5,31 @@
// single episode information
namespace VIDEO
{
-struct EPISODE
-{
- bool isFolder;
- int iSeason;
- int iEpisode;
- int iSubepisode;
- std::string strPath;
- std::string strTitle;
- CDateTime cDate;
- CScraperUrl cScraperUrl;
- EPISODE(int Season = -1, int Episode = -1, int Subepisode = 0, bool Folder = false)
- {
- iSeason = Season;
- iEpisode = Episode;
- iSubepisode = Subepisode;
- isFolder = Folder;
- }
- bool operator==(const struct EPISODE& rhs)
+ struct EPISODE
{
- return (iSeason == rhs.iSeason &&
- iEpisode == rhs.iEpisode &&
- iSubepisode == rhs.iSubepisode);
- }
-};
+ bool isFolder;
+ int iSeason;
+ int iEpisode;
+ int iSubepisode;
+ std::string strPath;
+ std::string strTitle;
+ CDateTime cDate;
+ CScraperUrl cScraperUrl;
+ EPISODE(int Season = -1, int Episode = -1, int Subepisode = 0, bool Folder = false)
+ {
+ iSeason = Season;
+ iEpisode = Episode;
+ iSubepisode = Subepisode;
+ isFolder = Folder;
+ }
+ bool operator==(const struct EPISODE& rhs)
+ {
+ return (iSeason == rhs.iSeason &&
+ iEpisode == rhs.iEpisode &&
+ iSubepisode == rhs.iSubepisode);
+ }
+ };
-typedef std::vector<EPISODE> EPISODELIST;
+ typedef std::vector<EPISODE> EPISODELIST;
}
@@ -66,15 +66,15 @@ class CVideoInfoDownloader : public CThread
GET_EPISODE_LIST = 3,
GET_EPISODE_DETAILS = 4 };
- XFILE::CCurlFile* m_http;
- CStdString m_strMovie;
- MOVIELIST m_movieList;
- CVideoInfoTag m_movieDetails;
- CScraperUrl m_url;
- VIDEO::EPISODELIST m_episode;
- LOOKUP_STATE m_state;
- int m_found;
- ADDON::ScraperPtr m_info;
+ XFILE::CCurlFile* m_http;
+ CStdString m_strMovie;
+ MOVIELIST m_movieList;
+ CVideoInfoTag m_movieDetails;
+ CScraperUrl m_url;
+ VIDEO::EPISODELIST m_episode;
+ LOOKUP_STATE m_state;
+ int m_found;
+ ADDON::ScraperPtr m_info;
// threaded stuff
void Process();

0 comments on commit 75b5759

Please sign in to comment.