30 lines
616 B
C++
30 lines
616 B
C++
#ifndef _DVCAP_NUKER_HPP_
|
|
#define _DVCAP_NUKER_HPP_
|
|
#ifndef _COMMON_DXSDK_HPP_
|
|
#include <common/dxsdk.hpp>
|
|
#endif
|
|
#ifndef _COM_COM_HPP_
|
|
#include <com/com.hpp>
|
|
#endif
|
|
#ifndef _COM_COMPOINTER_HPP_
|
|
#include <com/comptr.hpp>
|
|
#endif
|
|
|
|
class Nuker
|
|
{
|
|
public:
|
|
Nuker(ComPointer<IGraphBuilder> &graphBuilder);
|
|
virtual ~Nuker();
|
|
bool nukeFilter(ComPointer<IBaseFilter> &baseFilter,bool nukeDownstream,bool isDeviceFilter);
|
|
private:
|
|
void message(const String &message);
|
|
ComPointer<IGraphBuilder> mGraphBuilder;
|
|
};
|
|
|
|
inline
|
|
void Nuker::message(const String &message)
|
|
{
|
|
::OutputDebugString(message+String("\n"));
|
|
}
|
|
#endif
|