Another question about ATL COM

I saw some COM object implementation where the implemented interfaces doesn't appear as part of the class declaration such as: -
COMObject: public ISomeInterface;

but ISomeInterface appear in the COM map.

My question is can i implement IMyFace in my COMObject without doing COMObject:public IMyFace in the following declaration? I only enter IMyFace into the COM Map. is this ok??

class ATL_NO_VTABLE COMObject:
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<COMObject, &CLSID_COMObject>,
public IErrorInfoImpl <IFileInfo>,
public IResInfoImpl
{
BEGIN_COM_MAP(COMObject)
...
COM_INTERFACE_ENTRY(IMyFace)
END_COM_MAP()

};
[748 byte] By [mce] at [2007-11-19 6:27:46]