interface versions

This commit is contained in:
Green Sky 2024-01-18 00:32:11 +01:00
parent a15a9af2b3
commit c6a0df409d
No known key found for this signature in database
7 changed files with 9 additions and 7 deletions

@ -1 +1 @@
Subproject commit 60fc0d34eba30989ff634a797516d11aeb81e327
Subproject commit 002aa0027956f8e1796e25b1231ee69ea137b59a

@ -1 +1 @@
Subproject commit b50269062172b013d21fcc38b3693d09f91a2154
Subproject commit 87b3d15a2be1489e65c8426c2e96724d744d1b35

@ -1 +1 @@
Subproject commit ce760a800c6765009c4f49211b0a61c71756bfc0
Subproject commit b2a3cb7052041bea2d4793b8446fb2a00411773a

@ -1 +1 @@
Subproject commit 3df91258770ddaf12e8b4c6116890422d77438c1
Subproject commit fa4298d790b2a2adf19435239b96664cc40a09a8

@ -1 +1 @@
Subproject commit fa0a09df8743a502df69cddebf28f31790db3f06
Subproject commit db57a7c5e9181d771e83db5ed0d9010fba512881

View File

@ -42,7 +42,7 @@ MainScreen::MainScreen(SDL_Renderer* renderer_, std::string save_path, std::stri
{ // setup plugin instances
g_provideInstance<ConfigModelI>("ConfigModelI", "host", &conf);
g_provideInstance<Contact3Registry>("Contact3Registry", "host", &cr);
g_provideInstance<Contact3Registry>("Contact3Registry", "1", "host", &cr);
g_provideInstance<RegistryMessageModel>("RegistryMessageModel", "host", &rmm);
g_provideInstance<ToxI>("ToxI", "host", &tc);
@ -53,7 +53,7 @@ MainScreen::MainScreen(SDL_Renderer* renderer_, std::string save_path, std::stri
// TODO: pm?
// graphics
g_provideInstance("ImGuiContext", "host", ImGui::GetCurrentContext());
g_provideInstance("ImGuiContext", "v1.90.1", "host", ImGui::GetCurrentContext());
g_provideInstance<TextureUploaderI>("TextureUploaderI", "host", &sdlrtu);
}

View File

@ -3,6 +3,8 @@
#include <cstdint>
struct TextureUploaderI {
static constexpr const char* version {"1"};
virtual ~TextureUploaderI(void) {}
//virtual uint64_t uploadRGBA(const uint8_t* data, uint64_t data_size) = 0;