24 lines
No EOL
487 B
C++
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;
|
|
}
|
|
} |