refactor notifications
This commit is contained in:
16
include/widgets/notification/spotifyNotification.hpp
Normal file
16
include/widgets/notification/spotifyNotification.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#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);
|
||||
};
|
||||
Reference in New Issue
Block a user