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