| 61 | class Bundle; |
| 62 | |
| 63 | class BundleInitializer { |
| 64 | public: |
| 65 | explicit BundleInitializer(Bundle* bundle); |
| 66 | ~BundleInitializer(); |
| 67 | |
| 68 | void initWithLocalArchive(Ref<ValdiModuleArchive> decompressedBundle, bool hasRemoteAssets); |
| 69 | void initWithRemoteArchive(bool hasRemoteAssets); |
| 70 | |
| 71 | const Ref<Bundle>& getBundle() const; |
| 72 | |
| 73 | private: |
| 74 | Ref<Bundle> _bundle; |
| 75 | std::lock_guard<std::recursive_mutex> _lock; |
| 76 | }; |
| 77 | |
| 78 | struct BundleResourceContent { |
| 79 | BytesView raw; |