#pragma once #define W32_LEAN_AND_MEAN #include #include "ICapture.h" #include "Capture\NvFBC.h" static class CaptureFactory { public: static ICapture * GetCaptureDevice() { return new Capture::NvFBC(); } };