*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ *****************************************************************************/
#ifndef _HELP_DIALOG_H_
#define _HELP_DIALOG_H_
+#include <vlc_update.h>
+
#include "util/qvlcframe.hpp"
+class QPushButton;
+class QCheckBox;
+
class HelpDialog : public QVLCFrame
{
Q_OBJECT;
static HelpDialog * getInstance( intf_thread_t *p_intf )
{
if( !instance)
- instance = new HelpDialog( p_intf);
+ instance = new HelpDialog( p_intf );
return instance;
}
virtual ~HelpDialog();
void close();
};
+
+class UpdateDialog : public QVLCFrame
+{
+ Q_OBJECT;
+public:
+ static UpdateDialog * getInstance( intf_thread_t *p_intf )
+ {
+ if( !instance)
+ instance = new UpdateDialog( p_intf);
+ return instance;
+ }
+ virtual ~UpdateDialog();
+
+private:
+ UpdateDialog( intf_thread_t *);
+ static UpdateDialog *instance;
+ QPushButton *updateButton;
+ QCheckBox *checkInfo;
+ QCheckBox *checkSource;
+ QCheckBox *checkBinary;
+ QCheckBox *checkPlugin;
+ update_t *p_update;
+ bool b_updated;
+private slots:
+ void close();
+ void updateOrUpload();
+};
+
+
#endif