]> git.sesse.net Git - vlc/blob - modules/gui/qt4/components/epg/EPGEvent.hpp
Initial commit for EPG class for EPG Viewing
[vlc] / modules / gui / qt4 / components / epg / EPGEvent.hpp
1 /*****************************************************************************
2  * EPGEvent.h : EPGEvent
3  ****************************************************************************
4  * Copyright © 2009-2010 VideoLAN
5  * $Id$
6  *
7  * Authors: Ludovic Fauvet <etix@l0cal.com>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software Foundation, Inc.,
21  * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23
24 #ifndef EPGEVENT_H
25 #define EPGEVENT_H
26
27 #include <QString>
28 #include <QDateTime>
29
30 class EPGEvent
31 {
32 public:
33     EPGEvent( const QString& eventName )
34         : current( false ), updated( true )
35     {
36         name = eventName;
37     }
38
39     QDateTime   start;
40     int         duration;
41     QString     name;
42     QString     description;
43     QString     shortDescription;
44     QString     channelName;
45     bool        current;
46     bool        updated;
47 };
48
49 #endif // EPGEVENT_H