| 12345678910111213141516171819202122232425262728 |
- #include "CAudioPlayingDetector.h"
- namespace WallpaperEngine::Audio::Drivers::Detectors {
- CAudioPlayingDetector::CAudioPlayingDetector (
- Application::CApplicationContext& appContext,
- const Render::Drivers::Detectors::CFullScreenDetector& fullscreenDetector) :
- m_applicationContext (appContext),
- m_fullscreenDetector (fullscreenDetector) {}
- bool CAudioPlayingDetector::anythingPlaying () const {
- return this->m_isPlaying;
- }
- Application::CApplicationContext& CAudioPlayingDetector::getApplicationContext () {
- return this->m_applicationContext;
- }
- const Render::Drivers::Detectors::CFullScreenDetector& CAudioPlayingDetector::getFullscreenDetector () const {
- return this->m_fullscreenDetector;
- }
- void CAudioPlayingDetector::setIsPlaying (bool newState) {
- this->m_isPlaying = newState;
- }
- void CAudioPlayingDetector::update () {}
- } // namespace WallpaperEngine::Audio::Drivers::Detectors
|