//--------------------------------------------------------------------------- #ifndef OperCfgFileH #define OperCfgFileH #include #include #include #include #include #include //--------------------------------------------------------------------------- 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