You've already forked lazarus-ccr
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
34 lines
1.4 KiB
PHP
34 lines
1.4 KiB
PHP
type
|
|
|
|
nsICommandParams = interface(nsISupports)
|
|
['{83f892cf-7ed3-490e-967a-62640f3158e1}']
|
|
function getValueType(name: PAnsiChar) : idlshort; safecall;
|
|
function getBooleanValue(name: PAnsiChar) : longbool; safecall;
|
|
function getLongValue(name: PAnsiChar) : idllong; safecall;
|
|
function getDoubleValue(name: PAnsiChar) : double; safecall;
|
|
function getStringValue(name: PAnsiChar) : AString; safecall;
|
|
function getCStringValue(name: PAnsiChar) : PAnsiChar; safecall;
|
|
function getISupportsValue(name: PAnsiChar) : nsISupports; safecall;
|
|
procedure setBooleanValue(name: PAnsiChar; value: longbool); safecall;
|
|
procedure setLongValue(name: PAnsiChar; value: idllong); safecall;
|
|
procedure setDoubleValue(name: PAnsiChar; value: double); safecall;
|
|
procedure setStringValue(name: PAnsiChar; value: AString); safecall;
|
|
procedure setCStringValue(name: PAnsiChar; value: PAnsiChar); safecall;
|
|
procedure setISupportsValue(name: PAnsiChar; value: nsISupports); safecall;
|
|
procedure removeValue(name: PAnsiChar); safecall;
|
|
function hasMoreElements() : longbool; safecall;
|
|
procedure first(); safecall;
|
|
function getNext() : PAnsiChar; safecall;
|
|
|
|
end;
|
|
|
|
const
|
|
nsICommandParams_eNoType=0;
|
|
nsICommandParams_eBooleanType=1;
|
|
nsICommandParams_eLongType=2;
|
|
nsICommandParams_eDoubleType=3;
|
|
nsICommandParams_eWStringType=4;
|
|
nsICommandParams_eISupportsType=5;
|
|
nsICommandParams_eStringType=6;
|
|
|