summaryrefslogtreecommitdiff
path: root/include/emotespp/emotes.hpp
diff options
context:
space:
mode:
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