Files
lazarus-ccr/components/geckoport/version2/gecko10/nsidocshelltreeitem.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
1.6 KiB
PHP

type
nsIDocShellTreeItem = interface(nsIDocShellTreeNode)
['{09b54ec1-d98a-49a9-bc95-3219e8b55089}']
function Getname(): PWideChar; safecall;
procedure Setname(aname: PWideChar); safecall;
property name : PWideChar read Getname write Setname;
function nameEquals(aname: PWideChar) : longbool; safecall;
function GetitemType(): idllong; safecall;
procedure SetitemType(aitemType: idllong); safecall;
property itemType : idllong read GetitemType write SetitemType;
function Getparent(): nsIDocShellTreeItem; safecall;
property parent : nsIDocShellTreeItem read Getparent;
function GetsameTypeParent(): nsIDocShellTreeItem; safecall;
property sameTypeParent : nsIDocShellTreeItem read GetsameTypeParent;
function GetrootTreeItem(): nsIDocShellTreeItem; safecall;
property rootTreeItem : nsIDocShellTreeItem read GetrootTreeItem;
function GetsameTypeRootTreeItem(): nsIDocShellTreeItem; safecall;
property sameTypeRootTreeItem : nsIDocShellTreeItem read GetsameTypeRootTreeItem;
function findItemWithName(aname: PWideChar; aRequestor: nsISupports; aOriginalRequestor: nsIDocShellTreeItem) : nsIDocShellTreeItem; safecall;
function GettreeOwner(): nsIDocShellTreeOwner; safecall;
property treeOwner : nsIDocShellTreeOwner read GettreeOwner;
procedure setTreeOwner(atreeOwner: nsIDocShellTreeOwner); safecall;
end;
const
nsIDocShellTreeItem_typeChrome=0;
nsIDocShellTreeItem_typeContent=1;
nsIDocShellTreeItem_typeContentWrapper=2;
nsIDocShellTreeItem_typeChromeWrapper=3;
nsIDocShellTreeItem_typeAll=$7FFFFFFF;