// CodeGear C++Builder
// Copyright (c) 1995, 2011 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'acntUtils.pas' rev: 23.00 (Win32)

#ifndef AcntutilsHPP
#define AcntutilsHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <Winapi.Windows.hpp>	// Pascal unit
#include <Winapi.Messages.hpp>	// Pascal unit
#include <System.SysUtils.hpp>	// Pascal unit
#include <System.Classes.hpp>	// Pascal unit
#include <Vcl.Graphics.hpp>	// Pascal unit
#include <Vcl.Controls.hpp>	// Pascal unit
#include <Vcl.Forms.hpp>	// Pascal unit
#include <sConst.hpp>	// Pascal unit
#include <System.IniFiles.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Acntutils
{
//-- type declarations -------------------------------------------------------
typedef System::Sysutils::TSearchRec TacSearchRec;

typedef System::Classes::TStrings TacStrings;

typedef System::Classes::TStringList TacStringList;

typedef System::Classes::TFileStream TacFileStream;

typedef _WIN32_FIND_DATAW TacWIN32FindData;

//-- var, const, procedure ---------------------------------------------------
extern PACKAGE int __fastcall GetCaptionFontSize(void);
extern PACKAGE HFONT __fastcall acGetTitleFont(void);
extern PACKAGE int __fastcall CheckLimits(int Value, int MinValue, int MaxValue);
extern PACKAGE System::Byte __fastcall IntToByte(const int Value);
extern PACKAGE __int64 __fastcall HexToInt(System::AnsiString HexStr);
extern PACKAGE void __fastcall GetIniSections(System::Classes::TStringList* IniList, System::Classes::TStringList* SectionsList);
extern PACKAGE void __fastcall GetIniSection(const System::UnicodeString Section, System::Classes::TStrings* Sections, System::Classes::TStrings* Strings);
extern PACKAGE System::UnicodeString __fastcall ReadIniString(System::Classes::TStringList* IniList, System::Classes::TStringList* SectionsList, const System::UnicodeString Section, const System::UnicodeString Ident, const System::UnicodeString Default);
extern PACKAGE int __fastcall ReadIniInteger(System::Classes::TStringList* IniList, System::Classes::TStringList* SectionsList, const System::UnicodeString Section, const System::UnicodeString Ident, int Default);
extern PACKAGE void __fastcall Alert(void)/* overload */;
extern PACKAGE void __fastcall Alert(const System::UnicodeString s)/* overload */;
extern PACKAGE void __fastcall Alert(int i)/* overload */;
extern PACKAGE System::Extended __fastcall StringToFloat(System::UnicodeString S);
extern PACKAGE System::UnicodeString __fastcall BoolToStr(bool b);
extern PACKAGE Winapi::Messages::TMessage __fastcall MakeMessage(int Msg, unsigned WParam, int LParam, int aResult);
extern PACKAGE short __fastcall GetCents(System::Extended Value);
extern PACKAGE System::UnicodeString __fastcall iff(bool L, const System::UnicodeString s1, const System::UnicodeString s2);
extern PACKAGE System::TObject* __fastcall iffo(bool L, System::TObject* o1, System::TObject* o2);
extern PACKAGE int __fastcall iffi(bool L, int i1, int i2);
extern PACKAGE bool __fastcall Between(int Value, int i1, int i2);
extern PACKAGE int __fastcall SumTrans(int i1, int i2);
extern PACKAGE int __fastcall Maxi(int i1, int i2);
extern PACKAGE int __fastcall Mini(int i1, int i2);
extern PACKAGE int __fastcall LimitIt(int Value, int MinValue, int MaxValue);
extern PACKAGE void __fastcall Changei(int &i1, int &i2);
extern PACKAGE bool __fastcall IsValidFloat(const System::AnsiString Value, System::Extended &RetValue);
extern PACKAGE System::UnicodeString __fastcall FormatFloatStr(const System::AnsiString S, bool Thousands);
extern PACKAGE bool __fastcall acGetAnimation(void);
extern PACKAGE void __fastcall acSetAnimation(bool Value);
extern PACKAGE bool __fastcall RectIsVisible(const System::Types::TRect &ParentRect, const System::Types::TRect &Rect);
extern PACKAGE bool __fastcall RectInRect(const System::Types::TRect &BigRect, const System::Types::TRect &SmallRect);
extern PACKAGE System::Types::TRect __fastcall RotateRect(const System::Types::TRect &R);
extern PACKAGE System::Types::TRect __fastcall RectsAnd(const System::Types::TRect &R1, const System::Types::TRect &R2);
extern PACKAGE System::Types::TPoint __fastcall OffsetPoint(const System::Types::TPoint &p, int x, int y);
extern PACKAGE int __fastcall WidthOf(const System::Types::TRect &r, bool CheckNegative = false);
extern PACKAGE int __fastcall HeightOf(const System::Types::TRect &r, bool CheckNegative = false);
extern PACKAGE bool __fastcall SubStrInclude(const System::UnicodeString SubString, const System::UnicodeString s, bool CaseInsensitive);
extern PACKAGE System::UnicodeString __fastcall CorrectString(const System::UnicodeString s);
extern PACKAGE int __fastcall acWordPosition(const int N, const System::UnicodeString S, const System::Sysutils::TSysCharSet &WordDelims);
extern PACKAGE int __fastcall WordPosition(const int N, const System::AnsiString S, const System::Sysutils::TSysCharSet &WordDelims);
extern PACKAGE System::AnsiString __fastcall ExtractWord(int N, const System::AnsiString S, const System::Sysutils::TSysCharSet &WordDelims);
extern PACKAGE int __fastcall acWordCount(const System::UnicodeString S, const System::Sysutils::TSysCharSet &WordDelims);
extern PACKAGE int __fastcall WordCount(const System::AnsiString S, const System::Sysutils::TSysCharSet &WordDelims);
extern PACKAGE int __fastcall GetWordNumber(const System::UnicodeString W, const System::UnicodeString S, const System::Sysutils::TSysCharSet &WordDelims);
extern PACKAGE System::AnsiString __fastcall AnsiProperCase(const System::AnsiString S, const System::Sysutils::TSysCharSet &WordDelims);
extern PACKAGE System::AnsiString __fastcall MakeStr(char C, int N);
extern PACKAGE System::UnicodeString __fastcall DelRSpace(const System::UnicodeString S);
extern PACKAGE System::UnicodeString __fastcall DelESpace(const System::UnicodeString S);
extern PACKAGE System::UnicodeString __fastcall DelBSpace(const System::UnicodeString S);
extern PACKAGE System::UnicodeString __fastcall DelChars(const System::UnicodeString S, System::WideChar Chr);
extern PACKAGE System::UnicodeString __fastcall ReplaceStr(const System::UnicodeString S, const System::UnicodeString Srch, const System::UnicodeString Replace);
extern PACKAGE System::UnicodeString __fastcall ExtractSubStr(const System::AnsiString S, int &Pos, const System::Sysutils::TSysCharSet &Delims);
extern PACKAGE bool __fastcall IsEmptyStr(const System::AnsiString S, const System::Sysutils::TSysCharSet &EmptyChars);
extern PACKAGE bool __fastcall IsNTFamily(void);
extern PACKAGE Sconst::TCacheInfo __fastcall MakeCacheInfo(Vcl::Graphics::TBitmap* Bmp, int x = 0x0, int y = 0x0);
extern PACKAGE System::AnsiString __fastcall AddChar(char C, const System::AnsiString S, int N);
extern PACKAGE System::AnsiString __fastcall AddCharR(char C, const System::AnsiString S, int N);
extern PACKAGE System::UnicodeString __fastcall OemToAnsiStr(const System::UnicodeString OemStr);
extern PACKAGE bool __fastcall IsWordPresent(const System::UnicodeString W, const System::UnicodeString S, const System::Sysutils::TSysCharSet &WordDelims);
extern PACKAGE double __fastcall CurRound(double f);
extern PACKAGE bool __fastcall DeleteRequest(void);
extern PACKAGE bool __fastcall CustomRequest(const System::UnicodeString s);
extern PACKAGE void __fastcall ShowWarning(const System::UnicodeString S);
extern PACKAGE void __fastcall ShowError(const System::UnicodeString s);
extern PACKAGE void __fastcall Delay(int MSecs);
extern PACKAGE bool __fastcall IsIDERunning(void);
extern PACKAGE BOOL __fastcall IsWOW64Proc(void);
extern PACKAGE bool __fastcall HasProperty(System::TObject* Component, System::UnicodeString PropName);
extern PACKAGE System::TObject* __fastcall GetObjProp(System::TObject* Component, System::UnicodeString PropName);
extern PACKAGE void __fastcall SetObjProp(System::TObject* Component, System::UnicodeString PropName, System::TObject* Value);
extern PACKAGE bool __fastcall CheckSetProp(System::TObject* Component, System::UnicodeString PropName, System::UnicodeString Value);
extern PACKAGE bool __fastcall SetSetPropValue(System::TObject* Component, System::UnicodeString PropName, System::UnicodeString ValueName, bool Value);
extern PACKAGE int __fastcall GetIntProp(System::TObject* Component, System::UnicodeString PropName);
extern PACKAGE void __fastcall SetIntProp(System::TObject* Component, System::UnicodeString PropName, int Value);
extern PACKAGE System::UnicodeString __fastcall GetSystemDir(void);
extern PACKAGE System::UnicodeString __fastcall NormalDir(const System::UnicodeString DirName);
extern PACKAGE __int64 __fastcall GetFileSize(const System::UnicodeString FileName)/* overload */;
extern PACKAGE BOOL __fastcall acFindNextFile(unsigned hFindFile, _WIN32_FIND_DATAW &lpFindFileData);
extern PACKAGE unsigned __fastcall acFindFirstFile(System::WideChar * lpFileName, _WIN32_FIND_DATAW &lpFindFileData);
extern PACKAGE bool __fastcall ValidFileName(const System::UnicodeString FileName);
extern PACKAGE bool __fastcall acDirExists(const System::UnicodeString Name);
extern PACKAGE System::UnicodeString __fastcall ShortToLongFileName(const System::UnicodeString ShortName);
extern PACKAGE System::UnicodeString __fastcall LongToShortFileName(const System::UnicodeString LongName);
extern PACKAGE System::UnicodeString __fastcall ShortToLongPath(System::UnicodeString ShortName);
extern PACKAGE System::UnicodeString __fastcall LongToShortPath(System::UnicodeString LongName);
extern PACKAGE void __fastcall CopyFiles(System::UnicodeString SrcMask, System::UnicodeString SrcDir, System::UnicodeString DstDir);
extern PACKAGE bool __fastcall acCreateDir(const System::UnicodeString DirName);
extern PACKAGE bool __fastcall acRemoveDir(const System::UnicodeString DirName);
extern PACKAGE bool __fastcall acSetCurrentDir(const System::UnicodeString DirName);
extern PACKAGE System::UnicodeString __fastcall acGetCurrentDir(void);
extern PACKAGE bool __fastcall acDeleteFile(const System::UnicodeString FileName);
extern PACKAGE bool __fastcall acCopyFile(const System::UnicodeString ExistingFileName, const System::UnicodeString NewFileName, bool bFailIfExists);
extern PACKAGE int __fastcall acFileSetAttr(const System::UnicodeString FileName, unsigned Attr);
extern PACKAGE unsigned __fastcall acFileGetAttr(const System::UnicodeString FileName);
extern PACKAGE int __fastcall acFindFirst(const System::UnicodeString Path, int Attr, System::Sysutils::TSearchRec &F);
extern PACKAGE int __fastcall acFindNext(System::Sysutils::TSearchRec &F);
extern PACKAGE void __fastcall acFindClose(System::Sysutils::TSearchRec &F);
extern PACKAGE bool __fastcall ClearDir(const System::UnicodeString Path, bool Delete);
extern PACKAGE System::UnicodeString __fastcall GetAppName(void);
extern PACKAGE System::UnicodeString __fastcall GetAppPath(void);
extern PACKAGE Vcl::Graphics::TIcon* __fastcall GetIconForFile(const System::UnicodeString FullFileName, int Flag);
extern PACKAGE void __fastcall GetDirs(const System::UnicodeString Path, System::Classes::TStrings* Items);
extern PACKAGE bool __fastcall acSameText(const System::UnicodeString S1, const System::UnicodeString S2);
extern PACKAGE void __fastcall acFillString(System::UnicodeString &S, int nCount, System::WideChar C);
extern PACKAGE System::UnicodeString __fastcall acMakeString(System::WideChar C, int nCount);

}	/* namespace Acntutils */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_ACNTUTILS)
using namespace Acntutils;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// AcntutilsHPP
