| 46 | } |
| 47 | |
| 48 | CompileOptions::CompileOptions(File &output |
| 49 | , File &stream_output |
| 50 | , HashMap<DynamicString, u32> &new_dependencies |
| 51 | , HashMap<DynamicString, u32> &new_requirements |
| 52 | , DataCompiler &dc |
| 53 | , Filesystem &output_filesystem |
| 54 | , Filesystem &data_filesystem |
| 55 | , ResourceId res_id |
| 56 | , const DynamicString &source_path |
| 57 | , Platform::Enum platform |
| 58 | , bool bundle |
| 59 | ) |
| 60 | : _output(output) |
| 61 | , _stream_output(stream_output) |
| 62 | , _binary_writer(_output) |
| 63 | , _new_dependencies(new_dependencies) |
| 64 | , _new_requirements(new_requirements) |
| 65 | , _new_requirement_globs(default_allocator()) |
| 66 | , _data_compiler(dc) |
| 67 | , _output_filesystem(output_filesystem) |
| 68 | , _data_filesystem(data_filesystem) |
| 69 | , _source_path(source_path) |
| 70 | , _platform(platform) |
| 71 | , _resource_id(res_id) |
| 72 | , _bundle(bundle) |
| 73 | , _server(_data_compiler._options->_server) |
| 74 | { |
| 75 | sjson::set_error_callback(sjson_error, this); |
| 76 | } |
| 77 | |
| 78 | void CompileOptions::error(log_internal::System system, const char *msg, va_list args) |
| 79 | { |
nothing calls this directly
no test coverage detected