31 #include "Helper/Singleton.h" 32 #include "Helper/Settings/SayonaraClass.h" 34 #include <QDBusInterface> 35 #include <QDBusConnection> 49 SINGLETON_QOBJECT(Shutdown)
53 void sig_time_to_go(quint64);
54 void sig_started(quint64);
58 QTimer* _timer=
nullptr;
59 QTimer* _timer_countdown=
nullptr;
68 void countdown_timeout();
69 void playlist_finished();
73 bool is_running()
const;
75 void shutdown(quint64 ms=0);
76 void shutdown_after_end();
79 #endif // WITH_SHUTDOWN The SayonaraClass class provides access to Settings and notifications.
Definition: SayonaraClass.h:29
Global handler for current playback state (Singleton)
Definition: PlayManager.h:37
Definition: NotificationHandler.h:37