/* * Audacity: A Digital Audio Editor */ #pragma once #include #include "iplaybackcontroller.h" #include "modularity/ioc.h" namespace au::playback { class PlaybackStateModel : public QObject { Q_OBJECT muse::Inject controller; public: explicit PlaybackStateModel(QObject* parent = nullptr); Q_INVOKABLE bool isPlaying(); Q_INVOKABLE bool isPaused(); }; }