home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // IniFiles.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
- // From: IniFiles.pas
- //----------------------------------------------------------------------------
- #ifndef IniFilesHPP
- #define IniFilesHPP
- //----------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Windows.hpp>
- #include <System.hpp>
- #pragma warn -par
- #pragma warn -hid
- #pragma warn -inl
-
- namespace Inifiles
- {
- //-- type declarations -------------------------------------------------------
- class __declspec(delphiclass) TIniFile;
- class __declspec(pascalimplementation) TIniFile : public System::TObject
- {
- 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);
- long __fastcall ReadInteger(const System::AnsiString Section, const System::AnsiString Ident, long
- Default);
- void __fastcall WriteInteger(const System::AnsiString Section, const System::AnsiString Ident, long
- Value);
- bool __fastcall ReadBool(const System::AnsiString Section, const System::AnsiString Ident, bool Default
- );
- void __fastcall WriteBool(const System::AnsiString Section, const System::AnsiString Ident, bool 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 */
-
- #pragma warn .par
- #pragma warn .hid
- #pragma warn .inl
-
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Inifiles;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // IniFiles
-