Files
lazarus-ccr/components/geckoport/version2/gecko10/nsisupportsarray.inc
loesje_ 625a4e0e99 * Begin of version 2 of the geckoport package
In this new version the gecko-interfaces are generated directly from the
   idl-files of the gecko-sdk using the idlparser utility. The generated 
   include files are kept as closely to the original as possible. For now
   by defaule Gecko 9 is used, as Gecko 10 has a bug which makes it
   impossible to embed it on Linux systems.



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2349 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-17 10:50:10 +00:00

34 lines
2.0 KiB
PHP

type
nsISupportsArrayEnumFunc = function(aElement: nsISupports; aData: pointer) : longbool;
type
nsISupportsArray = interface(nsICollection)
['{791eafa0-b9e6-11d1-8031-006008159b5a}']
function Equals(other: nsISupportsArray) : longbool; safecall;
function ElementAt(aIndex: idlulong) : nsISupports; safecall;
function IndexOf(aPossibleElement: nsISupports) : idllong; safecall;
function IndexOfStartingAt(aPossibleElement: nsISupports; aStartIndex: idlulong) : idllong; safecall;
function LastIndexOf(aPossibleElement: nsISupports) : idllong; safecall;
function GetIndexOf(aPossibleElement: nsISupports) : idllong; safecall;
function GetIndexOfStartingAt(aPossibleElement: nsISupports; aStartIndex: idlulong) : idllong; safecall;
function GetLastIndexOf(aPossibleElement: nsISupports) : idllong; safecall;
function InsertElementAt(aElement: nsISupports; aIndex: idlulong) : longbool; safecall;
function ReplaceElementAt(aElement: nsISupports; aIndex: idlulong) : longbool; safecall;
function RemoveElementAt(aIndex: idlulong) : longbool; safecall;
function RemoveLastElement(aElement: nsISupports) : longbool; safecall;
procedure DeleteLastElement(aElement: nsISupports); safecall;
procedure DeleteElementAt(aIndex: idlulong); safecall;
function AppendElements(aElements: nsISupportsArray) : longbool; safecall;
procedure Compact(); safecall;
function EnumerateForwards(aFunc: nsISupportsArrayEnumFunc; aData: voidPtr) : longbool; safecall;
function EnumerateBackwards(aFunc: nsISupportsArrayEnumFunc; aData: voidPtr) : longbool; safecall;
function clone() : nsISupportsArray; safecall;
function MoveElement(aFrom: idllong; aTo: idllong) : longbool; safecall;
function InsertElementsAt(aOther: nsISupportsArray; aIndex: idlulong) : longbool; safecall;
function RemoveElementsAt(aIndex: idlulong; aCount: idlulong) : longbool; safecall;
function SizeTo(aSize: idllong) : longbool; safecall;
end;