#pragma once #include "D2DDevice.g.h" namespace winrt::RNSVG::implementation { struct D2DDevice : D2DDeviceT { public: D2DDevice() = default; D2DDevice(com_ptr const &device) { m_d2d = device; } com_ptr Get() { return m_d2d; } private: com_ptr m_d2d; }; } // namespace winrt::RNSVG::implementation namespace winrt::RNSVG::factory_implementation { struct D2DDevice : D2DDeviceT {}; } // namespace winrt::RNSVG::factory_implementation