mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-21 18:59:12 +00:00
CExportGameDialog: Narrow exposed interface
A bunch of these are only ever used internally.
This commit is contained in:
@@ -40,22 +40,22 @@ class CExportGameDialog : public QDialog
|
|||||||
bool mExportSuccess = false;
|
bool mExportSuccess = false;
|
||||||
QString mNewProjectPath;
|
QString mNewProjectPath;
|
||||||
|
|
||||||
public:
|
|
||||||
explicit CExportGameDialog(const QString& rkIsoPath, const QString& rkExportDir, QWidget *pParent = nullptr);
|
|
||||||
~CExportGameDialog() override;
|
|
||||||
|
|
||||||
void InitUI(QString ExportDir);
|
void InitUI(QString ExportDir);
|
||||||
bool ValidateGame();
|
bool ValidateGame();
|
||||||
bool RequestWiiPortGame();
|
bool RequestWiiPortGame();
|
||||||
float FindBuildVersion() const;
|
float FindBuildVersion() const;
|
||||||
|
|
||||||
// Disc Tree
|
// Disc Tree
|
||||||
void RecursiveAddToTree(const nod::Node *pkNode, class QTreeWidgetItem *pParent);
|
void RecursiveAddToTree(const nod::Node* pkNode, class QTreeWidgetItem* pParent);
|
||||||
|
|
||||||
|
public:
|
||||||
|
explicit CExportGameDialog(const QString& rkIsoPath, const QString& rkExportDir, QWidget *pParent = nullptr);
|
||||||
|
~CExportGameDialog() override;
|
||||||
|
|
||||||
// Accessors
|
// Accessors
|
||||||
bool HasValidDisc() const { return mpDisc != nullptr; }
|
bool HasValidDisc() const { return mpDisc != nullptr; }
|
||||||
bool ExportSucceeded() const { return mExportSuccess; }
|
bool ExportSucceeded() const { return mExportSuccess; }
|
||||||
QString ProjectPath() const { return mNewProjectPath; }
|
const QString& ProjectPath() const { return mNewProjectPath; }
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void BrowseOutputDirectory();
|
void BrowseOutputDirectory();
|
||||||
|
|||||||
Reference in New Issue
Block a user