/*
* DO NOT EDIT.
*
* This header is automatically generated from the generic interface definition
* and contains Qt-based wrapper classes for [XP]COM interfaces.
*
* Note: this header must be included from COMDefs.h, never directly.
*/
// all enums
class CEnums
{
public:
enum
{
= ::
_
,
_COUNT
};
};
#if !defined (Q_WS_WIN32)
#if defined (Q_WS_WIN32)
#endif
#if
#endif
// forward declarations
class C
;
// 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
() : Base () {}
C
(const CUnknown & that) : Base (that) {}
C
(
*i) : Base (i) {}
C
& operator = (const CUnknown & that) {
return (C
&) Base::operator = (that);
}
// attributes (properties)
// methods
// friend wrappers
friend class CUnknown;
friend class C
;
friend class C
;
//
wrapper
inline ULONG C
::GetCount () const {
ULONG count = 0;
Assert (iface);
if (!iface)
return count;
rc = iface->COMGETTER(Count) (&count);
return count;
}
inline
C
::GetItemAt (ULONG index) const {
item;
Assert (iface);
if (!iface)
return item;
rc = iface->GetItemAt (index, &item.iface);
return item;
}
inline
C
::Enumerate () const {
enumerator;
Assert (iface);
if (!iface)
return enumerator;
rc = iface->Enumerate (&enumerator.iface);
return enumerator;
}
inline BOOL C
::HasMore () const {
BOOL more = FALSE;
Assert (iface);
if (!iface)
return more;
rc = iface->HasMore (&more);
return more;
}
inline
C
::GetNext () const {
next;
Assert (iface);
if (!iface)
return next;
rc = iface->GetNext (&next.iface);
return next;
}
inline
void
C
::
{
Assert (iface);
if (!iface)
return;
}
;
inline
C
::
{
a_
;
Assert (iface);
if (!iface)
return a_
;
return a_
;
}
;
More than one return value in method:
::
Set
(
a_
)
Get
(
) const
(
a_
,
)
const
rc = iface->
COMSETTER(
COMGETTER(
) (
(
,
);
, COMBaseWithEI
if (FAILED (rc)) {
fetchErrorInfo (iface, &COM_IIDOF (Base::Iface));
AssertMsg (errInfo.isFullAvailable(),
("for RC=0x%08X\n", rc));
}
BSTRIn (a_
)
BSTROut (a_
)
GUIDIn (a_
)
GUIDOut (a_
)
(
_T) a_
ENUMOut <CEnums::
,
_T> (a_
)
a_
.ifaceRef()
.iface
&a_
.ifaceRef()
.iface
Parameter type
is not currently supported
a_
&a_
return array parameters are not currently supported
HRESULT
BOOL
BYTE
SHORT
USHORT
LONG
LONG64
ULONG
ULONG64
CHAR
CHAR *
OLECHAR
QString
QUuid
CUnknown
Unknown parameter type:
= S_OK
= FALSE
= 0
= 0
= 0
= 0
= 0
= 0
= 0
= 0
= NULL
= 0
const
&
arrays of non-scalar types are not currently supported
const
&
&
*
&
&