aboutsummaryrefslogtreecommitdiff
path: root/include/cru/win/graphics/direct/ComResource.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/win/graphics/direct/ComResource.h')
-rw-r--r--include/cru/win/graphics/direct/ComResource.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/cru/win/graphics/direct/ComResource.h b/include/cru/win/graphics/direct/ComResource.h
new file mode 100644
index 00000000..36023b84
--- /dev/null
+++ b/include/cru/win/graphics/direct/ComResource.h
@@ -0,0 +1,11 @@
+#pragma once
+#include "Base.h"
+
+#include "cru/common/Base.h"
+
+namespace cru::platform::graphics::win::direct {
+template <typename TInterface>
+struct CRU_WIN_GRAPHICS_DIRECT_API IComResource : virtual Interface {
+ virtual TInterface* GetComInterface() const = 0;
+};
+} // namespace cru::platform::graphics::win::direct