rich presence interface draft

This commit is contained in:
Green Sky 2022-07-02 23:36:25 +02:00
parent 2ee17a63ea
commit c1f87aceda

View File

@ -0,0 +1,24 @@
#pragma once
#include <mm/engine.hpp>
namespace MM::Services {
// provides information for a RichPresenceConsumer
class RichPresenceProviderInterface : public Service {
public:
struct RichPresenceInformation {
std::string app {"mm_app"};
std::string status {"sleeping..."};
std::string details {"~.~"};
};
// TODO: do i want this?
//virtual bool infoChanged(void) { return true; }
// ah yes copy
virtual RichPresenceInformation get(void) = 0;
};
} // MM::Services