/* * 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; }; // 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 ; // wrapper 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 ) ( _T) a ENUMOut <K , _T> (a ) a .raw() .mIface &a .rawRef() .mIface Parameter type is not currently supported a &a either 'safearray' or 'mod' attribute is allowed, but not both! BOOL * BYTE * SHORT * USHORT * LONG * LONG64 * ULONG * ULONG64 * attribute 'mod= ' cannot be used with type QVector < QString 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 attribute 'mod= ' cannot be used with type 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 * attribute 'mod= ' cannot be used with type BSTR 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: