add 'network' permission

This commit is contained in:
MihailRis
2025-12-08 19:21:50 +03:00
committed by ShiftyX1
parent 56d808e3e2
commit dd40780334
10 changed files with 67 additions and 27 deletions
+3 -4
View File
@@ -3,13 +3,12 @@
#include "CoreParameters.hpp"
#include "PostRunnables.hpp"
#include "Time.hpp"
#include "delegates.hpp"
#include "settings.hpp"
#include "typedefs.hpp"
#include "util/ObjectsKeeper.hpp"
#include <memory>
#include <string>
#include <optional>
class Assets;
class ContentControl;
@@ -161,8 +160,8 @@ public:
return *window;
}
network::Network& getNetwork() {
return *network;
network::Network* getNetwork() {
return network.get();
}
cmd::CommandsInterpreter& getCmd() {