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