aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/platform/win/ComAutoInit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/common/platform/win/ComAutoInit.h')
-rw-r--r--include/cru/common/platform/win/ComAutoInit.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/cru/common/platform/win/ComAutoInit.h b/include/cru/common/platform/win/ComAutoInit.h
new file mode 100644
index 00000000..cc968e4b
--- /dev/null
+++ b/include/cru/common/platform/win/ComAutoInit.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include "../../PreConfig.h"
+#ifdef CRU_PLATFORM_WINDOWS
+
+#include "WinPreConfig.h"
+#include "cru/common/Base.h"
+
+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