17 lines
503 B
C++
17 lines
503 B
C++
#pragma once
|
|
|
|
#include <memory>
|
|
#include <type_traits>
|
|
#include "services/dbus/messages.hpp"
|
|
#include "widgets/notification/baseNotification.hpp"
|
|
#include "gtkmm/box.h"
|
|
#include "gtkmm/centerbox.h"
|
|
|
|
class SpotifyNotification : public BaseNotification {
|
|
public:
|
|
SpotifyNotification(std::shared_ptr<Gdk::Monitor> monitor, MprisPlayer2Message message);
|
|
virtual ~SpotifyNotification() = default;
|
|
private:
|
|
std::unique_ptr<Gtk::CenterBox> createButtonBox(MprisPlayer2Message mpris);
|
|
};
|