CExportGameDialog: Narrow exposed interface

A bunch of these are only ever used internally.
This commit is contained in:
Lioncache
2025-12-20 17:40:32 -05:00
parent a292c0ce92
commit 54d3e009d2

View File

@@ -40,10 +40,6 @@ class CExportGameDialog : public QDialog
bool mExportSuccess = false;
QString mNewProjectPath;
public:
explicit CExportGameDialog(const QString& rkIsoPath, const QString& rkExportDir, QWidget *pParent = nullptr);
~CExportGameDialog() override;
void InitUI(QString ExportDir);
bool ValidateGame();
bool RequestWiiPortGame();
@@ -52,10 +48,14 @@ public:
// Disc Tree
void RecursiveAddToTree(const nod::Node* pkNode, class QTreeWidgetItem* pParent);
public:
explicit CExportGameDialog(const QString& rkIsoPath, const QString& rkExportDir, QWidget *pParent = nullptr);
~CExportGameDialog() override;
// Accessors
bool HasValidDisc() const { return mpDisc != nullptr; }
bool ExportSucceeded() const { return mExportSuccess; }
QString ProjectPath() const { return mNewProjectPath; }
const QString& ProjectPath() const { return mNewProjectPath; }
public slots:
void BrowseOutputDirectory();