301 lines
7.4 KiB
XML
301 lines
7.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<diagram program="umlet" version="12.2">
|
|
<zoom_level>6</zoom_level>
|
|
<element>
|
|
<type>com.umlet.element.Class</type>
|
|
<coordinates>
|
|
<x>198</x>
|
|
<y>300</y>
|
|
<w>66</w>
|
|
<h>30</h>
|
|
</coordinates>
|
|
<panel_attributes><<interface>>
|
|
OysterResource</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<type>com.umlet.element.Relation</type>
|
|
<coordinates>
|
|
<x>186</x>
|
|
<y>312</y>
|
|
<w>76</w>
|
|
<h>60</h>
|
|
</coordinates>
|
|
<panel_attributes>lt=>>
|
|
implements
|
|
</panel_attributes>
|
|
<additional_attributes>42;48;42;18</additional_attributes>
|
|
</element>
|
|
<element>
|
|
<type>com.umlet.element.Actor</type>
|
|
<coordinates>
|
|
<x>120</x>
|
|
<y>360</y>
|
|
<w>48</w>
|
|
<h>72</h>
|
|
</coordinates>
|
|
<panel_attributes>Dev</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<type>com.umlet.element.Relation</type>
|
|
<coordinates>
|
|
<x>108</x>
|
|
<y>282</y>
|
|
<w>102</w>
|
|
<h>90</h>
|
|
</coordinates>
|
|
<panel_attributes>lt=<.
|
|
interacts></panel_attributes>
|
|
<additional_attributes>90;30;36;30;36;78</additional_attributes>
|
|
</element>
|
|
<element>
|
|
<type>com.umlet.element.Class</type>
|
|
<coordinates>
|
|
<x>204</x>
|
|
<y>486</y>
|
|
<w>60</w>
|
|
<h>12</h>
|
|
</coordinates>
|
|
<panel_attributes>CustomLoader</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<type>com.umlet.element.Class</type>
|
|
<coordinates>
|
|
<x>204</x>
|
|
<y>468</y>
|
|
<w>60</w>
|
|
<h>12</h>
|
|
</coordinates>
|
|
<panel_attributes>
|
|
ByteLoader</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<type>com.umlet.element.Relation</type>
|
|
<coordinates>
|
|
<x>162</x>
|
|
<y>414</y>
|
|
<w>54</w>
|
|
<h>72</h>
|
|
</coordinates>
|
|
<panel_attributes>lt=<<-</panel_attributes>
|
|
<additional_attributes>30;18;18;18;18;60;42;60</additional_attributes>
|
|
</element>
|
|
<element>
|
|
<type>com.umlet.element.Relation</type>
|
|
<coordinates>
|
|
<x>126</x>
|
|
<y>414</y>
|
|
<w>98</w>
|
|
<h>90</h>
|
|
</coordinates>
|
|
<panel_attributes>lt=<<-
|
|
implements partly</panel_attributes>
|
|
<additional_attributes>66;18;54;18;54;78;78;78</additional_attributes>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>192</x>
|
|
<y>360</y>
|
|
<w>78</w>
|
|
<h>48</h>
|
|
</coordinates>
|
|
<panel_attributes>--
|
|
<<interface>>
|
|
OResourceHandler
|
|
--
|
|
elementstyle=wordwrap
|
|
valign=center
|
|
halign=center</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>192</x>
|
|
<y>420</y>
|
|
<w>78</w>
|
|
<h>30</h>
|
|
</coordinates>
|
|
<panel_attributes>
|
|
OResource
|
|
elementstyle=wordwrap
|
|
|
|
halign=center</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<type>com.umlet.element.Relation</type>
|
|
<coordinates>
|
|
<x>252</x>
|
|
<y>366</y>
|
|
<w>66</w>
|
|
<h>84</h>
|
|
</coordinates>
|
|
<panel_attributes>lt=>>>>
|
|
manages></panel_attributes>
|
|
<additional_attributes>18;72;36;72;36;18;18;18</additional_attributes>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>108</x>
|
|
<y>282</y>
|
|
<w>240</w>
|
|
<h>234</h>
|
|
</coordinates>
|
|
<panel_attributes>old
|
|
bg=gray</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>402</x>
|
|
<y>342</y>
|
|
<w>576</w>
|
|
<h>204</h>
|
|
</coordinates>
|
|
<panel_attributes>ResourceManager
|
|
--
|
|
+ ResourceManager() :void
|
|
+ ~ResourceManager() :void
|
|
+ HBYTEARRAY LoadBytes(const wchar_t filename[], ResourceType type, int customId = -1, bool force = false)
|
|
+ HRESOURCE LoadResource(const wchar_t filename[], LoadFunction loadFnc = 0, UnloadFunction unloadFnc = 0, int customId = -1, bool force = false)
|
|
+ HRESOURCE ReloadResource(const wchar_t filename[])
|
|
+ HRESOURCE ReloadResource(HRESOURCE& resource)
|
|
+ void Clean()
|
|
+ void ReleaseResource(const HRESOURCE& resource)
|
|
+ void ReleaseResource(const wchar_t filename[])
|
|
+ void SetResourceId(const HRESOURCE& resource, unsigned int id)
|
|
+ void SetResourceId(const wchar_t filename[], unsigned int id)
|
|
+ ResourceType GetResourceType(const HRESOURCE& resource)
|
|
+ ResourceType GetResourceType (const wchar_t filename[])
|
|
+ const wchar_t* GetResourceFilename(const HRESOURCE& resource);
|
|
+ HRESOURCE GetResourceHandle(const wchar_t filename[])
|
|
+ int GetResourceId(const HRESOURCE& resource);
|
|
+ int GetResourceId(const wchar_t filename[]);
|
|
--
|
|
- ResourceManager(const ResourceManager& obj);
|
|
- const ResourceManager& operator=(const ResourceManager&);
|
|
- std::map<std::wstring, ResourceData*> resources;</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>390</x>
|
|
<y>198</y>
|
|
<w>600</w>
|
|
<h>360</h>
|
|
</coordinates>
|
|
<panel_attributes>Oyster <<namespace>>
|
|
--
|
|
</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>396</x>
|
|
<y>222</y>
|
|
<w>588</w>
|
|
<h>330</h>
|
|
</coordinates>
|
|
<panel_attributes>Resource <<namespace>>
|
|
--
|
|
</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>534</x>
|
|
<y>282</y>
|
|
<w>126</w>
|
|
<h>18</h>
|
|
</coordinates>
|
|
<panel_attributes>HRESOURCE: void* <<typedef>></panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>534</x>
|
|
<y>300</y>
|
|
<w>126</w>
|
|
<h>18</h>
|
|
</coordinates>
|
|
<panel_attributes>HBYTE: char <<typedef>></panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>534</x>
|
|
<y>318</y>
|
|
<w>126</w>
|
|
<h>18</h>
|
|
</coordinates>
|
|
<panel_attributes>HBYTEARRAY: char* <<typedef>></panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>534</x>
|
|
<y>246</y>
|
|
<w>264</w>
|
|
<h>18</h>
|
|
</coordinates>
|
|
<panel_attributes>UnloadFunction :void(*UnloadFunction)(void* loadedData) <<typedef>></panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>534</x>
|
|
<y>264</y>
|
|
<w>288</w>
|
|
<h>18</h>
|
|
</coordinates>
|
|
<panel_attributes>LoadFunction :void*(*LoadFunction)(const wchar_t filename[]) <<typedef>></panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>402</x>
|
|
<y>246</y>
|
|
<w>126</w>
|
|
<h>90</h>
|
|
</coordinates>
|
|
<panel_attributes>ResourceType <<enum>>
|
|
--
|
|
ResourceType_Byte_Raw
|
|
ResourceType_Byte_ANSI
|
|
ResourceType_Byte_UTF8
|
|
ResourceType_Byte_UNICODE
|
|
ResourceType_Byte_UTF16LE
|
|
ResourceType_CUSTOM
|
|
ResourceType_INVALID
|
|
</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
<element>
|
|
<id>UMLClass</id>
|
|
<coordinates>
|
|
<x>378</x>
|
|
<y>174</y>
|
|
<w>630</w>
|
|
<h>396</h>
|
|
</coordinates>
|
|
<panel_attributes>New
|
|
bg=green</panel_attributes>
|
|
<additional_attributes/>
|
|
</element>
|
|
</diagram>
|