[Runtime functions] Added overload with no arguments to (obsolete) function ErrorCount(). Did not modify original function, to avoid compatibility problems with 3rd party tools.

//
// Copyright (c) XSharp B.V.  All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
// See License.txt in the project root for license information.
//

[Obsolete( "ErrorNew() is obsolete. Call the constructor of the Error class directly" )] ;
FUNCTION ErrorNew() AS Error
    RETURN Error{}

// All Dynamic memory functions that are not supported or dummies
// And also all the OldSpace functions

/// <exclude/>
[Obsolete( "'DynMemDump()' is not supported and always returns FALSE" )] ;
FUNCTION DynMemDump(cFile AS STRING,nOptions AS DWORD) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'DynCheckError()' is not supported and always returns 0" )] ;
FUNCTION DynCheckError() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynInfoFree()' is not supported and always returns 0" )] ;
FUNCTION DynInfoFree() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynInfoMax()' is not supported and always returns 0" )] ;
FUNCTION DynInfoMax() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynInfoSize()' is not supported and always returns 0" )] ;
FUNCTION DynInfoSize() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynInfoUsed()' is not supported and always returns 0" )] ;
FUNCTION DynInfoUsed() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynLock()' is not supported and has no effect" )] ;
FUNCTION DynLock() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'DynProtect()' is not supported and always returns FALSE" )] ;
FUNCTION DynProtect( lSet AS LOGIC ) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'DynShrink()' is not supported and always returns 0" )] ;
FUNCTION DynShrink() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynSize()' is not supported and always returns 0" )] ;
FUNCTION DynSize(dwPages AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "DynStack2Array() is not supported and returns an empty array")] ;
FUNCTION DynStack2Array() AS ARRAY
	RETURN NULL_ARRAY

/// <exclude/>
[Obsolete( "DynToOldSpace() is not supported and returns the original usual")] ;
FUNCTION DynToOldSpace( u AS USUAL ) AS USUAL
	RETURN u

/// <exclude/>
[Obsolete( "DynToOldSpaceArray() is not supported and returns the original array")] ;
FUNCTION DynToOldSpaceArray( a AS ARRAY ) AS ARRAY
	RETURN a

/// <exclude/>
[Obsolete( "DynToOldSpaceFloat() is not supported and returns the original float" )] ;
FUNCTION DynToOldSpaceFloat( f AS FLOAT ) AS FLOAT
	RETURN f

/// <exclude/>
[Obsolete( "DynToOldSpaceObject() is not supported and returns the original object" )] ;
FUNCTION DynToOldSpaceObject( o AS OBJECT ) AS OBJECT
	RETURN o

/// <exclude/>
[Obsolete( "DynToOldSpaceString() is not supported and returns the original string" )] ;
FUNCTION DynToOldSpaceString( s AS STRING ) AS STRING
	RETURN s

/// <exclude/>
[Obsolete( "'DynUnlock()' is not supported and has no effect" )] ;
FUNCTION DynUnLock() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'IsOldSpaceFloat()' is not supported and always returns FALSE" )] ;
FUNCTION IsOldSpaceFloat(f AS FLOAT) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'IsOldSpaceString()' is not supported and always returns FALSE" )] ;
FUNCTION IsOldSpaceString(c AS STRING) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'OldSpaceFreeFloat()' is not supported and has no effect")] ;
FUNCTION OldSpaceFreeFloat(f AS FLOAT) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'ReDal()' is not supported and has no effect" )] ;
FUNCTION ReDal() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'RTExit()' is not supported and always returns 0" )] ;
FUNCTION RTExit() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'RegisterKid()' is not supported and has no effect" )] ;
FUNCTION RegisterKid(ptrKid AS IntPtr,dwCount AS DWORD,lItem AS LOGIC) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'FreeStaticObject()' is not supported and always returns FALSE" )] ;
FUNCTION FreeStaticObject(o AS OBJECT) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'Memory()' is not supported and always returns 0" )] ;
FUNCTION Memory(iFunc AS INT) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'OldSpaceFree()' is not supported and has no effect" )] ;
FUNCTION OldSpaceFree(u AS USUAL) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'OldSpaceFreeObject()' is not supported and has no effect" )] ;
FUNCTION OldSpaceFreeObject(o AS OBJECT) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'IsOldSpaceArray()' is not supported and always returns FALSE" )] ;
FUNCTION IsOldSpaceArray(a AS ARRAY) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'OldSpaceFreeArray()' is not supported and has no effect" )] ;
FUNCTION OldSpaceFreeArray(a AS ARRAY) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'IsOldSpace()' is not supported and always returns FALSE" )] ;
FUNCTION IsOldSpace(u AS USUAL) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'IsOldSpaceObject()' is not supported and always returns FALSE" )] ;
FUNCTION IsOldSpaceObject(o AS OBJECT) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'MemCheckPtr()' is not supported and always returns TRUE" )] ;
UNSAFE	 FUNCTION MemCheckPtr( pMemory AS PTR, dwSize AS DWORD ) AS LOGIC
	RETURN	 TRUE

/// <exclude/>
[Obsolete( "'SetKidStackSize()' is not supported and always returns 0" )] ;
FUNCTION SetKidStackSize(dwBytes AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'SetMaxDynSize()' is not supported and always returns 0" )] ;
FUNCTION SetMaxDynSize(dwBytes AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'SetMaxRegisteredAxitMethods()' is not supported and always returns 0" )] ;
FUNCTION SetMaxRegisteredAxitMethods(dwCount AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'SetMaxRegisteredKids()' is not supported and always returns 0" )] ;
FUNCTION SetMaxRegisteredKids(dwCount AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'SetMaxThreadDynSize()' is not supported and always returns 0" )] ;
FUNCTION SetMaxThreadDynSize(dwBytes AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'SetWipeDynSpace()' is not supported and always returns FALSE" )] ;
FUNCTION SetWipeDynSpace(lWipe AS LOGIC) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'ExitVOThread()' is not supported and has no effect" )] ;
FUNCTION ExitVOThread(nRetVal AS INT) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'WriteAtomTable()' is not supported always returns 0" )] ;
FUNCTION WriteAtomTable(hf AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'CreateVOThread()' is not supported always returns IntPtr.Zero" )] ;
FUNCTION CreateVOThread(pSecAttr AS IntPtr,nStackSize AS DWORD,pFunc AS IntPtr,pParam AS IntPtr,dwFlags AS DWORD,pdwID REF DWORD ) AS IntPtr
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete( "'TerminateVOThread()' is not supported always returns FALSE" )] ;
FUNCTION TerminateVOThread(pH AS IntPtr,dwCode AS DWORD) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'Usual2Variant()' is not supported always returns FALSE" )] ;
FUNCTION Usual2Variant(pItem AS IntPtr,pvarg AS IntPtr) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'Variant2Usual()' is not supported always returns FALSE" )] ;
FUNCTION Variant2Usual(pvarg AS IntPtr,pItem AS IntPtr) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'UnRegisterKid()' is not supported, always returns FALSE" )];
FUNCTION UnRegisterKid(ptrKid AS IntPtr) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'VOSendMessage()' is not supported, always returns 0" )];
FUNCTION VOSendMessage(hwnd AS IntPtr,nMsg AS DWORD,dwParam AS DWORD,lParam AS LONG) AS LONG
	RETURN 0

/// <exclude/>
[Obsolete( "'LabelJump()' is not supported and has no effect" )] ;
FUNCTION LabelJump(uError AS USUAL) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete( "'LabelPush()' is not supported and has no effect" )] ;
FUNCTION LabelPop() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'LabelPush()' is not supported and has no effect" )] ;
FUNCTION LabelPush(ptrLabel AS IntPtr) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'IsVOString()' is not supported always returns FALSE" )];
FUNCTION IsVOString(cString AS STRING) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'Multi2Wide()' is not supported always returns the original string" )];
FUNCTION Multi2Wide(c AS STRING) AS STRING
	RETURN c

/// <exclude/>
[Obsolete( "'Wide2Multi()' is not supported always returns the original string" )];
FUNCTION Wide2Multi(cBstr AS STRING) AS STRING
	RETURN cBstr

/// <exclude/>
[Obsolete( "'OldSpaceFreeString()' is not supported and has no effect" )] ;
FUNCTION OldSpaceFreeString(c AS STRING) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'DbcsNext()' is not supported and always returns NULL_PSZ" )] ;
FUNCTION DbcsNext(pszSource AS PSZ) AS PSZ
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete( "'DbcsPrev()' is not supported and always returns NULL_PSZ" )] ;
FUNCTION DbcsPrev(pszSource AS PSZ,pszCurr AS PSZ) AS PSZ
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete( "'KillAtomTable()' is not supported and has no effect")] ;
FUNCTION KillAtomTable() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'LeaveCGCSection()' is not supported and has no effect")] ;
FUNCTION LeaveCGCSection() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'EnterCGCSection()' is not supported and has no effect")] ;
FUNCTION EnterCGCSection() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'KidStackFree()' is not supported and always returns 0" )] ;
FUNCTION KidStackFree() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'KidStackSize()' is not supported and always returns 0" )] ;
FUNCTION KidStackSize() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'LongJmp()' is not supported and has no effect" )] ;
FUNCTION LongJmp(strucMark AS IntPtr,n AS INT) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'VOEnterCriticalSection()' is not supported and has no effect" )] ;
FUNCTION VOEnterCriticalSection(lpCriticalSection AS IntPtr) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'VOLeaveCriticalSection()' is not supported and has no effect" )] ;
FUNCTION VOLeaveCriticalSection(lpCriticalSection AS IntPtr) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'AtomExit()' is not supported and always returns 0" )] ;
FUNCTION AtomExit() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'AtomInit()' is not supported and always returns 0" )] ;
FUNCTION AtomInit() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'AtomTableSetDirty()' is not supported and always returns FALSE" )] ;
FUNCTION AtomTableGetDirty() AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'AtomTableSetDirty()' is not supported and always returns 0" )] ;
FUNCTION AtomTableSetDirty(f AS LOGIC) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'AllocInstance()' is not supported and returns the same as CreateInstance" )] ;
FUNCTION AllocInstance(symClassName AS USUAL) AS OBJECT
	RETURN CreateInstance(symClassName)

/// <exclude/>
[Obsolete( "'AllocInstanceStatic()' is not supported and returns the same as CreateInstance" )] ;
FUNCTION AllocInstanceStatic(symClassName AS USUAL) AS OBJECT
	RETURN CreateInstance(symClassName)

/// <exclude/>
[Obsolete( "'CreateInstanceStatic()' is not supported and returns the same as CreateInstance" )] ;
FUNCTION CreateInstanceStatic(args PARAMS USUAL[]) AS OBJECT
	RETURN CreateInstance(args)

/// <exclude/>
[Obsolete( "'MathCheck()' is not supported and always returns FALSE" )] ;
FUNCTION MathCheck() AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'MathInit()' is not supported and has no effect" )] ;
FUNCTION MathInit() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'MyDal()' is not supported and has no effect" )] ;
FUNCTION MyDal() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'MyDalFloat()' is not supported and has no effect" )] ;
FUNCTION MyDalFloat() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'MyDalFloatFSTP()' is not supported and has no effect" )] ;
FUNCTION MyDalFloatFSTP() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'MyDalPtr()' is not supported and has no effect" )] ;
FUNCTION MyDalPtr() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'DynAllocEnd()' is not supported and has no effect" )] ;
FUNCTION DynAllocEnd() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'DynAllocStart()' is not supported and always returns 0" )] ;
FUNCTION DynAllocStart() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynCheckErrorInfo()' is not supported and always returns 0" )] ;
FUNCTION DynCheckErrorInfo() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynCheckErrorInfo()' is not supported and always returns NULL_SYMBOL" )] ;
FUNCTION DynCheckErrorSym() AS SYMBOL
	RETURN NULL_SYMBOL

/// <exclude/>
[Obsolete( "'CreateGCDump()' is not supported and always returns 0" )] ;
FUNCTION CreateGCDump(pDump AS IntPtr,nValType AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DBToSB()' is not supported" )] ;
FUNCTION DBToSB(c AS STRING) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'ToHira()' is not supported" )] ;
FUNCTION ToHira(c AS STRING) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'ToJNum()' is not supported" )] ;
FUNCTION ToJNum(c AS STRING) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'ToKata()' is not supported" )] ;
FUNCTION ToKata(c AS STRING) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'IsKanji()' is not supported" )] ;
FUNCTION IsKanji(c AS STRING) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'WagnerInit()' is not supported and always returns 0" )] ;
FUNCTION WagnerInit() AS DWORD
	RETURN     0

/// <exclude/>
[Obsolete( "'WagnerExit()' is not supported and always returns 0" )] ;
FUNCTION WagnerExit() AS DWORD
	RETURN     0

/// <exclude/>
//[Obsolete( "'Buffer()' is not supported, use MemAlloc() and MemFree() instead" )] ;
//FUNCTION Buffer( n AS DWORD ) AS STRING
//	RETURN NULL

/// <exclude/>
[Obsolete( "'GetPrivPtr()' is not supported and always returns IntPtr.Zero" )] ;
FUNCTION GetPrivPtr() AS IntPtr
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete( "'GetStgServer()' is not supported and always returns ''" )] ;
FUNCTION GetStgServer(pStgRoot AS IntPtr,cSubStorage AS STRING) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'FxOpen()' is not supported and always returns IntPtr.Zero" )] ;
FUNCTION FxOpen(cFile AS STRING,dwMode AS DWORD,cPath AS STRING) AS IntPtr
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete( "'JNTOCMONTH()' is not supported and always returns ''" )] ;
FUNCTION JNTOCMONTH(wMonth AS WORD) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'JNTOCYEAR()' is not supported and always returns ''" )] ;
FUNCTION JNTOCYEAR(wYear AS WORD) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'CreateAtomTable()' is not supported and always returns 0" )] ;
FUNCTION CreateAtomTable(dwVS AS DWORD,dwStep AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'ReadAtomTable()' is not supported and always returns 0" )] ;
FUNCTION ReadAtomTable(hf AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'PszLenW()' is not supported and always returns 0" )] ;
FUNCTION PszLenW(pszUnicode AS PSZ) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'ReleaseString()' is not supported and always returns NULL_PSZ" )] ;
FUNCTION ReleaseString() AS PSZ
	RETURN NULL_PSZ

/// <exclude/>
[Obsolete( "'AMemSize()' is not supported and always returns 0" )] ;
FUNCTION AMemSize(a AS ARRAY) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'APageCount()' is not supported and always returns 0" )] ;
FUNCTION APageCount(a AS ARRAY) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'ArrayGetPtr()' is not supported and always returns IntPtr.Zero" )] ;
FUNCTION ArrayGetPtr(a AS ARRAY,dwEl AS DWORD) AS IntPtr
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete( "'IVarPutSuper()' is not supported and always returns the value that is set" )] ;
FUNCTION IVarPutSuper(o AS OBJECT,symIvar AS SYMBOL,u AS USUAL,symClassName AS SYMBOL) AS USUAL
	RETURN u

/// <exclude/>
[Obsolete( "'IVarGetSuper()' is not supported and always returns NIL" )] ;
FUNCTION IVarGetSuper(o AS OBJECT,symIvar AS SYMBOL,symClassName AS SYMBOL) AS USUAL
	RETURN NIL

/// <exclude/>
[ObsoleteAttribute( "'SendClass()' is not supported and always returns NIL")] ;
FUNCTION SendClass( o , symMethod , symClassName ) AS USUAL CLIPPER
	RETURN NIL

/// <exclude/>
[ObsoleteAttribute( "'OClone()' is not supported and always returns NULL_OBJECT")] ;
FUNCTION OClone(o AS OBJECT) AS OBJECT
	RETURN NULL_OBJECT

/// <exclude/>
[ObsoleteAttribute( "'OMemSize()' is not supported and always returns 0")] ;
FUNCTION OMemSize(o AS OBJECT) AS DWORD
	RETURN 0

/// <exclude/>
[ObsoleteAttribute( "'PClone()' is not supported and always returns NIL")];
FUNCTION PClone(x AS USUAL) AS USUAL
	RETURN NIL

/// <exclude/>
[ObsoleteAttribute( "'FloatNext()' is not supported and always returns 0")];
FUNCTION FloatNext(f AS FLOAT) AS FLOAT
	RETURN 0

/// <exclude/>
[ObsoleteAttribute( "'Psz2Float()' is not supported and always returns 0")];
FUNCTION Psz2Float(ptrBuff AS IntPtr,nLen AS INT,nDec AS INT) AS FLOAT
	RETURN 0

/// <exclude/>
[ObsoleteAttribute( "'Any2Usual()' is not supported and always returns NIL")];
FUNCTION Any2Usual(x AS USUAL,nType AS DWORD) AS USUAL
	RETURN NIL

/// <exclude/>
[ObsoleteAttribute( "'StrToLong()' is not supported and always returns 0")];
FUNCTION StrToLong(c AS STRING,dwRadix AS DWORD) AS FLOAT
	RETURN 0

/// <exclude/>
[ObsoleteAttribute( "'ObjAsPsz()' is not supported and always returns NULL_PSZ")];
FUNCTION ObjAsPsz(pObj AS IntPtr) AS PSZ
	RETURN NULL_PSZ

/// <exclude/>
[ObsoleteAttribute( "'Float2Str()' is not supported and always returns an empty string")];
FUNCTION Float2Str(ptrUsual AS IntPtr,dwLen AS DWORD,dwDec AS DWORD) AS STRING
	RETURN	 ""

/// <exclude/>
[Obsolete];
FUNCTION FunctionCount() AS DWORD
	RETURN	 0

/// <exclude/>
[Obsolete];
FUNCTION FunctionList() AS ARRAY
	RETURN NULL_ARRAY

/// <exclude/>
[Obsolete];
FUNCTION UnDeclareClass(symClass AS SYMBOL) AS INT
	RETURN 0

/// <exclude/>
[Obsolete];
FUNCTION DeclareMethod(symClass AS SYMBOL,symMeth AS SYMBOL,nType AS DWORD,pFunc AS IntPtr,nArgs AS DWORD) AS INT
	RETURN 0

/// <exclude/>
[Obsolete];
FUNCTION FunctionSym2Ptr(symFunc AS SYMBOL) AS IntPtr
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete] ;
FUNCTION ASendClass( a, symMethod, symClassName ) AS ARRAY CLIPPER
	RETURN a

/// <exclude/>
[Obsolete] ;
FUNCTION _CallClipFuncPtr(pFunc AS IntPtr,aArgs AS ARRAY) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete] ;
FUNCTION _Call(ptrFunc AS PTR) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete] ;
FUNCTION _AsPsz(u AS USUAL) AS PSZ
	RETURN NULL_PSZ

/// <exclude/>
[Obsolete] ;
FUNCTION AsPsz(u AS __Usual) AS PSZ
	RETURN NULL_PSZ

/// <exclude/>
[Obsolete] ;
FUNCTION ErrorCount(dw AS USUAL) AS DWORD
	RETURN 0
