OSDN Git Service

Updated CA certificates file for cURL.
[x264-launcher/x264-launcher.git] / src / win_preferences.h
index 17dcd68..88a7455 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // Simple x264 Launcher
-// Copyright (C) 2004-2013 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2021 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,7 @@
 #include <QDialog>
 
 class PreferencesModel;
+class SysinfoModel;
 
 namespace Ui
 {
@@ -35,24 +36,22 @@ class PreferencesDialog : public QDialog
        Q_OBJECT
 
 public:
-       PreferencesDialog(QWidget *parent, PreferencesModel *preferences, bool x64);
+       PreferencesDialog(QWidget *parent, PreferencesModel *preferences, const SysinfoModel *sysinfo);
        ~PreferencesDialog(void);
 
-       const bool m_x64;
-
 protected:
        virtual void done(int n);
        virtual void showEvent(QShowEvent *event);
        virtual bool eventFilter(QObject *o, QEvent *e);
 
-       void emulateMouseEvent(QObject *object, QEvent *event, QWidget *source, QWidget *target);
+       inline static void emulateMouseEvent(QObject *object, QEvent *event, QWidget *source, QWidget *target);
 
 private:
        Ui::PreferencesDialog *const ui;
+       const SysinfoModel *const m_sysinfo;
        PreferencesModel *m_preferences;
 
 private slots:
        void resetButtonPressed(void);
-       void use10BitEncodingToggled(bool checked);
        void disableWarningsToggled(bool checked);
 };