FullScreenDetector.h 692 B

12345678910111213141516171819
  1. #pragma once
  2. #include "WallpaperEngine/Application/ApplicationContext.h"
  3. namespace WallpaperEngine::Render::Drivers::Detectors {
  4. class FullScreenDetector {
  5. public:
  6. explicit FullScreenDetector (Application::ApplicationContext& appContext);
  7. virtual ~FullScreenDetector () = default;
  8. [[nodiscard]] virtual bool anythingFullscreen () const;
  9. /** Resets the detector, useful when resources tied to the output driver need to be released */
  10. virtual void reset ();
  11. [[nodiscard]] Application::ApplicationContext& getApplicationContext () const;
  12. private:
  13. Application::ApplicationContext& m_applicationContext;
  14. };
  15. } // namespace WallpaperEngine::Render::Drivers::Detectors