implement all the commandline parameters, add more, and plan for more

This commit is contained in:
2023-01-16 23:20:37 +01:00
parent 999ef20437
commit c0187ae405
6 changed files with 124 additions and 34 deletions

View File

@@ -13,6 +13,7 @@
#include <string_view>
#include <map>
#include <set>
#include <vector>
// fwd
namespace States {
@@ -77,6 +78,8 @@ struct ToxClient {
std::string _tox_profile_path;
bool _tox_profile_dirty {false}; // set in callbacks
std::vector<uint8_t> _join_group_after_dht_connect;
std::unique_ptr<StateI> _state;
// key groupid, value set of peer ids