Don't define destructors for COM-based interfaces.

This commit is contained in:
Artur Wieczorek 2015-01-14 14:06:42 +01:00
parent b2a5e66fc5
commit 01717c83d7

View File

@ -134,8 +134,6 @@ public:
virtual HRESULT STDMETHODCALLTYPE Clone(
/* [out] */ IEnumPIDMap **ppIEnumPIDMap) = 0;
virtual ~IEnumPIDMap() {}
};
interface IMPEG2PIDMap : public IUnknown
@ -151,8 +149,6 @@ interface IMPEG2PIDMap : public IUnknown
virtual HRESULT STDMETHODCALLTYPE EnumPIDMap(
/* [out] */ IEnumPIDMap **pIEnumPIDMap) = 0;
virtual ~IMPEG2PIDMap() {}
};
#endif
@ -238,8 +234,6 @@ interface ISampleGrabberCB : public IUnknown
double SampleTime,
BYTE *pBuffer,
LONG BufferLen) = 0;
virtual ~ISampleGrabberCB() {}
};
interface ISampleGrabber : public IUnknown
@ -266,8 +260,6 @@ interface ISampleGrabber : public IUnknown
virtual HRESULT STDMETHODCALLTYPE SetCallback(
ISampleGrabberCB *pCallback,
LONG WhichMethodToCallback) = 0;
virtual ~ISampleGrabber() {}
};
#ifndef HEADER