mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
Preliminary setup - basic data structures are there.
This commit is contained in:
parent
e22eea26b1
commit
4ed7f62431
12 changed files with 186 additions and 4 deletions
|
@ -1,5 +1,6 @@
|
|||
#include "document.h"
|
||||
#include "node.h"
|
||||
#include <fstream>
|
||||
|
||||
namespace YAML
|
||||
{
|
||||
|
@ -25,5 +26,10 @@ namespace YAML
|
|||
|
||||
void Document::Load(const std::string& fileName)
|
||||
{
|
||||
Clear();
|
||||
|
||||
std::ifstream fin(fileName.c_str());
|
||||
m_pRoot = new Node;
|
||||
m_pRoot->Read(fin);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue