home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // IniFiles.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
- // From: IniFiles.pas
- //----------------------------------------------------------------------------
- #ifndef IniFilesHPP
- #define IniFilesHPP
- //----------------------------------------------------------------------------
- #ifndef ClassesHPP
- #include <Classes.hpp>
- #endif
-
- #ifndef WindowsHPP
- #include <Windows.hpp>
- #endif
-
- #ifndef SystemHPP
- #include <System.hpp>
- #endif
-
- namespace Inifiles
- {
- //-- type declarations -------------------------------------------------------
- class __declspec(delphiclass) TIniFile;
- class __declspec(pascalimplementation) TIniFile : public System::TObject
- {
- typedef TIniFile ThisClass;
- typedef System::TObject inherited;
-
- private:
- System::AnsiString FFileName;
-
- public:
- __fastcall TIniFile(const System::AnsiString FileName);
- System::AnsiString __fastcall ReadString(const System::AnsiString Section, const System::AnsiString
- Ident, const System::AnsiString Default);
- void __fastcall WriteString(const System::AnsiString Section, const System::AnsiString Ident, const System::AnsiString
- Value);
- System::Longint __fastcall ReadInteger(const System::AnsiString Section, const System::AnsiString Ident
- , System::Longint Default);
- void __fastcall WriteInteger(const System::AnsiString Section, const System::AnsiString Ident, System::Longint
- Value);
- System::Boolean __fastcall ReadBool(const System::AnsiString Section, const System::AnsiString Ident
- , System::Boolean Default);
- void __fastcall WriteBool(const System::AnsiString Section, const System::AnsiString Ident, System::Boolean
- Value);
- void __fastcall ReadSection(const System::AnsiString Section, Classes::TStrings *Strings);
- void __fastcall ReadSections(Classes::TStrings *Strings);
- void __fastcall ReadSectionValues(const System::AnsiString Section, Classes::TStrings *Strings);
- void __fastcall EraseSection(const System::AnsiString Section);
- void __fastcall DeleteKey(const System::AnsiString Section, const System::AnsiString Ident);
- __property System::AnsiString FileName = {read=FFileName, nodefault};
- public:
- /* !! TObject.Destroy */ __fastcall virtual ~TIniFile(void) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Inifiles */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Inifiles;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // IniFiles
-