aboutsummaryrefslogtreecommitdiff
path: root/include/cru/win/graph/direct/com_resource.hpp
blob: aa2c366b03288c58271f4ec7d35dd3e654d90b24 (plain)
1
2
3
4
5
6
7
8
9
10
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