mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-18 22:35:39 +00:00
CommonHostInterface: Make fullscreen/exit functions public
This commit is contained in:
parent
2dbb3325ff
commit
ec60fa3c9d
|
@ -85,6 +85,12 @@ public:
|
|||
/// Returns the name of the frontend.
|
||||
virtual const char* GetFrontendName() const = 0;
|
||||
|
||||
/// Request the frontend to exit.
|
||||
virtual void RequestExit() = 0;
|
||||
|
||||
virtual bool IsFullscreen() const;
|
||||
virtual bool SetFullscreen(bool enabled);
|
||||
|
||||
virtual bool Initialize() override;
|
||||
virtual void Shutdown() override;
|
||||
|
||||
|
@ -246,18 +252,12 @@ protected:
|
|||
CommonHostInterface();
|
||||
~CommonHostInterface();
|
||||
|
||||
/// Request the frontend to exit.
|
||||
virtual void RequestExit() = 0;
|
||||
|
||||
/// Registers frontend-specific hotkeys.
|
||||
virtual void RegisterHotkeys();
|
||||
|
||||
/// Executes per-frame tasks such as controller polling.
|
||||
virtual void PollAndUpdate();
|
||||
|
||||
virtual bool IsFullscreen() const;
|
||||
virtual bool SetFullscreen(bool enabled);
|
||||
|
||||
virtual std::unique_ptr<AudioStream> CreateAudioStream(AudioBackend backend) override;
|
||||
virtual s32 GetAudioOutputVolume() const override;
|
||||
virtual void UpdateControllerInterface();
|
||||
|
|
Loading…
Reference in a new issue