/// <exclude/>
[Obsolete] ;
FUNCTION ErrorCount() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete] ;
FUNCTION ErrorFunc(ptrFunc AS USUAL) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete] ;
FUNCTION ErrorMessageBox(pszText AS PSZ,pszCapt AS PSZ,dwB1 AS DWORD,dwB2 AS DWORD,dwB3 AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete] ;
FUNCTION IsVOObject(oObject AS OBJECT) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete] ;
FUNCTION _ArrayGetPoly(a AS USUAL,n1 AS USUAL) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete] ;
FUNCTION _ArrayGetCollection(a AS USUAL,n1 AS USUAL) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete] ;
FUNCTION _ArrayPutCollection(a AS USUAL,x AS USUAL,n1 AS USUAL) AS USUAL
	RETURN		 NIL

/// <exclude/>
[Obsolete] ;
FUNCTION _ArrayPutPoly(a AS USUAL,x AS USUAL,n1 AS USUAL) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete] ;
FUNCTION CompString() AS INT
	RETURN 0

/// <exclude/>
[Obsolete] ;
FUNCTION SBTODB(c AS STRING) AS STRING
	RETURN String.Empty

/// <exclude/>
[ObsoleteAttribute( "'SysObject()' is not supported", TRUE )] ;
FUNCTION SysObject(o) AS OBJECT CLIPPER
   RETURN NIL

/// <exclude/>
[Obsolete];
FUNCTION MCSHORT(l AS USUAL) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete];
FUNCTION MPrepare(s AS STRING) AS STRING
	RETURN s

/// <exclude/>
[Obsolete];
FUNCTION ItemArrayGet(ptrAny AS IntPtr,dwElem AS DWORD) AS USUAL
RETURN NIL

/// <exclude/>
[Obsolete];
FUNCTION ItemArrayNew(dwSize AS DWORD) AS USUAL
RETURN NIL

/// <exclude/>
[Obsolete];
FUNCTION ItemArrayPut(px AS IntPtr,dw AS DWORD,pa AS IntPtr) AS IntPtr
RETURN IntPtr.Zero

/// <exclude/>
[Obsolete];
FUNCTION ItemCopyC(pszVal AS PSZ,ptrAny AS IntPtr,dwLen AS DWORD) AS DWORD
RETURN 0

/// <exclude/>
[Obsolete];
FUNCTION ItemFreeC(pszVal AS PSZ) AS LOGIC
RETURN FALSE

/// <exclude/>
[Obsolete];
FUNCTION ItemGetC(ptrAny AS IntPtr) AS PSZ
RETURN NULL_PSZ

/// <exclude/>
[Obsolete];
FUNCTION ItemGetDS(ptrAny AS IntPtr,pszDate AS PSZ) AS PSZ
RETURN NULL_PSZ

/// <exclude/>
[Obsolete];
FUNCTION ItemGetDL(ptrAny AS IntPtr) AS LONG
RETURN 0

/// <exclude/>
[Obsolete];
FUNCTION ItemGetL(ptrAny AS IntPtr) AS LOGIC
RETURN FALSE

/// <exclude/>
[Obsolete];
FUNCTION ItemGetND(ptrAny AS IntPtr) AS REAL8
RETURN 0

/// <exclude/>
[Obsolete];
FUNCTION ItemGetNL(ptrAny AS IntPtr) AS LONG
RETURN 0

/// <exclude/>
[Obsolete];
FUNCTION ItemGetNS(ptrAny AS IntPtr,dwLen AS DWORD,dwDec AS DWORD) AS PSZ
RETURN NULL_PSZ

/// <exclude/>
[Obsolete];
FUNCTION ItemPutC(ptrAny AS IntPtr,pszVal AS PSZ) AS IntPtr
RETURN IntPtr.Zero

/// <exclude/>
[Obsolete];
FUNCTION ItemPutCL(ptrAny AS IntPtr,pszVal AS PSZ,uilen AS DWORD) AS IntPtr
RETURN IntPtr.Zero

/// <exclude/>
[Obsolete];
FUNCTION ItemPutDS(ptrAny AS IntPtr,pszDate AS PSZ) AS IntPtr
RETURN IntPtr.Zero

/// <exclude/>
[Obsolete];
FUNCTION ItemPutNS(ptrAny AS IntPtr,pszVal AS PSZ,dwLen AS DWORD,dwDec AS DWORD) AS IntPtr
RETURN IntPtr.Zero

/// <exclude/>
[Obsolete];
FUNCTION ItemPutDL(ptrAny AS IntPtr,lDate AS LONG) AS IntPtr
RETURN IntPtr.Zero

/// <esclude />
[Obsolete];
FUNCTION ItemPutL(ptrAny AS IntPtr,fVal AS LOGIC) AS IntPtr
RETURN IntPtr.Zero
/// <esclude />
[Obsolete];
FUNCTION ItemPutND(ptrAny AS IntPtr,r8 AS REAL8) AS IntPtr
RETURN IntPtr.Zero
/// <esclude />
[Obsolete];
FUNCTION ItemPutNL(ptrAny AS IntPtr,lNum AS LONG) AS IntPtr
RETURN IntPtr.Zero
/// <esclude />
[Obsolete];
FUNCTION ItemRegister(ptrAny AS IntPtr) AS LOGIC
RETURN FALSE
/// <esclude />
[Obsolete];
FUNCTION ItemRelease(ptrAny AS IntPtr) AS LOGIC
RETURN FALSE

/// <esclude />
[Obsolete];
FUNCTION ItemReturn(ptrAny AS IntPtr) AS USUAL
RETURN NIL
/// <esclude />
[Obsolete];
FUNCTION ItemSize(ptrAny AS IntPtr) AS DWORD
RETURN 0
/// <esclude />
[Obsolete];
FUNCTION ItemType(ptrAny AS IntPtr) AS DWORD
RETURN 0

/// <esclude />
[Obsolete( "'GetDASPtr()' is not supported and always returns IntPtr.Zero" )] ;
FUNCTION GetDASPtr() AS IntPtr
	RETURN IntPtr.Zero

// constants for the obsolete functions
/// <exclude />
DEFINE MEMORY_COLLECT := -1
/// <exclude />
DEFINE MEMORY_SYSTEM_FREE := 0
/// <exclude />
DEFINE MEMORY_SYSTEM_MAX := 1
/// <exclude />
DEFINE MEMORY_DYNINFOFREE := 2
/// <exclude />
DEFINE MEMORY_DYNINFOMAX := 3
/// <exclude />
DEFINE MEMORY_KIDSTACK_SIZE := 4
/// <exclude />
DEFINE MEMORY_KIDSTACK_FREE := 5
/// <exclude />
DEFINE MEMORY_STACK_SIZE := 6
/// <exclude />
DEFINE MEMORY_STACK_FREE := 7
/// <exclude />
DEFINE MEMORY_MAXATOM := 8
/// <exclude />
DEFINE MEMORY_ACTIVATION := 9
/// <exclude />
DEFINE MEMORY_PUBLIC := 10
/// <exclude />
DEFINE MEMORY_PRIVAT := 11
/// <exclude />
DEFINE MEMORY_DYNINFOUSED := 12
/// <exclude />
DEFINE MEMORY_MEMTOTAL := 13
/// <exclude />
DEFINE MEMORY_DS_SIZE := 14
/// <exclude />
DEFINE MEMORY_CS_SIZE := 15
/// <exclude />
DEFINE MEMORY_REGISTEREXIT_COUNT := 16
/// <exclude />
DEFINE MEMORY_REGCOLLNOTIFYSTART_COUNT := 17
/// <exclude />
DEFINE MEMORY_REGCOLLNOTIFYEND_COUNT := 18
/// <exclude />
DEFINE MEMORY_REGISTERKID := 19
/// <exclude />
DEFINE MEMORY_REGISTERAXIT := 20
/// <exclude />
DEFINE MEMORY_COLLECTCOUNT := 21
/// <exclude />
/// <exclude />
DEFINE MEMORY_DYNINFOSIZE := 22
/// <exclude />
DEFINE MEMORY_RT_DGROUP := 23
/// <exclude />
DEFINE MEMORY_RT_DS := 24
/// <exclude />
DEFINE MEMORY_SS := 25
/// <exclude />
DEFINE MEMORY_DS := 26
/// <exclude />
/// <exclude />
DEFINE MEMORY_CS := 27
/// <exclude />
DEFINE MEMORY_SEQUENCE := 28
/// <exclude />
DEFINE MEMORY_STACKKID := 29
/// <exclude />
DEFINE MEMORY_SP := 30
/// <exclude />
DEFINE MEMORY_GLOBALSEL := 31
/// <exclude />
DEFINE MEMORY_FUNCTIONCOUNT := 32
/// <exclude />
DEFINE MEMORY_CLASSCOUNT := 33
/// <exclude />
DEFINE MEMORY_DB_DS := 34
/// <exclude />
DEFINE MEMORY_DB_DS_SIZE := 35
/// <exclude />
DEFINE MEMORY_WINDOWS_SYSTEMRESOURCES := 100
/// <exclude />
DEFINE MEMORY_WINDOWS_GDIRESOURCES := 101
/// <exclude />
DEFINE MEMORY_WINDOWS_USERRESOURCES := 102
/// <exclude />
DEFINE GC_TYPE_STACK := 1
/// <exclude />
DEFINE GC_TYPE_REGISTERKID := 2
/// <exclude />
DEFINE GC_ENTRY_MAX_STRSIZE := 48

