git-svn-id: svn://192.168.0.12/source@28 8346c931-da38-4b9b-9d4c-e48b93cbd075
This commit is contained in:
20
Json/sjson.h
Normal file
20
Json/sjson.h
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
#ifndef SJSON_H
|
||||||
|
#define SJSON_H
|
||||||
|
|
||||||
|
#include <QString>
|
||||||
|
|
||||||
|
class SJson
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
SJson();
|
||||||
|
~SJson();
|
||||||
|
QString Get(QString _str,QString _strKey);
|
||||||
|
bool GetBool(QString _str,QString _strKey);
|
||||||
|
int GetNumber(QString _str,QString _strKey);
|
||||||
|
QString Set(QString _str,QString _strKey,QString _strValue);
|
||||||
|
QString Set(QString _str,QString _strKey,bool _bValue);
|
||||||
|
QString Set(QString _str,QString _strKey,int _nValue);
|
||||||
|
QString Sql(QString _str);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // SJSON_H
|
||||||
Reference in New Issue
Block a user