changed class names
generall reorganization
This commit is contained in:
parent
5f6abf300e
commit
03338fa8a6
31 changed files with 1002 additions and 636 deletions
24
Software/Framework/src/CJsonDocument.cpp
Normal file
24
Software/Framework/src/CJsonDocument.cpp
Normal file
|
@ -0,0 +1,24 @@
|
|||
#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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue