LSFramework/Software/Framework/src/CJsonDocument.cpp
Luis Stanglmeier 03338fa8a6 changed class names
generall reorganization
2022-06-23 17:09:20 +02:00

24 lines
No EOL
487 B
C++

#include "CJsonDocument.h"
#include <fstream>
#include <iostream>
using namespace std;
namespace LSFramework
{
bool LSFramework::CJsonDocument::ReadFile(const CString& sFileName)
{
CString sContent;
string myText;
ifstream oFile(sFileName.ToChar());
while (getline(oFile, myText)) {
// Output the text from the file
sContent.Append(myText);
}
return false;
}
bool CJsonDocument::SaveFile(const CString& sFileName)
{
return false;
}
}