refactor notifications
This commit is contained in:
@@ -1,20 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <giomm.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class MprisController {
|
||||
public:
|
||||
struct MprisPlayer2Message {
|
||||
std::string title;
|
||||
std::string artist;
|
||||
std::string artwork_url;
|
||||
|
||||
std::function<void()> play_pause;
|
||||
std::function<void()> next;
|
||||
std::function<void()> previous;
|
||||
};
|
||||
|
||||
MprisController();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user