/// <exclude />
DEFINE CLASS_DEBUG_ALLOC := 0x01
/// <exclude />
DEFINE CLASS_DEBUG_INIT := 0x02
/// <exclude />
DEFINE CLASS_DEBUG_AXIT := 0x04
/// <exclude />
DEFINE CLASS_DEBUG_SEND := 0x08
/// <exclude />
DEFINE CLASS_DEBUG_IVARGET := 0x10
/// <exclude />
DEFINE CLASS_DEBUG_IVARPUT := 0x20
/// <exclude />
DEFINE CLASS_DEBUG_DECLARE := 0x40
/// <exclude />
DEFINE CLASS_DEBUG_UNDECL := 0x80
/// <exclude />
DEFINE CLASS_DEBUG_METHDECL := 0x100
/// <exclude />
DEFINE CLASS_DEBUG_NOIVARGET := 0x200
/// <exclude />
DEFINE CLASS_DEBUG_NOIVARPUT := 0x400
/// <exclude />
DEFINE CLASS_DEBUG_ALL := 0xFFFFFFFF

/// <exclude />
DEFINE WAGNER_STRING := (0)
/// <exclude />
DEFINE WAGNER_OBJECT := (2)
/// <exclude />
DEFINE WAGNER_ARRAY := (4)
/// <exclude />
DEFINE WAGNER_FIXED := (6)
/// <exclude />
DEFINE WAGNER_FLOAT := (8)
/// <exclude />
DEFINE WAGNER_ARRAY_PAGE := (10)
/// <exclude />
/// <exclude />
DEFINE WAGNER_BINARY := (0x40)
/// <exclude />
DEFINE WAGNER_STATIC := (0x80)
/// <exclude />
DEFINE WAGNER_FORWARD := (0xFFFD)
/// <exclude />
DEFINE WAGNER_HAS_AXIT := (0x80)
/// <exclude />
DEFINE WAGNER_AXIT_CALLED := (0x04)
/// <exclude />
DEFINE WAGNER_OLDSPACE_STATE := (0x02)

//
// Copyright (c) XSharp B.V.  All Rights Reserved.
// Licensed under the Apache License, Version 2.0.
// See License.txt in the project root for license information.
//

[Obsolete( "ErrorNew() is obsolete. Call the constructor of the Error class directly" )] ;
FUNCTION ErrorNew() AS Error
    RETURN Error{}

// All Dynamic memory functions that are not supported or dummies
// And also all the OldSpace functions

/// <exclude/>
[Obsolete( "'DynMemDump()' is not supported and always returns FALSE" )] ;
FUNCTION DynMemDump(cFile AS STRING,nOptions AS DWORD) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'DynCheckError()' is not supported and always returns 0" )] ;
FUNCTION DynCheckError() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynInfoFree()' is not supported and always returns 0" )] ;
FUNCTION DynInfoFree() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynInfoMax()' is not supported and always returns 0" )] ;
FUNCTION DynInfoMax() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynInfoSize()' is not supported and always returns 0" )] ;
FUNCTION DynInfoSize() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynInfoUsed()' is not supported and always returns 0" )] ;
FUNCTION DynInfoUsed() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynLock()' is not supported and has no effect" )] ;
FUNCTION DynLock() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'DynProtect()' is not supported and always returns FALSE" )] ;
FUNCTION DynProtect( lSet AS LOGIC ) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'DynShrink()' is not supported and always returns 0" )] ;
FUNCTION DynShrink() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynSize()' is not supported and always returns 0" )] ;
FUNCTION DynSize(dwPages AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "DynStack2Array() is not supported and returns an empty array")] ;
FUNCTION DynStack2Array() AS ARRAY
	RETURN NULL_ARRAY

/// <exclude/>
[Obsolete( "DynToOldSpace() is not supported and returns the original usual")] ;
FUNCTION DynToOldSpace( u AS USUAL ) AS USUAL
	RETURN u

/// <exclude/>
[Obsolete( "DynToOldSpaceArray() is not supported and returns the original array")] ;
FUNCTION DynToOldSpaceArray( a AS ARRAY ) AS ARRAY
	RETURN a

/// <exclude/>
[Obsolete( "DynToOldSpaceFloat() is not supported and returns the original float" )] ;
FUNCTION DynToOldSpaceFloat( f AS FLOAT ) AS FLOAT
	RETURN f

/// <exclude/>
[Obsolete( "DynToOldSpaceObject() is not supported and returns the original object" )] ;
FUNCTION DynToOldSpaceObject( o AS OBJECT ) AS OBJECT
	RETURN o

/// <exclude/>
[Obsolete( "DynToOldSpaceString() is not supported and returns the original string" )] ;
FUNCTION DynToOldSpaceString( s AS STRING ) AS STRING
	RETURN s

/// <exclude/>
[Obsolete( "'DynUnlock()' is not supported and has no effect" )] ;
FUNCTION DynUnLock() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'IsOldSpaceFloat()' is not supported and always returns FALSE" )] ;
FUNCTION IsOldSpaceFloat(f AS FLOAT) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'IsOldSpaceString()' is not supported and always returns FALSE" )] ;
FUNCTION IsOldSpaceString(c AS STRING) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'OldSpaceFreeFloat()' is not supported and has no effect")] ;
FUNCTION OldSpaceFreeFloat(f AS FLOAT) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'ReDal()' is not supported and has no effect" )] ;
FUNCTION ReDal() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'RTExit()' is not supported and always returns 0" )] ;
FUNCTION RTExit() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'RegisterKid()' is not supported and has no effect" )] ;
FUNCTION RegisterKid(ptrKid AS IntPtr,dwCount AS DWORD,lItem AS LOGIC) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'FreeStaticObject()' is not supported and always returns FALSE" )] ;
FUNCTION FreeStaticObject(o AS OBJECT) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'Memory()' is not supported and always returns 0" )] ;
FUNCTION Memory(iFunc AS INT) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'OldSpaceFree()' is not supported and has no effect" )] ;
FUNCTION OldSpaceFree(u AS USUAL) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'OldSpaceFreeObject()' is not supported and has no effect" )] ;
FUNCTION OldSpaceFreeObject(o AS OBJECT) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'IsOldSpaceArray()' is not supported and always returns FALSE" )] ;
FUNCTION IsOldSpaceArray(a AS ARRAY) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'OldSpaceFreeArray()' is not supported and has no effect" )] ;
FUNCTION OldSpaceFreeArray(a AS ARRAY) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'IsOldSpace()' is not supported and always returns FALSE" )] ;
FUNCTION IsOldSpace(u AS USUAL) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'IsOldSpaceObject()' is not supported and always returns FALSE" )] ;
FUNCTION IsOldSpaceObject(o AS OBJECT) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'MemCheckPtr()' is not supported and always returns TRUE" )] ;
UNSAFE	 FUNCTION MemCheckPtr( pMemory AS PTR, dwSize AS DWORD ) AS LOGIC
	RETURN	 TRUE

