aboutsummaryrefslogtreecommitdiff
path: root/include/cru/win/graph/direct/com_resource.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/win/graph/direct/com_resource.hpp')
-rw-r--r--include/cru/win/graph/direct/com_resource.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/cru/win/graph/direct/com_resource.hpp b/include/cru/win/graph/direct/com_resource.hpp
new file mode 100644
index 00000000..aa2c366b
--- /dev/null
+++ b/include/cru/win/graph/direct/com_resource.hpp
@@ -0,0 +1,11 @@
+#pragma once
+#include "../../win_pre_config.hpp"
+
+namespace cru::platform::graph::win::direct {
+template<typename TInterface>
+struct IComResource {
+ virtual ~IComResource() = default;
+
+ virtual TInterface* GetComInterface() = 0;
+};
+} // namespace cru::platform::graph::win_direct