diff options
Diffstat (limited to 'include/cru/common/platform/win/ComAutoInit.hpp')
-rw-r--r-- | include/cru/common/platform/win/ComAutoInit.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/cru/common/platform/win/ComAutoInit.hpp b/include/cru/common/platform/win/ComAutoInit.hpp new file mode 100644 index 00000000..131f3f30 --- /dev/null +++ b/include/cru/common/platform/win/ComAutoInit.hpp @@ -0,0 +1,21 @@ +#pragma once + +#include "../../PreConfig.hpp" +#ifdef CRU_PLATFORM_WINDOWS + +#include "WinPreConfig.hpp" +#include "cru/common/Base.hpp" + +namespace cru::platform::win { +class CRU_BASE_API ComAutoInit { + public: + ComAutoInit(); + + CRU_DELETE_COPY(ComAutoInit) + CRU_DELETE_MOVE(ComAutoInit) + + ~ComAutoInit(); +}; +} // namespace cru::platform::win + +#endif |