tomato-testing/src/tox_avatar_loader.hpp
2025-03-06 19:12:35 +01:00

20 lines
358 B
C++

#pragma once
#include <solanaceae/contact/fwd.hpp>
#include "./image_loader.hpp"
#include "./texture_cache.hpp"
#include <optional>
class ToxAvatarLoader {
ContactStore4I& _cs;
std::vector<std::unique_ptr<ImageLoaderI>> _image_loaders;
public:
ToxAvatarLoader(ContactStore4I& cr);
TextureLoaderResult load(TextureUploaderI& tu, Contact4 c);
};