// // ScriptGatekeeper.h // libraries/script-engine/src // // Created by Kalila L. on Mar 7 2021 // Copyright 2021 Vircadia contributors. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // /// @addtogroup ScriptEngine /// @{ #ifndef vircadia_ScriptGatekeeper_h #define vircadia_ScriptGatekeeper_h #include /// Manages script whitelisting in a domain class ScriptGatekeeper : public QObject { Q_OBJECT public: void initialize(); QString SCRIPT_WHITELIST_ENABLED_KEY{ "private/whitelistEnabled" }; QString SCRIPT_WHITELIST_ENTRIES_KEY{ "private/settingsSafeURLS" }; private: bool _initialized { false }; }; #endif // vircadia_ScriptGatekeeper_h /// @}