/// <exclude/>
[Obsolete( "'SetKidStackSize()' is not supported and always returns 0" )] ;
FUNCTION SetKidStackSize(dwBytes AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'SetMaxDynSize()' is not supported and always returns 0" )] ;
FUNCTION SetMaxDynSize(dwBytes AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'SetMaxRegisteredAxitMethods()' is not supported and always returns 0" )] ;
FUNCTION SetMaxRegisteredAxitMethods(dwCount AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'SetMaxRegisteredKids()' is not supported and always returns 0" )] ;
FUNCTION SetMaxRegisteredKids(dwCount AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'SetMaxThreadDynSize()' is not supported and always returns 0" )] ;
FUNCTION SetMaxThreadDynSize(dwBytes AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'SetWipeDynSpace()' is not supported and always returns FALSE" )] ;
FUNCTION SetWipeDynSpace(lWipe AS LOGIC) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'ExitVOThread()' is not supported and has no effect" )] ;
FUNCTION ExitVOThread(nRetVal AS INT) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'WriteAtomTable()' is not supported always returns 0" )] ;
FUNCTION WriteAtomTable(hf AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'CreateVOThread()' is not supported always returns IntPtr.Zero" )] ;
FUNCTION CreateVOThread(pSecAttr AS IntPtr,nStackSize AS DWORD,pFunc AS IntPtr,pParam AS IntPtr,dwFlags AS DWORD,pdwID REF DWORD ) AS IntPtr
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete( "'TerminateVOThread()' is not supported always returns FALSE" )] ;
FUNCTION TerminateVOThread(pH AS IntPtr,dwCode AS DWORD) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'Usual2Variant()' is not supported always returns FALSE" )] ;
FUNCTION Usual2Variant(pItem AS IntPtr,pvarg AS IntPtr) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'Variant2Usual()' is not supported always returns FALSE" )] ;
FUNCTION Variant2Usual(pvarg AS IntPtr,pItem AS IntPtr) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'UnRegisterKid()' is not supported, always returns FALSE" )];
FUNCTION UnRegisterKid(ptrKid AS IntPtr) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'VOSendMessage()' is not supported, always returns 0" )];
FUNCTION VOSendMessage(hwnd AS IntPtr,nMsg AS DWORD,dwParam AS DWORD,lParam AS LONG) AS LONG
	RETURN 0

/// <exclude/>
[Obsolete( "'LabelJump()' is not supported and has no effect" )] ;
FUNCTION LabelJump(uError AS USUAL) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete( "'LabelPush()' is not supported and has no effect" )] ;
FUNCTION LabelPop() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'LabelPush()' is not supported and has no effect" )] ;
FUNCTION LabelPush(ptrLabel AS IntPtr) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'IsVOString()' is not supported always returns FALSE" )];
FUNCTION IsVOString(cString AS STRING) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'Multi2Wide()' is not supported always returns the original string" )];
FUNCTION Multi2Wide(c AS STRING) AS STRING
	RETURN c

/// <exclude/>
[Obsolete( "'Wide2Multi()' is not supported always returns the original string" )];
FUNCTION Wide2Multi(cBstr AS STRING) AS STRING
	RETURN cBstr

/// <exclude/>
[Obsolete( "'OldSpaceFreeString()' is not supported and has no effect" )] ;
FUNCTION OldSpaceFreeString(c AS STRING) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'DbcsNext()' is not supported and always returns NULL_PSZ" )] ;
FUNCTION DbcsNext(pszSource AS PSZ) AS PSZ
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete( "'DbcsPrev()' is not supported and always returns NULL_PSZ" )] ;
FUNCTION DbcsPrev(pszSource AS PSZ,pszCurr AS PSZ) AS PSZ
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete( "'KillAtomTable()' is not supported and has no effect")] ;
FUNCTION KillAtomTable() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'LeaveCGCSection()' is not supported and has no effect")] ;
FUNCTION LeaveCGCSection() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'EnterCGCSection()' is not supported and has no effect")] ;
FUNCTION EnterCGCSection() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'KidStackFree()' is not supported and always returns 0" )] ;
FUNCTION KidStackFree() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'KidStackSize()' is not supported and always returns 0" )] ;
FUNCTION KidStackSize() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'LongJmp()' is not supported and has no effect" )] ;
FUNCTION LongJmp(strucMark AS IntPtr,n AS INT) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'VOEnterCriticalSection()' is not supported and has no effect" )] ;
FUNCTION VOEnterCriticalSection(lpCriticalSection AS IntPtr) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'VOLeaveCriticalSection()' is not supported and has no effect" )] ;
FUNCTION VOLeaveCriticalSection(lpCriticalSection AS IntPtr) AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'AtomExit()' is not supported and always returns 0" )] ;
FUNCTION AtomExit() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'AtomInit()' is not supported and always returns 0" )] ;
FUNCTION AtomInit() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'AtomTableSetDirty()' is not supported and always returns FALSE" )] ;
FUNCTION AtomTableGetDirty() AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'AtomTableSetDirty()' is not supported and always returns 0" )] ;
FUNCTION AtomTableSetDirty(f AS LOGIC) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'AllocInstance()' is not supported and returns the same as CreateInstance" )] ;
FUNCTION AllocInstance(symClassName AS USUAL) AS OBJECT
	RETURN CreateInstance(symClassName)

/// <exclude/>
[Obsolete( "'AllocInstanceStatic()' is not supported and returns the same as CreateInstance" )] ;
FUNCTION AllocInstanceStatic(symClassName AS USUAL) AS OBJECT
	RETURN CreateInstance(symClassName)

/// <exclude/>
[Obsolete( "'CreateInstanceStatic()' is not supported and returns the same as CreateInstance" )] ;
FUNCTION CreateInstanceStatic(args PARAMS USUAL[]) AS OBJECT
	RETURN CreateInstance(args)

/// <exclude/>
[Obsolete( "'MathCheck()' is not supported and always returns FALSE" )] ;
FUNCTION MathCheck() AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'MathInit()' is not supported and has no effect" )] ;
FUNCTION MathInit() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'MyDal()' is not supported and has no effect" )] ;
FUNCTION MyDal() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'MyDalFloat()' is not supported and has no effect" )] ;
FUNCTION MyDalFloat() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'MyDalFloatFSTP()' is not supported and has no effect" )] ;
FUNCTION MyDalFloatFSTP() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'MyDalPtr()' is not supported and has no effect" )] ;
FUNCTION MyDalPtr() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'DynAllocEnd()' is not supported and has no effect" )] ;
FUNCTION DynAllocEnd() AS VOID
	RETURN

/// <exclude/>
[Obsolete( "'DynAllocStart()' is not supported and always returns 0" )] ;
FUNCTION DynAllocStart() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynCheckErrorInfo()' is not supported and always returns 0" )] ;
FUNCTION DynCheckErrorInfo() AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DynCheckErrorInfo()' is not supported and always returns NULL_SYMBOL" )] ;
FUNCTION DynCheckErrorSym() AS SYMBOL
	RETURN NULL_SYMBOL

/// <exclude/>
[Obsolete( "'CreateGCDump()' is not supported and always returns 0" )] ;
FUNCTION CreateGCDump(pDump AS IntPtr,nValType AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'DBToSB()' is not supported" )] ;
FUNCTION DBToSB(c AS STRING) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'ToHira()' is not supported" )] ;
FUNCTION ToHira(c AS STRING) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'ToJNum()' is not supported" )] ;
FUNCTION ToJNum(c AS STRING) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'ToKata()' is not supported" )] ;
FUNCTION ToKata(c AS STRING) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'IsKanji()' is not supported" )] ;
FUNCTION IsKanji(c AS STRING) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete( "'WagnerInit()' is not supported and always returns 0" )] ;
FUNCTION WagnerInit() AS DWORD
	RETURN     0

/// <exclude/>
[Obsolete( "'WagnerExit()' is not supported and always returns 0" )] ;
FUNCTION WagnerExit() AS DWORD
	RETURN     0

/// <exclude/>
//[Obsolete( "'Buffer()' is not supported, use MemAlloc() and MemFree() instead" )] ;
//FUNCTION Buffer( n AS DWORD ) AS STRING
//	RETURN NULL

/// <exclude/>
[Obsolete( "'GetPrivPtr()' is not supported and always returns IntPtr.Zero" )] ;
FUNCTION GetPrivPtr() AS IntPtr
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete( "'GetStgServer()' is not supported and always returns ''" )] ;
FUNCTION GetStgServer(pStgRoot AS IntPtr,cSubStorage AS STRING) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'FxOpen()' is not supported and always returns IntPtr.Zero" )] ;
FUNCTION FxOpen(cFile AS STRING,dwMode AS DWORD,cPath AS STRING) AS IntPtr
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete( "'JNTOCMONTH()' is not supported and always returns ''" )] ;
FUNCTION JNTOCMONTH(wMonth AS WORD) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'JNTOCYEAR()' is not supported and always returns ''" )] ;
FUNCTION JNTOCYEAR(wYear AS WORD) AS STRING
	RETURN String.Empty

/// <exclude/>
[Obsolete( "'CreateAtomTable()' is not supported and always returns 0" )] ;
FUNCTION CreateAtomTable(dwVS AS DWORD,dwStep AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'ReadAtomTable()' is not supported and always returns 0" )] ;
FUNCTION ReadAtomTable(hf AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'PszLenW()' is not supported and always returns 0" )] ;
FUNCTION PszLenW(pszUnicode AS PSZ) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'ReleaseString()' is not supported and always returns NULL_PSZ" )] ;
FUNCTION ReleaseString() AS PSZ
	RETURN NULL_PSZ

/// <exclude/>
[Obsolete( "'AMemSize()' is not supported and always returns 0" )] ;
FUNCTION AMemSize(a AS ARRAY) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'APageCount()' is not supported and always returns 0" )] ;
FUNCTION APageCount(a AS ARRAY) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete( "'ArrayGetPtr()' is not supported and always returns IntPtr.Zero" )] ;
FUNCTION ArrayGetPtr(a AS ARRAY,dwEl AS DWORD) AS IntPtr
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete( "'IVarPutSuper()' is not supported and always returns the value that is set" )] ;
FUNCTION IVarPutSuper(o AS OBJECT,symIvar AS SYMBOL,u AS USUAL,symClassName AS SYMBOL) AS USUAL
	RETURN u

/// <exclude/>
[Obsolete( "'IVarGetSuper()' is not supported and always returns NIL" )] ;
FUNCTION IVarGetSuper(o AS OBJECT,symIvar AS SYMBOL,symClassName AS SYMBOL) AS USUAL
	RETURN NIL

/// <exclude/>
[ObsoleteAttribute( "'SendClass()' is not supported and always returns NIL")] ;
FUNCTION SendClass( o , symMethod , symClassName ) AS USUAL CLIPPER
	RETURN NIL

/// <exclude/>
[ObsoleteAttribute( "'OClone()' is not supported and always returns NULL_OBJECT")] ;
FUNCTION OClone(o AS OBJECT) AS OBJECT
	RETURN NULL_OBJECT

/// <exclude/>
[ObsoleteAttribute( "'OMemSize()' is not supported and always returns 0")] ;
FUNCTION OMemSize(o AS OBJECT) AS DWORD
	RETURN 0

/// <exclude/>
[ObsoleteAttribute( "'PClone()' is not supported and always returns NIL")];
FUNCTION PClone(x AS USUAL) AS USUAL
	RETURN NIL

/// <exclude/>
[ObsoleteAttribute( "'FloatNext()' is not supported and always returns 0")];
FUNCTION FloatNext(f AS FLOAT) AS FLOAT
	RETURN 0

/// <exclude/>
[ObsoleteAttribute( "'Psz2Float()' is not supported and always returns 0")];
FUNCTION Psz2Float(ptrBuff AS IntPtr,nLen AS INT,nDec AS INT) AS FLOAT
	RETURN 0

/// <exclude/>
[ObsoleteAttribute( "'Any2Usual()' is not supported and always returns NIL")];
FUNCTION Any2Usual(x AS USUAL,nType AS DWORD) AS USUAL
	RETURN NIL

/// <exclude/>
[ObsoleteAttribute( "'StrToLong()' is not supported and always returns 0")];
FUNCTION StrToLong(c AS STRING,dwRadix AS DWORD) AS FLOAT
	RETURN 0

/// <exclude/>
[ObsoleteAttribute( "'ObjAsPsz()' is not supported and always returns NULL_PSZ")];
FUNCTION ObjAsPsz(pObj AS IntPtr) AS PSZ
	RETURN NULL_PSZ

