Commit 67063399 authored by Jack Andersen's avatar Jack Andersen

Convert to pragma once

parent 690a6970
#ifndef GUI_COMMON_HPP
#define GUI_COMMON_HPP
#pragma once
#include <QString>
#include <QMetaType>
......@@ -77,4 +76,3 @@ Q_DECLARE_METATYPE(URDEVersion);
void InitializePlatform();
#endif // GUI_COMMON_HPP
#ifndef GUI_DOWNLOADMANAGER_HPP
#define GUI_DOWNLOADMANAGER_HPP
#pragma once
#include <QObject>
#include <QtNetwork>
......@@ -71,4 +70,3 @@ public slots:
};
#endif // GUI_DOWNLOADMANAGER_HPP
#ifndef GUI_ERRORLABEL_HPP
#define GUI_ERRORLABEL_HPP
#pragma once
#include <QLabel>
......@@ -19,4 +18,3 @@ public:
}
};
#endif // GUI_ERRORLABEL_HPP
#ifndef GUI_ESCAPESEQUENCEPARSER_HPP
#define GUI_ESCAPESEQUENCEPARSER_HPP
#pragma once
#include <QString>
#include <QTextCharFormat>
......@@ -12,4 +11,3 @@ void ReturnInsert(QTextCursor& cur, const QString& text);
void ReturnInsert(QTextCursor& cur, const QString& text, const QTextCharFormat& format);
#endif // GUI_ESCAPESEQUENCEPARSER_HPP
#ifndef GUI_EXTRACTZIP_HPP
#define GUI_EXTRACTZIP_HPP
#pragma once
class QStringList;
class QuaZip;
......@@ -13,4 +12,3 @@ public:
static bool extractDir(QuaZip& zip, QString dir);
};
#endif // GUI_EXTRACTZIP_HPP
#ifndef FILEDIRDIALOG_HPP
#define FILEDIRDIALOG_HPP
#pragma once
#include <QFileDialog>
......@@ -10,4 +9,3 @@ public:
FileDirDialog(QWidget* parent = nullptr) : QFileDialog(parent) { setFileMode(QFileDialog::Directory); }
};
#endif // FILEDIRDIALOG_HPP
#ifndef FINDBLENDER_HPP
#define FINDBLENDER_HPP
#pragma once
#include "hecl/hecl.hpp"
......@@ -10,4 +9,3 @@ hecl::SystemString FindBlender(int& major, int& minor);
}
#endif // FINDBLENDER_HPP
#ifndef GUI_LAUNCHMENU_HPP
#define GUI_LAUNCHMENU_HPP
#pragma once
#include <QMenu>
namespace hecl { struct CVarCommons; }
......@@ -34,4 +33,3 @@ public slots:
void developerModeTriggered();
};
#endif // GUI_LAUNCHMENU_HPP
#ifndef GUI_MACOSSYSTEMVERSION_HPP
#define GUI_MACOSSYSTEMVERSION_HPP
#pragma once
void GetMacOSSystemVersion(int& major, int& minor, int& patch);
#endif // GUI_MACOSSYSTEMVERSION_HPP
#ifndef MAINWINDOW_HPP
#define MAINWINDOW_HPP
#pragma once
#include <QMainWindow>
#include <QProcess>
......@@ -65,4 +64,3 @@ private:
bool isPackageComplete() const;
};
#endif // MAINWINDOW_HPP
#ifndef GUI_SYSREQTABLEVIEW_HPP
#define GUI_SYSREQTABLEVIEW_HPP
#pragma once
#include <QTableView>
#include "VectorISATableView.hpp"
......@@ -57,4 +56,3 @@ public:
void updateFreeDiskSpace(const QString& path) { m_model.updateFreeDiskSpace(path); }
};
#endif // GUI_SYSREQTABLEVIEW_HPP
#ifndef GUI_VECTORISATABLEMODEL_HPP
#define GUI_VECTORISATABLEMODEL_HPP
#pragma once
#include <QTableView>
#include "zeus/Math.hpp"
......@@ -14,4 +13,3 @@ public:
int rowCount(const QModelIndex& parent = QModelIndex()) const { return 1; }
};
#endif // GUI_VECTORISATABLEMODEL_HPP
#ifndef GUI_VECTORISATABLEMODELINTEL_HPP
#define GUI_VECTORISATABLEMODELINTEL_HPP
#pragma once
#include "VectorISATableModel.hpp"
......@@ -107,4 +106,3 @@ public:
}
};
#endif // GUI_VECTORISATABLEMODELINTEL_HPP
#ifndef GUI_VECTORISATABLEVIEW_HPP
#define GUI_VECTORISATABLEVIEW_HPP
#pragma once
#include <QTableView>
#include "Common.hpp"
......@@ -25,4 +24,3 @@ public:
bool willRun(VectorISA visa) const { return m_model.willRun(visa); }
};
#endif // GUI_VECTORISATABLEVIEW_HPP
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment