//---------------------------------------------------------------------------- // Laser Guard Ltd. // Copyright © 2000-2002. All Rights Reserved. // Version 1.0 01/01/2000 // Last modification: 25/07/2001 // PROJECT: // SUBSYSTEM: // FILE: DSConfiguration.h // AUTHOR: Sergey Chizhevskiy // OVERVIEW // ~~~~~~~~ // Header file of DSConfiguration.h //---------------------------------------------------------------------------- #ifndef __DIRECT__SHOW__H__INCLUDED__ #define __DIRECT__SHOW__H__INCLUDED__ #if _MSC_VER > 1000 #pragma once #endif #include #include "DSVideoProcessor.h" class CDSConfiguration { friend class CVideoProcessor; public: CDSConfiguration(); virtual ~CDSConfiguration(); public: virtual BOOL Create( PWCHAR pFileName ); void Destroy(); public: BOOL Stop(); BOOL Run(); IAMCrossbar* GetCrossbar(); protected: INT FindCrossbar(); protected: BOOL Initialize(); // IGraphBuilder *m_pGraphBuilder; IMediaControl *m_pMediaControl; IAMCrossbar **m_ppAMCrossbar; long m_nAMCrossbar; long m_nPosAMCrossbar; protected: IGraphBuilder *m_pGraphBuilder; ICaptureGraphBuilder2 *m_pCaptureGraphBuilder; }; #endif