18 #ifndef INCLUDED_XMBSTORAGE 19 #define INCLUDED_XMBSTORAGE 29 typedef std::shared_ptr<IVFS>
PIVFS;
110 #endif // INCLUDED_XMBSTORAGE Path VfsPath
Definition: XMBStorage.h:31
std::shared_ptr< u8 > m_Buffer
Definition: XMBStorage.h:105
static const char * UnfinishedHeaderMagicStr
Definition: XMBStorage.h:42
xmlDoc * xmlDocPtr
Definition: XMBStorage.h:26
Storage for XMBData.
Definition: XMBStorage.h:37
std::shared_ptr< IVFS > PIVFS
Definition: vfs.h:220
uint32_t u32
Definition: types.h:39
bool LoadJSValue(const ScriptInterface &scriptInterface, JS::HandleValue value, const std::string &rootName)
Parse a Javascript value into XMB.
Definition: XMBStorage.cpp:463
static const char * HeaderMagicStr
Definition: XMBStorage.h:41
static const u32 XMBVersion
Definition: XMBStorage.h:43
size_t m_Size
Definition: XMBStorage.h:106
Abstraction around a SpiderMonkey JS::Realm.
Definition: ScriptInterface.h:71
std::shared_ptr< IVFS > PIVFS
Definition: XMBStorage.h:28
Definition: vfs_util.cpp:39
struct _xmlDoc xmlDoc
Definition: XMBStorage.h:25
bool LoadXMLDoc(const xmlDocPtr doc)
Parse an XML document into XMB.
Definition: XMBStorage.cpp:450
bool ReadFromFile(const PIVFS &vfs, const VfsPath &filename)
Read an XMB file on disk.
Definition: XMBStorage.cpp:437