Files
StyleTools/Src/OperCfgFile.h
T
2026-09-13 11:54:43 +08:00

33 lines
882 B
C++

//---------------------------------------------------------------------------
#ifndef OperCfgFileH
#define OperCfgFileH
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.ComCtrls.hpp>
#include <Vcl.ExtCtrls.hpp>
#include <Vcl.Graphics.hpp>
//---------------------------------------------------------------------------
class OperCfgFile
{
public:
OperCfgFile();
~OperCfgFile();
private:
String m_lpszCfgFileName;
void SetCfgFileName(const AnsiString szCfgFileName );
UINT GetExcPath(String & strExcPath);
public:
String GetCfgFileName();
UINT ReadSegKeyValue(const String strSegName,const String strKeyName,String & strRetValue);
UINT SaveSegKeyValue(const String strSegName,const String strKeyName,String strSaveValue);
//encrypting string
bool EncrytString(String & strEncryptData,bool bIsEncryptFlag);
};
#endif