forked from Green-Sky/tomato
contact 4 refactor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <solanaceae/contact/contact_model3.hpp>
|
||||
#include <solanaceae/contact/fwd.hpp>
|
||||
|
||||
#include "./image_loader.hpp"
|
||||
#include "./texture_cache.hpp"
|
||||
@@ -8,12 +8,12 @@
|
||||
#include <optional>
|
||||
|
||||
class ToxAvatarLoader {
|
||||
Contact3Registry& _cr;
|
||||
ContactStore4I& _cs;
|
||||
|
||||
std::vector<std::unique_ptr<ImageLoaderI>> _image_loaders;
|
||||
|
||||
public:
|
||||
ToxAvatarLoader(Contact3Registry& cr);
|
||||
TextureLoaderResult load(TextureUploaderI& tu, Contact3 c);
|
||||
ToxAvatarLoader(ContactStore4I& cr);
|
||||
TextureLoaderResult load(TextureUploaderI& tu, Contact4 c);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user