/* * DO NOT EDIT! This is a generated file. * * XPCOM IDL (XPIDL) definition for VirualBox 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 booeanPtr (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 of #ifdef and stuff. #if #endif interface ; [ uuid(), scriptable ] interface : nsISupports nsISupports nsIException { }; /* interface */ '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 ; [noscript] void ( , ); (); %{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 either 'array' or 'safearray="yes"' attribute is allowed, but not both! booeanPtr 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: