00001 /***************************************************************************** 00002 * epg.cpp : EPG Viewer dialog 00003 **************************************************************************** 00004 * Copyright © 2010 VideoLAN and AUTHORS 00005 * 00006 * Authors: Jean-Baptiste Kempf <jb@videolan.org> 00007 * 00008 * This program is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software Foundation, Inc., 00020 * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. 00021 *****************************************************************************/ 00022 00023 #ifndef QVLC_EPG_DIALOG_H_ 00024 #define QVLC_EPG_DIALOG_H_ 1 00025 00026 #include "util/qvlcframe.hpp" 00027 00028 #include "util/singleton.hpp" 00029 00030 class QLabel; 00031 class EPGEvent; 00032 class EPGWidget; 00033 class EpgDialog : public QVLCFrame, public Singleton<EpgDialog> 00034 { 00035 Q_OBJECT 00036 private: 00037 EpgDialog( intf_thread_t * ); 00038 virtual ~EpgDialog(); 00039 00040 EPGWidget *epg; 00041 QLabel *description; 00042 QLabel *title; 00043 00044 friend class Singleton<EpgDialog>; 00045 00046 private slots: 00047 void showEvent( EPGEvent * ); 00048 void updateInfos(); 00049 }; 00050 00051 #endif 00052
1.5.6