/// <exclude/>
[ObsoleteAttribute( "'Float2Str()' is not supported and always returns an empty string")];
FUNCTION Float2Str(ptrUsual AS IntPtr,dwLen AS DWORD,dwDec AS DWORD) AS STRING
	RETURN	 ""

/// <exclude/>
[Obsolete];
FUNCTION FunctionCount() AS DWORD
	RETURN	 0

/// <exclude/>
[Obsolete];
FUNCTION FunctionList() AS ARRAY
	RETURN NULL_ARRAY

/// <exclude/>
[Obsolete];
FUNCTION UnDeclareClass(symClass AS SYMBOL) AS INT
	RETURN 0

/// <exclude/>
[Obsolete];
FUNCTION DeclareMethod(symClass AS SYMBOL,symMeth AS SYMBOL,nType AS DWORD,pFunc AS IntPtr,nArgs AS DWORD) AS INT
	RETURN 0

/// <exclude/>
[Obsolete];
FUNCTION FunctionSym2Ptr(symFunc AS SYMBOL) AS IntPtr
	RETURN IntPtr.Zero

/// <exclude/>
[Obsolete] ;
FUNCTION ASendClass( a, symMethod, symClassName ) AS ARRAY CLIPPER
	RETURN a

/// <exclude/>
[Obsolete] ;
FUNCTION _CallClipFuncPtr(pFunc AS IntPtr,aArgs AS ARRAY) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete] ;
FUNCTION _Call(ptrFunc AS PTR) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete] ;
FUNCTION _AsPsz(u AS USUAL) AS PSZ
	RETURN NULL_PSZ

/// <exclude/>
[Obsolete] ;
FUNCTION AsPsz(u AS __Usual) AS PSZ
	RETURN NULL_PSZ

/// <exclude/>
[Obsolete] ;
FUNCTION ErrorCount(dw AS USUAL) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete] ;
FUNCTION ErrorFunc(ptrFunc AS USUAL) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete] ;
FUNCTION ErrorMessageBox(pszText AS PSZ,pszCapt AS PSZ,dwB1 AS DWORD,dwB2 AS DWORD,dwB3 AS DWORD) AS DWORD
	RETURN 0

/// <exclude/>
[Obsolete] ;
FUNCTION IsVOObject(oObject AS OBJECT) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete] ;
FUNCTION _ArrayGetPoly(a AS USUAL,n1 AS USUAL) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete] ;
FUNCTION _ArrayGetCollection(a AS USUAL,n1 AS USUAL) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete] ;
FUNCTION _ArrayPutCollection(a AS USUAL,x AS USUAL,n1 AS USUAL) AS USUAL
	RETURN		 NIL

/// <exclude/>
[Obsolete] ;
FUNCTION _ArrayPutPoly(a AS USUAL,x AS USUAL,n1 AS USUAL) AS USUAL
	RETURN NIL

/// <exclude/>
[Obsolete] ;
FUNCTION CompString() AS INT
	RETURN 0

/// <exclude/>
[Obsolete] ;
FUNCTION SBTODB(c AS STRING) AS STRING
	RETURN String.Empty

/// <exclude/>
[ObsoleteAttribute( "'SysObject()' is not supported", TRUE )] ;
FUNCTION SysObject(o) AS OBJECT CLIPPER
   RETURN NIL

/// <exclude/>
[Obsolete];
FUNCTION MCSHORT(l AS USUAL) AS LOGIC
	RETURN FALSE

/// <exclude/>
[Obsolete];
FUNCTION MPrepare(s AS STRING) AS STRING
	RETURN s

/// <exclude/>
[Obsolete];
FUNCTION ItemArrayGet(ptrAny AS IntPtr,dwElem AS DWORD) AS USUAL
RETURN NIL

/// <exclude/>
[Obsolete];
FUNCTION ItemArrayNew(dwSize AS DWORD) AS USUAL
RETURN NIL

/// <exclude/>
[Obsolete];
FUNCTION ItemArrayPut(px AS IntPtr,dw AS DWORD,pa AS IntPtr) AS IntPtr
RETURN IntPtr.Zero

/// <exclude/>
[Obsolete];
FUNCTION ItemCopyC(pszVal AS PSZ,ptrAny AS IntPtr,dwLen AS DWORD) AS DWORD
RETURN 0

/// <exclude/>
[Obsolete];
FUNCTION ItemFreeC(pszVal AS PSZ) AS LOGIC
RETURN FALSE

/// <exclude/>
[Obsolete];
FUNCTION ItemGetC(ptrAny AS IntPtr) AS PSZ
RETURN NULL_PSZ

/// <exclude/>
[Obsolete];
FUNCTION ItemGetDS(ptrAny AS IntPtr,pszDate AS PSZ) AS PSZ
RETURN NULL_PSZ

/// <exclude/>
[Obsolete];
FUNCTION ItemGetDL(ptrAny AS IntPtr) AS LONG
RETURN 0

/// <exclude/>
[Obsolete];
FUNCTION ItemGetL(ptrAny AS IntPtr) AS LOGIC
RETURN FALSE

/// <exclude/>
[Obsolete];
FUNCTION ItemGetND(ptrAny AS IntPtr) AS REAL8
RETURN 0

/// <exclude/>
[Obsolete];
FUNCTION ItemGetNL(ptrAny AS IntPtr) AS LONG
RETURN 0

/// <exclude/>
[Obsolete];
FUNCTION ItemGetNS(ptrAny AS IntPtr,dwLen AS DWORD,dwDec AS DWORD) AS PSZ
RETURN NULL_PSZ

/// <exclude/>
[Obsolete];
FUNCTION ItemPutC(ptrAny AS IntPtr,pszVal AS PSZ) AS IntPtr
RETURN IntPtr.Zero

/// <exclude/>
[Obsolete];
FUNCTION ItemPutCL(ptrAny AS IntPtr,pszVal AS PSZ,uilen AS DWORD) AS IntPtr
RETURN IntPtr.Zero

/// <exclude/>
[Obsolete];
FUNCTION ItemPutDS(ptrAny AS IntPtr,pszDate AS PSZ) AS IntPtr
RETURN IntPtr.Zero

/// <exclude/>
[Obsolete];
FUNCTION ItemPutNS(ptrAny AS IntPtr,pszVal AS PSZ,dwLen AS DWORD,dwDec AS DWORD) AS IntPtr
RETURN IntPtr.Zero

/// <exclude/>
[Obsolete];
FUNCTION ItemPutDL(ptrAny AS IntPtr,lDate AS LONG) AS IntPtr
RETURN IntPtr.Zero

/// <esclude />
[Obsolete];
FUNCTION ItemPutL(ptrAny AS IntPtr,fVal AS LOGIC) AS IntPtr
RETURN IntPtr.Zero
/// <esclude />
[Obsolete];
FUNCTION ItemPutND(ptrAny AS IntPtr,r8 AS REAL8) AS IntPtr
RETURN IntPtr.Zero
/// <esclude />
[Obsolete];
FUNCTION ItemPutNL(ptrAny AS IntPtr,lNum AS LONG) AS IntPtr
RETURN IntPtr.Zero
/// <esclude />
[Obsolete];
FUNCTION ItemRegister(ptrAny AS IntPtr) AS LOGIC
RETURN FALSE
/// <esclude />
[Obsolete];
FUNCTION ItemRelease(ptrAny AS IntPtr) AS LOGIC
RETURN FALSE

/// <esclude />
[Obsolete];
FUNCTION ItemReturn(ptrAny AS IntPtr) AS USUAL
RETURN NIL
/// <esclude />
[Obsolete];
FUNCTION ItemSize(ptrAny AS IntPtr) AS DWORD
RETURN 0
/// <esclude />
[Obsolete];
FUNCTION ItemType(ptrAny AS IntPtr) AS DWORD
RETURN 0

/// <esclude />
[Obsolete( "'GetDASPtr()' is not supported and always returns IntPtr.Zero" )] ;
FUNCTION GetDASPtr() AS IntPtr
	RETURN IntPtr.Zero

// constants for the obsolete functions
/// <exclude />
DEFINE MEMORY_COLLECT := -1
/// <exclude />
DEFINE MEMORY_SYSTEM_FREE := 0
/// <exclude />
DEFINE MEMORY_SYSTEM_MAX := 1
/// <exclude />
DEFINE MEMORY_DYNINFOFREE := 2
/// <exclude />
DEFINE MEMORY_DYNINFOMAX := 3
/// <exclude />
DEFINE MEMORY_KIDSTACK_SIZE := 4
/// <exclude />
DEFINE MEMORY_KIDSTACK_FREE := 5
/// <exclude />
DEFINE MEMORY_STACK_SIZE := 6
/// <exclude />
DEFINE MEMORY_STACK_FREE := 7
/// <exclude />
DEFINE MEMORY_MAXATOM := 8
/// <exclude />
DEFINE MEMORY_ACTIVATION := 9
/// <exclude />
DEFINE MEMORY_PUBLIC := 10
/// <exclude />
DEFINE MEMORY_PRIVAT := 11
/// <exclude />
DEFINE MEMORY_DYNINFOUSED := 12
/// <exclude />
DEFINE MEMORY_MEMTOTAL := 13
/// <exclude />
DEFINE MEMORY_DS_SIZE := 14
/// <exclude />
DEFINE MEMORY_CS_SIZE := 15
/// <exclude />
DEFINE MEMORY_REGISTEREXIT_COUNT := 16
/// <exclude />
DEFINE MEMORY_REGCOLLNOTIFYSTART_COUNT := 17
/// <exclude />
DEFINE MEMORY_REGCOLLNOTIFYEND_COUNT := 18
/// <exclude />
DEFINE MEMORY_REGISTERKID := 19
/// <exclude />
DEFINE MEMORY_REGISTERAXIT := 20
/// <exclude />
DEFINE MEMORY_COLLECTCOUNT := 21
/// <exclude />
/// <exclude />
DEFINE MEMORY_DYNINFOSIZE := 22
/// <exclude />
DEFINE MEMORY_RT_DGROUP := 23
/// <exclude />
DEFINE MEMORY_RT_DS := 24
/// <exclude />
DEFINE MEMORY_SS := 25
/// <exclude />
DEFINE MEMORY_DS := 26
/// <exclude />
/// <exclude />
DEFINE MEMORY_CS := 27
/// <exclude />
DEFINE MEMORY_SEQUENCE := 28
/// <exclude />
DEFINE MEMORY_STACKKID := 29
/// <exclude />
DEFINE MEMORY_SP := 30
/// <exclude />
DEFINE MEMORY_GLOBALSEL := 31
/// <exclude />
DEFINE MEMORY_FUNCTIONCOUNT := 32
/// <exclude />
DEFINE MEMORY_CLASSCOUNT := 33
/// <exclude />
DEFINE MEMORY_DB_DS := 34
/// <exclude />
DEFINE MEMORY_DB_DS_SIZE := 35
/// <exclude />
DEFINE MEMORY_WINDOWS_SYSTEMRESOURCES := 100
/// <exclude />
DEFINE MEMORY_WINDOWS_GDIRESOURCES := 101
/// <exclude />
DEFINE MEMORY_WINDOWS_USERRESOURCES := 102
/// <exclude />
DEFINE GC_TYPE_STACK := 1
/// <exclude />
DEFINE GC_TYPE_REGISTERKID := 2
/// <exclude />
DEFINE GC_ENTRY_MAX_STRSIZE := 48

