add tox client and more setup

This commit is contained in:
2023-07-26 12:55:50 +02:00
parent 3a1c15f313
commit a848a01527
6 changed files with 259 additions and 7 deletions

View File

@ -2,9 +2,33 @@
#include "./screen.hpp"
#include <solanaceae/util/simple_config_model.hpp>
#include <solanaceae/contact/contact_model3.hpp>
#include <solanaceae/message3/registry_message_model.hpp>
#include <solanaceae/plugin/plugin_manager.hpp>
#include <solanaceae/toxcore/tox_event_logger.hpp>
#include "./tox_client.hpp"
#include <string>
#include <iostream>
#include <chrono>
struct MainScreen final : public Screen {
std::chrono::high_resolution_clock::time_point last_time = std::chrono::high_resolution_clock::now();
SimpleConfigModel conf;
Contact3Registry cr;
RegistryMessageModel rmm;
PluginManager pm;
ToxEventLogger tel{std::cout};
ToxClient tc;
//OpenGLTextureUploader ogltu;
MainScreen(std::string save_path);
~MainScreen(void) = default;