forked from Green-Sky/tomato
load tox identicons
This commit is contained in:
16
src/tox_avatar_loader.hpp
Normal file
16
src/tox_avatar_loader.hpp
Normal file
@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
#include <solanaceae/contact/contact_model3.hpp>
|
||||
|
||||
#include "./texture_cache.hpp"
|
||||
|
||||
#include <optional>
|
||||
|
||||
class ToxAvatarLoader {
|
||||
Contact3Registry& _cr;
|
||||
|
||||
public:
|
||||
ToxAvatarLoader(Contact3Registry& cr) : _cr(cr) {}
|
||||
std::optional<TextureEntry> load(TextureUploaderI& tu, Contact3 c);
|
||||
};
|
||||
|
Reference in New Issue
Block a user