3#include <NDEVR/Buffer.h>
4#include <NDEVR/String.h>
5#include <NDEVR/TranslatedString.h>
55 , config_type(config_type)
56 , platform_type(platform_type)
61 return os_type.hasSubString(os);
65 return config_type.hasSubString(os);
69 return platform_type.hasSubString(os);
71 static String Combine(std::initializer_list<String> l);
72 static String& Remove(
String& s, std::initializer_list<String> l);
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition ModuleResourceManager.h:179
String launch_function
Definition ModuleResourceManager.h:187
Buffer< FireWallException > firewall_exceptions
Definition ModuleResourceManager.h:182
Buffer< FileHandler > file_handlers
Definition ModuleResourceManager.h:184
Buffer< String > permissions
Definition ModuleResourceManager.h:183
Buffer< ModuleDependency > dependencies
Definition ModuleResourceManager.h:181
Buffer< RegistryKeyAction > registry_actions
Definition ModuleResourceManager.h:185
ModuleConfiguration supported_configurations
Definition ModuleResourceManager.h:186
Definition TranslatedString.h:9
RegistryActionType
Definition ModuleResourceManager.h:112
DependecyType
Definition ModuleResourceManager.h:35
@ e_source_folder
Definition ModuleResourceManager.h:44
@ e_module
Definition ModuleResourceManager.h:39
@ e_type
Definition ModuleResourceManager.h:40
@ e_library
Definition ModuleResourceManager.h:37
@ e_rcc_resource
Definition ModuleResourceManager.h:43
@ e_bundled_folder
Definition ModuleResourceManager.h:42
@ e_executable
Definition ModuleResourceManager.h:38
@ e_file
Definition ModuleResourceManager.h:36
@ e_firewall_exception
Definition ModuleResourceManager.h:41
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
RegistryType
Definition ModuleResourceManager.h:118
Definition ModuleResourceManager.h:19
static String release
Definition ModuleResourceManager.h:21
static String all
Definition ModuleResourceManager.h:22
static String debug
Definition ModuleResourceManager.h:20
Definition BaseValues.hpp:272
Definition ModuleResourceManager.h:100
String id
Definition ModuleResourceManager.h:101
String content_type
Definition ModuleResourceManager.h:102
Buffer< FileHandlerVerb > verbs
Definition ModuleResourceManager.h:103
Definition ModuleResourceManager.h:106
String icon
Definition ModuleResourceManager.h:107
bool advertise
Definition ModuleResourceManager.h:108
Buffer< FileHanderExtension > extensions
Definition ModuleResourceManager.h:109
Definition ModuleResourceManager.h:94
String argument
Definition ModuleResourceManager.h:97
String id
Definition ModuleResourceManager.h:95
String command
Definition ModuleResourceManager.h:96
Definition ModuleResourceManager.h:85
String protocol
Definition ModuleResourceManager.h:87
String profile
Definition ModuleResourceManager.h:88
String scope
Definition ModuleResourceManager.h:89
bool ignore_failure
Definition ModuleResourceManager.h:91
uint04 port
Definition ModuleResourceManager.h:90
Buffer< String > remote_addresses
Definition ModuleResourceManager.h:86
Definition ModuleResourceManager.h:47
bool neededForConfig(const String &os) const
Definition ModuleResourceManager.h:63
ModuleConfiguration(const String &os_type, const String &config_type, const String &platform_type)
Definition ModuleResourceManager.h:53
bool neededForOS(const String &os) const
Definition ModuleResourceManager.h:59
String config_type
Definition ModuleResourceManager.h:74
String os_type
Definition ModuleResourceManager.h:73
String platform_type
Definition ModuleResourceManager.h:75
bool neededForPlatform(const String &os) const
Definition ModuleResourceManager.h:67
ModuleConfiguration()
Definition ModuleResourceManager.h:48
Definition ModuleResourceManager.h:159
ModuleDependency(const String &resource, const String &os_type, const String &config_type, const String &platform_type=PlatformType::all)
Definition ModuleResourceManager.h:165
String os_type
Definition ModuleResourceManager.h:174
ModuleDependency(DependecyType type, const String &resource, const String &os_type, const String &config_type, const String &platform_type=PlatformType::all)
Definition ModuleResourceManager.h:160
String resource
Definition ModuleResourceManager.h:173
Definition ModuleResourceManager.h:79
TranslatedString description
Definition ModuleResourceManager.h:82
TranslatedString name
Definition ModuleResourceManager.h:81
String id
Definition ModuleResourceManager.h:80
Definition ModuleResourceManager.h:10
static String all
Definition ModuleResourceManager.h:16
static String wasm
Definition ModuleResourceManager.h:15
static String ios
Definition ModuleResourceManager.h:14
static String android
Definition ModuleResourceManager.h:12
static String macx
Definition ModuleResourceManager.h:13
static String windows
Definition ModuleResourceManager.h:11
Definition ModuleResourceManager.h:127
bool all_rights
Definition ModuleResourceManager.h:144
bool execute
Definition ModuleResourceManager.h:139
bool create_file
Definition ModuleResourceManager.h:133
bool create_child
Definition ModuleResourceManager.h:132
bool notify
Definition ModuleResourceManager.h:141
String domain
Definition ModuleResourceManager.h:128
bool enumerate_subkey
Definition ModuleResourceManager.h:138
bool change_permission
Definition ModuleResourceManager.h:131
bool create_subkey
Definition ModuleResourceManager.h:135
bool write
Definition ModuleResourceManager.h:143
String user
Definition ModuleResourceManager.h:129
bool delete_object
Definition ModuleResourceManager.h:136
bool append
Definition ModuleResourceManager.h:130
bool delete_child
Definition ModuleResourceManager.h:137
bool take_ownership
Definition ModuleResourceManager.h:142
bool read
Definition ModuleResourceManager.h:140
bool create_link
Definition ModuleResourceManager.h:134
Definition ModuleResourceManager.h:147
RegistryActionType action
Definition ModuleResourceManager.h:152
String root
Definition ModuleResourceManager.h:148
String value
Definition ModuleResourceManager.h:150
bool ownership
Definition ModuleResourceManager.h:154
Buffer< Permission > permissions
Definition ModuleResourceManager.h:153
bool is_key_path
Definition ModuleResourceManager.h:155
RegistryType type
Definition ModuleResourceManager.h:151
String path
Definition ModuleResourceManager.h:149