Add support for wivrn:// intent

Launching with wivrn://address will directly connect to given address,
bypassing mDNS service discovery
This commit is contained in:
Patrick Nicolas
2023-11-09 19:05:55 +01:00
parent 38fcf7dc00
commit 6658ae5549
4 changed files with 95 additions and 3 deletions
+7
View File
@@ -282,6 +282,8 @@ class application
bool debug_extensions_found = false;
std::atomic<bool> exit_requested = false;
std::string server_address;
std::mutex scene_stack_lock;
std::vector<std::shared_ptr<scene>> scene_stack;
std::shared_ptr<scene> last_scene;
@@ -434,4 +436,9 @@ public:
{
return instance_->vk_queue_family_index;
}
const std::string& get_server_address() const
{
return server_address;
}
};