]> git.vomp.tv Git - vompclient.git/blob - src/seriesinfo.h
Switch to cmake
[vompclient.git] / src / seriesinfo.h
1 /*
2     Copyright 2014 Marten Richter
3
4     This file is part of VOMP.
5
6     VOMP is free software; you can redistribute it and/or modify
7     it under the terms of the GNU General Public License as published by
8     the Free Software Foundation; either version 2 of the License, or
9     (at your option) any later version.
10
11     VOMP is distributed in the hope that it will be useful,
12     but WITHOUT ANY WARRANTY; without even the implied warranty of
13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14     GNU General Public License for more details.
15
16     You should have received a copy of the GNU General Public License
17     along with VOMP; if not, write to the Free Software
18     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
19 */
20
21 #ifndef SERIESINFO_H
22 #define SERIESINFO_H
23
24 #include <string>
25
26 #include "image.h"
27
28 class EpisodeInfo {
29 public:
30         EpisodeInfo();
31         ~EpisodeInfo();
32
33         int episodeid;
34         int number;
35         int season;
36         std::string name;
37         std::string firstAired;
38         std::string guestStars;
39         std::string overview;
40         double rating;
41         TVMediaStruct image;
42
43
44 };
45
46 class SeriesInfo {
47 public:
48         SeriesInfo();
49
50         int id;
51
52
53         std::string name;
54         std::string overview;
55         std::string firstAired;
56         std::string network;
57         std::string genre;
58         double rating;
59         std::string status;
60         EpisodeInfo episode; // Image 0
61
62
63
64
65         Actors actors; // Image 1
66         TVMedias posters; // Image 2
67         TVMedias banners; // Image 3
68         TVMedias fanart; // Image 4
69         TVMediaStruct seasonposter; // Image 5
70 };
71 #endif