Files
lazarus-ccr/components/geckoport/version2/gecko9/nsibasewindow.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

44 lines
2.2 KiB
PHP

type
nativeWindow = voidPtr;
nsIWidget = pointer;
type
nsIBaseWindow = interface(nsISupports)
['{046BC8A0-8015-11d3-AF70-00A024FFC08C}']
procedure initWindow(AparentNativeWindow: nativeWindow; AparentWidget: nsIWidget; x: idllong; y: idllong; cx: idllong; cy: idllong); safecall;
procedure create(); safecall;
procedure destroy(); safecall;
procedure setPosition(x: idllong; y: idllong); safecall;
procedure getPosition(out x: idllong; out y: idllong); safecall;
procedure setSize(cx: idllong; cy: idllong; fRepaint: longbool); safecall;
procedure getSize(out cx: idllong; out cy: idllong); safecall;
procedure setPositionAndSize(x: idllong; y: idllong; cx: idllong; cy: idllong; fRepaint: longbool); safecall;
procedure getPositionAndSize(out x: idllong; out y: idllong; out cx: idllong; out cy: idllong); safecall;
procedure repaint(force: longbool); safecall;
function GetparentWidget(): nsIWidget; safecall;
procedure SetparentWidget(aparentWidget: nsIWidget); safecall;
property parentWidget : nsIWidget read GetparentWidget write SetparentWidget;
function GetparentNativeWindow(): nativeWindow; safecall;
procedure SetparentNativeWindow(aparentNativeWindow: nativeWindow); safecall;
property parentNativeWindow : nativeWindow read GetparentNativeWindow write SetparentNativeWindow;
function Getvisibility(): longbool; safecall;
procedure Setvisibility(avisibility: longbool); safecall;
property visibility : longbool read Getvisibility write Setvisibility;
function Getenabled(): longbool; safecall;
procedure Setenabled(aenabled: longbool); safecall;
property enabled : longbool read Getenabled write Setenabled;
function GetblurSuppression(): longbool; safecall;
procedure SetblurSuppression(ablurSuppression: longbool); safecall;
property blurSuppression : longbool read GetblurSuppression write SetblurSuppression;
function GetmainWidget(): nsIWidget; safecall;
property mainWidget : nsIWidget read GetmainWidget;
procedure setFocus(); safecall;
function Gettitle(): PWideChar; safecall;
procedure Settitle(atitle: PWideChar); safecall;
property title : PWideChar read Gettitle write Settitle;
end;