forked from Green-Sky/tomato
2abf09ac06
* part 1 move files from messages to objects tomato - did not touch chat_gui yet, but image loaders and other stuff * part 1.1 * part 2, mostly chatgui - also ngcft1 behind the scenes * part 3 - port over rest, except for avatar_manager, which is effectivly disabled * fix surface missused causing bmp loader to crash * fixing small issues and small forward refactor
18 lines
361 B
C++
18 lines
361 B
C++
#pragma once
|
|
|
|
#include <solanaceae/message3/registry_message_model.hpp>
|
|
|
|
#include "./image_loader.hpp"
|
|
#include "./texture_cache.hpp"
|
|
|
|
#include <optional>
|
|
|
|
class MessageImageLoader {
|
|
std::vector<std::unique_ptr<ImageLoaderI>> _image_loaders;
|
|
|
|
public:
|
|
MessageImageLoader(void);
|
|
std::optional<TextureEntry> load(TextureUploaderI& tu, Message3Handle c);
|
|
};
|
|
|