summaryrefslogtreecommitdiff
path: root/include/emotespp/emotes.hpp
diff options
context:
space:
mode:
authormoderndevslulw <moderndevslulw@alright.party>2025-04-04 14:30:36 +0500
committermoderndevslulw <moderndevslulw@alright.party>2025-04-04 14:30:36 +0500
commita44fc682a5f2eb54dfac6705ff21d0778639af6a (patch)
treea7b3d624bf89ed5b05a6890a00c40e22d9445b45 /include/emotespp/emotes.hpp
parentb19cee38da6bcdbaa8cd3a4115c0f24e7dadc9cd (diff)
feat: 7TV API client
Diffstat (limited to 'include/emotespp/emotes.hpp')
-rw-r--r--include/emotespp/emotes.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/emotespp/emotes.hpp b/include/emotespp/emotes.hpp
index 5a5e172..4f08f39 100644
--- a/include/emotespp/emotes.hpp
+++ b/include/emotespp/emotes.hpp
@@ -3,6 +3,7 @@
#include <functional>
#include <optional>
#include <string>
+#include <vector>
namespace emotespp {
struct Emote {
@@ -45,4 +46,12 @@ namespace emotespp {
std::function<void(std::string, std::optional<std::string>, T)>>
emote_update;
};
+
+ template <typename T>
+ class RetrieveEmoteAPI {
+ public:
+ virtual std::vector<T> get_channel_emotes(
+ std::string &channel_id) const = 0;
+ virtual std::vector<T> get_global_emotes() const = 0;
+ };
} \ No newline at end of file