M
Michael
Hi
I don't understand this line:
-----
explicit InterfaceQuery(FMSInterfaces iid) : interfaceId(iid),
itsInterface(0) {}
-----
as below. What exactly is that doing?
Many thanks
Michael
---------
enum FMSInterfaces {
FMSSystemInterface,
FMSDatabaseInterface,
FMSPadInterface,
FMSIRSInterface,
FMSPrefInterface
};
struct InterfaceQuery
{
explicit InterfaceQuery(FMSInterfaces iid) : interfaceId(iid),
itsInterface(0) {}
FMSInterfaces interfaceId;
void* itsInterface;
};
I don't understand this line:
-----
explicit InterfaceQuery(FMSInterfaces iid) : interfaceId(iid),
itsInterface(0) {}
-----
as below. What exactly is that doing?
Many thanks
Michael
---------
enum FMSInterfaces {
FMSSystemInterface,
FMSDatabaseInterface,
FMSPadInterface,
FMSIRSInterface,
FMSPrefInterface
};
struct InterfaceQuery
{
explicit InterfaceQuery(FMSInterfaces iid) : interfaceId(iid),
itsInterface(0) {}
FMSInterfaces interfaceId;
void* itsInterface;
};