/// <exclude />
DEFINE CLASS_DEBUG_ALLOC := 0x01
/// <exclude />
DEFINE CLASS_DEBUG_INIT := 0x02
/// <exclude />
DEFINE CLASS_DEBUG_AXIT := 0x04
/// <exclude />
DEFINE CLASS_DEBUG_SEND := 0x08
/// <exclude />
DEFINE CLASS_DEBUG_IVARGET := 0x10
/// <exclude />
DEFINE CLASS_DEBUG_IVARPUT := 0x20
/// <exclude />
DEFINE CLASS_DEBUG_DECLARE := 0x40
/// <exclude />
DEFINE CLASS_DEBUG_UNDECL := 0x80
/// <exclude />
DEFINE CLASS_DEBUG_METHDECL := 0x100
/// <exclude />
DEFINE CLASS_DEBUG_NOIVARGET := 0x200
/// <exclude />
DEFINE CLASS_DEBUG_NOIVARPUT := 0x400
/// <exclude />
DEFINE CLASS_DEBUG_ALL := 0xFFFFFFFF

/// <exclude />
DEFINE WAGNER_STRING := (0)
/// <exclude />
DEFINE WAGNER_OBJECT := (2)
/// <exclude />
DEFINE WAGNER_ARRAY := (4)
/// <exclude />
DEFINE WAGNER_FIXED := (6)
/// <exclude />
DEFINE WAGNER_FLOAT := (8)
/// <exclude />
DEFINE WAGNER_ARRAY_PAGE := (10)
/// <exclude />
/// <exclude />
DEFINE WAGNER_BINARY := (0x40)
/// <exclude />
DEFINE WAGNER_STATIC := (0x80)
/// <exclude />
DEFINE WAGNER_FORWARD := (0xFFFD)
/// <exclude />
DEFINE WAGNER_HAS_AXIT := (0x80)
/// <exclude />
DEFINE WAGNER_AXIT_CALLED := (0x04)
/// <exclude />
DEFINE WAGNER_OLDSPACE_STATE := (0x02)


source/QtUiTools: updated

source/QtUiTools: updated

Modified:
source/QtUiTools/QUiLoader.prg

/*

  Qt4xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 4

  Copyright (C) 2019 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>

*/

/*
  DO NOT EDIT THIS FILE - the content was created using a source code generator
*/

#include "hbclass.ch"

#ifndef QT4XHB_NO_REQUESTS
REQUEST QACTION
REQUEST QACTIONGROUP
REQUEST QDIR
REQUEST QLAYOUT
REQUEST QWIDGET
#endif

CLASS QUiLoader INHERIT QObject

   METHOD new
   METHOD delete
   METHOD addPluginPath
   METHOD availableLayouts
   METHOD availableWidgets
   METHOD clearPluginPaths
   METHOD createAction
   METHOD createActionGroup
   METHOD createLayout
   METHOD createWidget
   METHOD isLanguageChangeEnabled
   METHOD load
   METHOD pluginPaths
   METHOD setLanguageChangeEnabled
   METHOD setWorkingDirectory
   METHOD workingDirectory

   DESTRUCTOR destroyObject

END CLASS

PROCEDURE destroyObject () CLASS QUiLoader
   IF ::self_destruction
      ::delete()
   ENDIF
RETURN

#pragma BEGINDUMP

#include <QtUiTools/QUiLoader>

#include "qt4xhb_common.h"
#include "qt4xhb_macros.h"
#include "qt4xhb_utils.h"

#include <QtCore/QStringList>
#include <QtCore/QDir>
#include <QtGui/QAction>
#include <QtGui/QLayout>

/*
QUiLoader ( QObject * parent = 0 )
*/
HB_FUNC_STATIC( QUILOADER_NEW )
{
  if( ISBETWEEN(0,1) && (ISQOBJECT(1)||ISNIL(1)) )
  {
    QUiLoader * o = new QUiLoader ( OPQOBJECT(1,0) );
    _qt4xhb_returnNewObject( o, false );
  }
  else
  {
    hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
  }
}

HB_FUNC_STATIC( QUILOADER_DELETE )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
    delete obj;
    obj = NULL;
    PHB_ITEM self = hb_stackSelfItem();
    PHB_ITEM ptr = hb_itemPutPtr( NULL, NULL );
    hb_objSendMsg( self, "_pointer", 1, ptr );
    hb_itemRelease( ptr );
  }

  hb_itemReturn( hb_stackSelfItem() );
}

/*
void addPluginPath ( const QString & path )
*/
HB_FUNC_STATIC( QUILOADER_ADDPLUGINPATH )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(1) && ISCHAR(1) )
    {
#endif
      obj->addPluginPath ( PQSTRING(1) );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }

  hb_itemReturn( hb_stackSelfItem() );
}

/*
QStringList availableLayouts () const
*/
HB_FUNC_STATIC( QUILOADER_AVAILABLELAYOUTS )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(0) )
    {
#endif
      RQSTRINGLIST( obj->availableLayouts () );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
QStringList availableWidgets () const
*/
HB_FUNC_STATIC( QUILOADER_AVAILABLEWIDGETS )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(0) )
    {
#endif
      RQSTRINGLIST( obj->availableWidgets () );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
void clearPluginPaths ()
*/
HB_FUNC_STATIC( QUILOADER_CLEARPLUGINPATHS )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(0) )
    {
#endif
      obj->clearPluginPaths ();
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }

  hb_itemReturn( hb_stackSelfItem() );
}

/*
virtual QAction * createAction ( QObject * parent = 0, const QString & name = QString() )
*/
HB_FUNC_STATIC( QUILOADER_CREATEACTION )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISBETWEEN(0,2) && (ISQOBJECT(1)||ISNIL(1)) && ISOPTCHAR(2) )
    {
#endif
      QAction * ptr = obj->createAction ( OPQOBJECT(1,0), OPQSTRING(2,QString()) );
      _qt4xhb_createReturnQObjectClass ( ptr, "QACTION" );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
virtual QActionGroup * createActionGroup ( QObject * parent = 0, const QString & name = QString() )
*/
HB_FUNC_STATIC( QUILOADER_CREATEACTIONGROUP )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISBETWEEN(0,2) && (ISQOBJECT(1)||ISNIL(1)) && ISOPTCHAR(2) )
    {
#endif
      QActionGroup * ptr = obj->createActionGroup ( OPQOBJECT(1,0), OPQSTRING(2,QString()) );
      _qt4xhb_createReturnQObjectClass ( ptr, "QACTIONGROUP" );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
virtual QLayout * createLayout ( const QString & className, QObject * parent = 0, const QString & name = QString() )
*/
HB_FUNC_STATIC( QUILOADER_CREATELAYOUT )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISBETWEEN(1,3) && ISCHAR(1) && (ISQOBJECT(2)||ISNIL(2)) && ISOPTCHAR(3) )
    {
#endif
      QLayout * ptr = obj->createLayout ( PQSTRING(1), OPQOBJECT(2,0), OPQSTRING(3,QString()) );
      _qt4xhb_createReturnQObjectClass ( ptr, "QLAYOUT" );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
virtual QWidget * createWidget ( const QString & className, QWidget * parent = 0, const QString & name = QString() )
*/
HB_FUNC_STATIC( QUILOADER_CREATEWIDGET )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISBETWEEN(1,3) && ISCHAR(1) && (ISQWIDGET(2)||ISNIL(2)) && ISOPTCHAR(3) )
    {
#endif
      QWidget * ptr = obj->createWidget ( PQSTRING(1), OPQWIDGET(2,0), OPQSTRING(3,QString()) );
      _qt4xhb_createReturnQWidgetClass ( ptr, "QWIDGET" );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
bool isLanguageChangeEnabled () const
*/
HB_FUNC_STATIC( QUILOADER_ISLANGUAGECHANGEENABLED )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(0) )
    {
#endif
      RBOOL( obj->isLanguageChangeEnabled () );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
QWidget * load ( QIODevice * device, QWidget * parentWidget = 0 )
*/
HB_FUNC_STATIC( QUILOADER_LOAD )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISBETWEEN(1,2) && ISQIODEVICE(1) && (ISQWIDGET(2)||ISNIL(2)) )
    {
#endif
      QWidget * ptr = obj->load ( PQIODEVICE(1), OPQWIDGET(2,0) );
      _qt4xhb_createReturnQWidgetClass ( ptr, "QWIDGET" );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
QStringList pluginPaths () const
*/
HB_FUNC_STATIC( QUILOADER_PLUGINPATHS )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(0) )
    {
#endif
      RQSTRINGLIST( obj->pluginPaths () );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
void setLanguageChangeEnabled ( bool enabled )
*/
HB_FUNC_STATIC( QUILOADER_SETLANGUAGECHANGEENABLED )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(1) && ISLOG(1) )
    {
#endif
      obj->setLanguageChangeEnabled ( PBOOL(1) );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }

  hb_itemReturn( hb_stackSelfItem() );
}

/*
void setWorkingDirectory ( const QDir & dir )
*/
HB_FUNC_STATIC( QUILOADER_SETWORKINGDIRECTORY )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(1) && ISQDIR(1) )
    {
#endif
      obj->setWorkingDirectory ( *PQDIR(1) );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }

  hb_itemReturn( hb_stackSelfItem() );
}

/*
QDir workingDirectory () const
*/
HB_FUNC_STATIC( QUILOADER_WORKINGDIRECTORY )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(0) )
    {
#endif
      QDir * ptr = new QDir( obj->workingDirectory () );
      _qt4xhb_createReturnClass ( ptr, "QDIR", true );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

#pragma ENDDUMP

/*

  Qt4xHb - Bindings libraries for Harbour/xHarbour and Qt Framework 4

  Copyright (C) 2019 Marcos Antonio Gambeta <marcosgambeta AT outlook DOT com>

*/

/*
  DO NOT EDIT THIS FILE - the content was created using a source code generator
*/

#include "hbclass.ch"

#ifndef QT4XHB_NO_REQUESTS
REQUEST QACTION
REQUEST QACTIONGROUP
REQUEST QDIR
REQUEST QLAYOUT
REQUEST QWIDGET
#endif

CLASS QUiLoader INHERIT QObject

   METHOD new
   METHOD delete
   METHOD addPluginPath
   METHOD availableLayouts
   METHOD availableWidgets
   METHOD clearPluginPaths
   METHOD createAction
   METHOD createActionGroup
   METHOD createLayout
   METHOD createWidget
   METHOD isLanguageChangeEnabled
   METHOD load
   METHOD pluginPaths
   METHOD setLanguageChangeEnabled
   METHOD setWorkingDirectory
   METHOD workingDirectory

   DESTRUCTOR destroyObject

END CLASS

PROCEDURE destroyObject () CLASS QUiLoader
   IF ::self_destruction
      ::delete()
   ENDIF
RETURN

#pragma BEGINDUMP

#include <QUiLoader>

#include "qt4xhb_common.h"
#include "qt4xhb_macros.h"
#include "qt4xhb_utils.h"

#include <QStringList>
#include <QDir>
#include <QAction>
#include <QLayout>

/*
QUiLoader ( QObject * parent = 0 )
*/
HB_FUNC_STATIC( QUILOADER_NEW )
{
  if( ISBETWEEN(0,1) && (ISQOBJECT(1)||ISNIL(1)) )
  {
    QUiLoader * o = new QUiLoader ( OPQOBJECT(1,0) );
    _qt4xhb_returnNewObject( o, false );
  }
  else
  {
    hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
  }
}

HB_FUNC_STATIC( QUILOADER_DELETE )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
    delete obj;
    obj = NULL;
    PHB_ITEM self = hb_stackSelfItem();
    PHB_ITEM ptr = hb_itemPutPtr( NULL, NULL );
    hb_objSendMsg( self, "_pointer", 1, ptr );
    hb_itemRelease( ptr );
  }

  hb_itemReturn( hb_stackSelfItem() );
}

/*
void addPluginPath ( const QString & path )
*/
HB_FUNC_STATIC( QUILOADER_ADDPLUGINPATH )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(1) && ISCHAR(1) )
    {
#endif
      obj->addPluginPath ( PQSTRING(1) );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }

  hb_itemReturn( hb_stackSelfItem() );
}

/*
QStringList availableLayouts () const
*/
HB_FUNC_STATIC( QUILOADER_AVAILABLELAYOUTS )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(0) )
    {
#endif
      RQSTRINGLIST( obj->availableLayouts () );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
QStringList availableWidgets () const
*/
HB_FUNC_STATIC( QUILOADER_AVAILABLEWIDGETS )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(0) )
    {
#endif
      RQSTRINGLIST( obj->availableWidgets () );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
void clearPluginPaths ()
*/
HB_FUNC_STATIC( QUILOADER_CLEARPLUGINPATHS )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(0) )
    {
#endif
      obj->clearPluginPaths ();
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }

  hb_itemReturn( hb_stackSelfItem() );
}

/*
virtual QAction * createAction ( QObject * parent = 0, const QString & name = QString() )
*/
HB_FUNC_STATIC( QUILOADER_CREATEACTION )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISBETWEEN(0,2) && (ISQOBJECT(1)||ISNIL(1)) && ISOPTCHAR(2) )
    {
#endif
      QAction * ptr = obj->createAction ( OPQOBJECT(1,0), OPQSTRING(2,QString()) );
      _qt4xhb_createReturnQObjectClass ( ptr, "QACTION" );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
virtual QActionGroup * createActionGroup ( QObject * parent = 0, const QString & name = QString() )
*/
HB_FUNC_STATIC( QUILOADER_CREATEACTIONGROUP )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISBETWEEN(0,2) && (ISQOBJECT(1)||ISNIL(1)) && ISOPTCHAR(2) )
    {
#endif
      QActionGroup * ptr = obj->createActionGroup ( OPQOBJECT(1,0), OPQSTRING(2,QString()) );
      _qt4xhb_createReturnQObjectClass ( ptr, "QACTIONGROUP" );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
virtual QLayout * createLayout ( const QString & className, QObject * parent = 0, const QString & name = QString() )
*/
HB_FUNC_STATIC( QUILOADER_CREATELAYOUT )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISBETWEEN(1,3) && ISCHAR(1) && (ISQOBJECT(2)||ISNIL(2)) && ISOPTCHAR(3) )
    {
#endif
      QLayout * ptr = obj->createLayout ( PQSTRING(1), OPQOBJECT(2,0), OPQSTRING(3,QString()) );
      _qt4xhb_createReturnQObjectClass ( ptr, "QLAYOUT" );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
virtual QWidget * createWidget ( const QString & className, QWidget * parent = 0, const QString & name = QString() )
*/
HB_FUNC_STATIC( QUILOADER_CREATEWIDGET )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISBETWEEN(1,3) && ISCHAR(1) && (ISQWIDGET(2)||ISNIL(2)) && ISOPTCHAR(3) )
    {
#endif
      QWidget * ptr = obj->createWidget ( PQSTRING(1), OPQWIDGET(2,0), OPQSTRING(3,QString()) );
      _qt4xhb_createReturnQWidgetClass ( ptr, "QWIDGET" );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
bool isLanguageChangeEnabled () const
*/
HB_FUNC_STATIC( QUILOADER_ISLANGUAGECHANGEENABLED )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(0) )
    {
#endif
      RBOOL( obj->isLanguageChangeEnabled () );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
QWidget * load ( QIODevice * device, QWidget * parentWidget = 0 )
*/
HB_FUNC_STATIC( QUILOADER_LOAD )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISBETWEEN(1,2) && ISQIODEVICE(1) && (ISQWIDGET(2)||ISNIL(2)) )
    {
#endif
      QWidget * ptr = obj->load ( PQIODEVICE(1), OPQWIDGET(2,0) );
      _qt4xhb_createReturnQWidgetClass ( ptr, "QWIDGET" );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
QStringList pluginPaths () const
*/
HB_FUNC_STATIC( QUILOADER_PLUGINPATHS )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(0) )
    {
#endif
      RQSTRINGLIST( obj->pluginPaths () );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

/*
void setLanguageChangeEnabled ( bool enabled )
*/
HB_FUNC_STATIC( QUILOADER_SETLANGUAGECHANGEENABLED )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(1) && ISLOG(1) )
    {
#endif
      obj->setLanguageChangeEnabled ( PBOOL(1) );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }

  hb_itemReturn( hb_stackSelfItem() );
}

/*
void setWorkingDirectory ( const QDir & dir )
*/
HB_FUNC_STATIC( QUILOADER_SETWORKINGDIRECTORY )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(1) && ISQDIR(1) )
    {
#endif
      obj->setWorkingDirectory ( *PQDIR(1) );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }

  hb_itemReturn( hb_stackSelfItem() );
}

/*
QDir workingDirectory () const
*/
HB_FUNC_STATIC( QUILOADER_WORKINGDIRECTORY )
{
  QUiLoader * obj = (QUiLoader *) hb_itemGetPtr( hb_objSendMsg( hb_stackSelfItem(), "POINTER", 0 ) );

  if( obj )
  {
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    if( ISNUMPAR(0) )
    {
#endif
      QDir * ptr = new QDir( obj->workingDirectory () );
      _qt4xhb_createReturnClass ( ptr, "QDIR", true );
#ifndef QT4XHB_DONT_CHECK_PARAMETERS
    }
    else
    {
      hb_errRT_BASE( EG_ARG, 3012, NULL, HB_ERR_FUNCNAME, HB_ERR_ARGS_BASEPARAMS );
    }
#endif
  }
}

#pragma ENDDUMP