/*
* DO NOT EDIT! This is a generated file.
*
* XPCOM IDL (XPIDL) definition for VirtualBox Main API (COM interfaces)
* generated from XIDL (XML interface definition).
*
* Source : src/VBox/Main/idl/VirtualBox.xidl
* Generator : src/VBox/Main/idl/xpidl.xsl
*/
#include "nsISupports.idl"
#include "nsIException.idl"
[ptr] native booleanPtr (PRBool);
[ptr] native octetPtr (PRUint8);
[ptr] native shortPtr (PRInt16);
[ptr] native ushortPtr (PRUint16);
[ptr] native longPtr (PRInt32);
[ptr] native llongPtr (PRInt64);
[ptr] native ulongPtr (PRUint32);
[ptr] native ullongPtr (PRUint64);
[ptr] native stringPtr (string);
[ptr] native wcharPtr (wchar);
[ptr] native wstringPtr (wstring);
%{C++
%}
%{C++
%}
@if attributes are not currently allowed because xpidl lacks
support for #ifdef and stuff.
#if
#endif
%{C++
%}
interface
;
[
uuid(),
scriptable
]
interface
:
nsISupports
nsISupports
nsIException
{
}; /* interface
*/
/* Interface implementation forwarder macro */
%{C++
#define COM_FORWARD_
_TO(smth) NS_FORWARD_
(smth)
#define COM_FORWARD_
_TO_OBJ(obj) COM_FORWARD_
_TO ((obj)->)
#define COM_FORWARD_
_TO_BASE(base) COM_FORWARD_
_TO (base::)
%}
'array' attributes are not supported, use 'safearray="yes"' instead.
[noscript]
void get
(
out unsigned long
Size,
[array, size_is(
Size), retval] out
);
void set
(
in unsigned long
Size,
[array, size_is(
Size)] in
);
readonly
attribute
;
#define COM_FORWARD_
_GETTER_
_TO(smth) NS_IMETHOD Get
(
PRUint32 * a
Size,
*
* a
) { return smth Get
(
a
Size,
a
); }
#define COM_FORWARD_
_GETTER_
_TO_OBJ(obj) COM_FORWARD_
_GETTER_
_TO ((obj)->)
#define COM_FORWARD_
_GETTER_
_TO_BASE(base) COM_FORWARD_
_GETTER_
_TO (base::)
#define COM_FORWARD_
_SETTER_
_TO(smth) NS_IMETHOD Set
(
PRUint32 a
Size,
const
*
a
) { return smth Set
(a
); }
#define COM_FORWARD_
_SETTER_
_TO_OBJ(obj) COM_FORWARD_
_SETTER_
_TO ((obj)->)
#define COM_FORWARD_
_SETTER_
_TO_BASE(base) COM_FORWARD_
_SETTER_
_TO (base::)
[noscript]
void
(
,
);
();
#define COM_FORWARD_
_
_TO(smth) NS_IMETHOD
(
,
) { return smth
(
a
Size+++,
a
,
a
Size,
a
); }
() { return smth
(); }
#define COM_FORWARD_
_
_TO_OBJ(obj) COM_FORWARD_
_
_TO ((obj)->)
#define COM_FORWARD_
_
_TO_BASE(base) COM_FORWARD_
_
_TO (base::)
%{C++
#define NS_
_CID { \
0x
, 0x
, 0x
, \
{ 0x
, 0x
, 0x
, 0x
, 0x
, 0x
, 0x
, 0x
} \
}
#define NS_
_CONTRACTID "@
/
;1"
// for compatibility with Win32
#define CLSID_
(nsCID) NS_
_CID
%}
[
uuid(),
scriptable
]
interface
: nsISupports
{
void hasMore ([retval] out boolean more);
void getNext ([retval] out
next);
}; /* interface
*/
non-readonly collections are not currently supported
[
uuid(),
scriptable
]
interface
: nsISupports
{
readonly attribute unsigned long count;
void getItemAt (in unsigned long index, [retval] out
item);
void enumerate ([retval] out
enumerator);
}; /* interface
*/
[
uuid(),
scriptable
]
interface
{
const PRUint32
=
;
};
%{C++
%}
%{C++
%}
in
out
out
in
unsigned long
Size,
[array, size_is(
Size)
] in
] out
, retval] out
] in
return 'array' parameters are not supported, use 'safearray="yes"' instead.
[array,
must have the same direction
size_is(
)
array attribute refers to non-existent param:
]
in
out
[retval] out
in
PRUint32
*
a
Size,
*
*
a
either 'array' or 'safearray="yes"' attribute is allowed, but not both!
booleanPtr
octetPtr
shortPtr
ushortPtr
longPtr
llongPtr
ulongPtr
ullongPtr
charPtr
wcharPtr
attribute 'mod=
' cannot be used with type
of attribute 'mod' is invalid!
nsresult
boolean
octet
short
unsigned short
long
long long
unsigned long
unsigned long long
char
wchar
string
wstring
nsIDPtr
: Non-readonly uuid attributes are not supported!
nsIDRef
nsIDPtr
nsISupports
PRUint32
Unknown parameter type:
PRBool *
PRUint8 *
PRInt16 *
PRUint16 *
PRInt32 *
PRInt64 *
PRUint32 *
PRUint64 *
char *
PRUnichar *
nsresult
PRBool
PRUint8
PRInt16
PRUint16
PRInt32
PRInt64
PRUint32
PRUint64
char
PRUnichar
char *
PRUnichar *
nsID *
const nsID &
nsID *
nsISupports *
PRUint32
*