Chatterino
Classes | Namespaces | Typedefs | Functions
Emote.hpp File Reference
#include "common/Atomic.hpp"
#include "messages/Image.hpp"
#include "messages/ImageSet.hpp"
#include <boost/optional.hpp>
#include <functional>
#include <memory>
#include <unordered_map>
Include dependency graph for Emote.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  chatterino::Emote
 
class  chatterino::EmoteMap
 

Namespaces

 chatterino
 

Typedefs

using chatterino::EmotePtr = std::shared_ptr< const Emote >
 
using chatterino::EmoteIdMap = std::unordered_map< EmoteId, EmotePtr >
 
using chatterino::WeakEmoteMap = std::unordered_map< EmoteName, std::weak_ptr< const Emote > >
 
using chatterino::WeakEmoteIdMap = std::unordered_map< EmoteId, std::weak_ptr< const Emote > >
 

Functions

bool chatterino::operator== (const Emote &a, const Emote &b)
 
bool chatterino::operator!= (const Emote &a, const Emote &b)
 
EmotePtr chatterino::cachedOrMakeEmotePtr (Emote &&emote, const EmoteMap &cache)
 
EmotePtr chatterino::cachedOrMakeEmotePtr (Emote &&emote, std::unordered_map< EmoteId, std::weak_ptr< const Emote >> &cache, std::mutex &mutex, const EmoteId &id)