/* * DO NOT EDIT! This is a generated file. * * Qt-based wrapper classes for VirtualBox Main API (COM interfaces) * generated from XIDL (XML interface definition). * * Source : src/VBox/Main/idl/VirtualBox.xidl * Generator : src/VBox/Frontends/VirtualBox/include/COMWrappers.xsl * * Note: this header must be included from COMDefs.h, never directly. */ // all enums enum { = :: , }; Q_DECLARE_METATYPE( ) #if !defined (Q_WS_WIN32) #if defined (Q_WS_WIN32) #endif #if #endif // forward declarations class C ; // array typedefs typedef QVector <C > C Vector; // wrapper declarations // wrapper definitions // wrapper class C : public CInterface < > { public: typedef CInterface < > Base; // collection stuff ULONG GetCount () const; GetItemAt (ULONG index) const; Enumerate () const; // enumerator stuff BOOL HasMore () const; GetNext () const; // friend wrappers friend class CUnknown; friend class C ; friend class C ; }; // constructors and assignments taking CUnknown and raw iface pointer C () {} template <class OI, class OB> explicit C (const CInterface <OI, OB> & that) { attach (that.raw()); if (SUCCEEDED (mRC)) { mRC = that.lastRC(); setErrorInfo (that.errorInfo()); } } C (const C & that) : Base (that) {} template <class OI> explicit C (OI * aIface) { attach (aIface); } explicit C ( * aIface) : Base (aIface) {} template <class OI, class OB> C & operator = (const CInterface <OI, OB> & that) { attach (that.raw()); if (SUCCEEDED (mRC)) { mRC = that.lastRC(); setErrorInfo (that.errorInfo()); } return *this; } C & operator = (const C & that) { Base::operator= (that); return *this; } template <class OI> C & operator = (OI * aIface) { attach (aIface); return *this; } C & operator = ( * aIface) { Base::operator= (aIface); return *this; } // attributes (properties) // methods // friend wrappers friend class CUnknown; friend class C ; friend class C ; 'array' attributes are not supported, use 'safearray="yes"' instead. // wrapper inline ULONG C ::GetCount () const { ULONG count = 0; Assert (mIface); if (!mIface) return count; mRC = mIface->COMGETTER(Count) (&count); return count; } inline C ::GetItemAt (ULONG index) const { item; Assert (mIface); if (!mIface) return item; mRC = mIface->GetItemAt (index, &item.mIface); return item; } inline C ::Enumerate () const { enumerator; Assert (mIface); if (!mIface) return enumerator; mRC = mIface->Enumerate (&enumerator.mIface); return enumerator; } inline BOOL C ::HasMore () const { BOOL more = FALSE; Assert (mIface); if (!mIface) return more; mRC = mIface->HasMore (&more); return more; } inline C ::GetNext () const { next; Assert (mIface); if (!mIface) return next; mRC = mIface->GetNext (&next.mIface); return next; } inline void C :: { Assert (mIface); if (!mIface) return; } ; inline C :: { a ; Assert (mIface); if (!mIface) return a ; return a ; } ; More than one return value in method: :: Set ( a ) Get ( ) const ( a , ) const mRC = mIface-> COMSETTER( COMGETTER( ) ( ( , ); , COMBaseWithEI if (mRC != S_OK) { fetchErrorInfo (mIface, &COM_IIDOF (Base::Iface)); AssertMsg (errInfo.isFullAvailable(), ("for RC=0x%08X\n", mRC)); } ComSafeArrayAsInParam ( ) ComSafeArrayAsOutParam ( ) BSTRIn (a ) BSTROut (a ) GUIDIn (a ) GUIDOut (a ) ( _T) a ENUMOut <K , _T> (a ) a .raw() .mIface &a .rawRef() .mIface Parameter type is not currently supported a &a either 'array' or 'safearray="yes"' attribute is allowed, but not both! return 'array' parameters and 'array' attributes are not supported, use 'safearray="yes"' instead. either 'safearray' or 'mod' attribute is allowed, but not both! either 'array' or 'mod' attribute is allowed, but not both! BOOL * BYTE * SHORT * USHORT * LONG * LONG64 * ULONG * ULONG64 * CHAR * OLECHAR * attribute 'mod= ' cannot be used with type of attribute 'mod' is invalid! QVector < HRESULT BOOL BYTE SHORT USHORT LONG LONG64 ULONG ULONG64 CHAR CHAR * OLECHAR QString QUuid CUnknown Unknown parameter type: > = NULL = NULL = NULL = NULL = NULL = NULL = NULL = NULL = NULL = NULL attribute 'mod= ' cannot be used with type of attribute 'mod' is invalid! = S_OK = FALSE = 0 = 0 = 0 = 0 = 0 = 0 = 0 = 0 = NULL = 0 const & const & & * & & BOOL * BYTE * SHORT * USHORT * LONG * LONG64 * ULONG * ULONG64 * CHAR * OLECHAR * attribute 'mod= ' cannot be used with type of attribute 'mod' is invalid! HRESULT BOOL BYTE SHORT USHORT LONG LONG64 ULONG ULONG64 CHAR CHAR * OLECHAR BSTR GUID IUnknown * * Unknown parameter type: com::SafeIfaceArray <IUnknown> com::SafeIfaceArray < > com::SafeArray < _T> com::SafeGUIDArray com::SafeArray < > ; ToSafeIfaceArray ( ToSafeArray ( a , ); FromSafeIfaceArray ( FromSafeArray ( , a ); Invalid when value: