|
Previous Top Next |
The core class includes methods that can be used by other classes, basic methods that perform low level functions. It contains basic search method, file splitting functions, path functions and such. Any absolute core functions that we figure we may need will be added to the core class.
ITCoreClass Class,TYPE,Module('ITCoreClass.clw'),Link('ITCoreClass',_ITUtilLinkMode_),DLL(_ITUtilDllMode_)
DebugLevel Byte
EXEName CString(1025)
FileParts Group(FNS_Parts)
End
ProgPath CString(10241)
ProgramCommandLine CString(10241)
ProgramDebugOn Byte
ComputerName CString(IT_MAX_COMPUTERNAME_LENGTH+1)
UserName CString(256)
XPThemesPresent Byte
LastAPIError String(255)
LastAPIErrorCode Long
CreateGUID Procedure(Byte pAddBraces=1),STRING
FixPath Procedure(*CString pPath),String
FixPath Procedure(String pPath),String
GetComputerName Procedure(),String,PROC ! Returns the name of the computer. Puts it into the ComputerName property
GetFileAttrib Procedure(*CString pFile, <*Byte pReadOnly>, <*Byte pHidden>, <*Byte pSystem>),Long,PROC
GetFileAttrib Procedure(String pFile, <*Byte pReadOnly>, <*Byte pHidden>, <*Byte pSystem>),Long,PROC
GetFilePart Procedure(String pFilename,Byte pPart),String
GetLastAPIError Procedure(<*Long pErrorCode>),String
GetLastAPIErrorCode Procedure(),Long
GetTempFilename Procedure(<String pPath>,<String pPrefix>),String
GetTempFolder Procedure(),String
GetFilePart Procedure(String pFilename,Byte pPart),String
GetUserName Procedure(),String
IsFileInUse Procedure(*CString pFile),Byte
IsFileInUse Procedure(String pFile),Byte
IsFolder Procedure(*CString pPath),Byte
IsFolder Procedure(String pPath),Byte
ODS Procedure(String pS, Short pLevel=0),VIRTUAL
ODSD Procedure(String pS)
PTD Procedure(String pS, Byte pHideDebug=False),VIRTUAL
RemoveBackSlash Procedure(String pPathOrFile, Byte pTrailing),String
RemoveForwardSlash Procedure(String pPathOrFile, Byte pTrailing)!!,String
SetFileAttrib Procedure(*CString pFile, <Byte pReadOnly>, <Byte pHidden>, <Byte pSystem>, <Long pAdditionalAttrib>)
SetFileAttrib Procedure(String pFile, <Byte pReadOnly>, <Byte pHidden>, <Byte pSystem>, <Long pAdditionalAttrib>)
SearchReplace Procedure(String pFind, String pReplace, *CString pSearchS),Long,PROC
SearchReplace Procedure(String pFind, String pReplace, *String pSearchS),Long,PROC
SplitFileParts Procedure(String pFileName)
UnixToWindowsPath Procedure(String pUnixPath),String
WindowsToUnixPath Procedure(String pWindowsPath),String
Construct Procedure
Destruct Procedure
End