Files
bar/include/widgets/notification/spotifyNotification.hpp

19 lines
497 B
C++

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