OSDN Git Service

Updated x265 and NVEncC versions.
[x264-launcher/x264-launcher.git] / src / win_help.h
index 89dbd90..15a6cf9 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // Simple x264 Launcher
-// Copyright (C) 2004-2013 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2016 LoRd_MuldeR <MuldeR2@GMX.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -24,6 +24,9 @@
 #include <QDialog>
 
 class QProcess;
+class SysinfoModel;
+class PreferencesModel;
+class OptionsModel;
 
 namespace Ui
 {
@@ -35,7 +38,7 @@ class HelpDialog : public QDialog
        Q_OBJECT
 
 public:
-       HelpDialog(QWidget *parent, bool avs2yuv, bool x64supported, bool use10BitEncoding);
+       HelpDialog(QWidget *parent, bool avs2yuv, const SysinfoModel *const sysinfo, const OptionsModel *const options, const PreferencesModel *const preferences);
        ~HelpDialog(void);
 
 private slots:
@@ -45,16 +48,16 @@ private slots:
 private:
        Ui::HelpDialog *const ui;
 
-       const QString m_appDir;
-       QProcess *const m_process;
+       const bool m_avs2yuv;
+
+       const SysinfoModel *const m_sysinfo;
+       const PreferencesModel *const m_preferences;
+       const OptionsModel *const m_options;
 
+       QProcess *const m_process;
        bool m_startAgain;
 
 protected:
-       const bool m_avs2yuv;
-       const bool m_x64supported;
-       const bool m_use10BitEncoding;
-
        virtual void showEvent(QShowEvent *event);
        virtual void closeEvent(QCloseEvent *e);
 };