mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-08-14 16:09:16 +00:00
18 lines
532 B
C++
18 lines
532 B
C++
#ifndef IUIRELAY_H
|
|
#define IUIRELAY_H
|
|
|
|
#include <Common/TString.h>
|
|
|
|
class IUIRelay
|
|
{
|
|
public:
|
|
virtual ~IUIRelay() = default;
|
|
virtual void ShowMessageBox(const TString& rkInfoBoxTitle, const TString& rkMessage) = 0;
|
|
virtual void ShowMessageBoxAsync(const TString& rkInfoBoxTitle, const TString& rkMessage) = 0;
|
|
virtual bool AskYesNoQuestion(const TString& rkInfoBoxTitle, const TString& rkQuestion) = 0;
|
|
virtual bool OpenProject(const TString& kPath = "") = 0;
|
|
};
|
|
extern IUIRelay *gpUIRelay;
|
|
|
|
#endif // IUIRELAY_H
|