diff options
author | crupest <crupest@outlook.com> | 2022-02-03 17:55:00 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-03 17:55:00 +0800 |
commit | 5aca7b099c46a87a859f40110efce708200a4bc8 (patch) | |
tree | 76a0daef247ab2b2269eebdbbda10134f213d1ca /include/cru/common/platform/win/ComAutoInit.hpp | |
parent | d15172cfe1ac8558567c1b1c10c2e671b0d1f033 (diff) | |
download | cru-5aca7b099c46a87a859f40110efce708200a4bc8.tar.gz cru-5aca7b099c46a87a859f40110efce708200a4bc8.tar.bz2 cru-5aca7b099c46a87a859f40110efce708200a4bc8.zip |
...
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 |