1
0
mirror of https://github.com/borgesdan/xn65 synced 2024-12-29 21:54:47 +01:00

Renomeia ImplementationBase

This commit is contained in:
Danilo 2024-11-13 14:25:27 -03:00
parent 8a9415b88e
commit 9fac00699d
3 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ namespace xna {
struct GraphicsAdapterImplementation; struct GraphicsAdapterImplementation;
//Provides methods to retrieve and manipulate graphics adapters. //Provides methods to retrieve and manipulate graphics adapters.
class GraphicsAdapter : public ImplementationBase<GraphicsAdapterImplementation> { class GraphicsAdapter : public PlatformImplementation<GraphicsAdapterImplementation> {
public: public:
//Collection of available adapters on the system. //Collection of available adapters on the system.
static void Adapters(std::vector<std::unique_ptr<GraphicsAdapter>>& adapters); static void Adapters(std::vector<std::unique_ptr<GraphicsAdapter>>& adapters);

View File

@ -104,7 +104,7 @@ namespace xna {
struct BlendStateImplementation; struct BlendStateImplementation;
//Contains blend state for the device. //Contains blend state for the device.
class BlendState : public GraphicsResource, public ImplementationBase<BlendStateImplementation> { class BlendState : public GraphicsResource, public PlatformImplementation<BlendStateImplementation> {
public: public:
BlendState(); BlendState();
BlendState(std::shared_ptr<GraphicsDevice> const& device); BlendState(std::shared_ptr<GraphicsDevice> const& device);

View File

@ -4,8 +4,8 @@
#include <memory> #include <memory>
namespace xna { namespace xna {
template <typename T> struct ImplementationBase { template <typename T> struct PlatformImplementation {
virtual ~ImplementationBase() {} virtual ~PlatformImplementation() {}
std::unique_ptr<T> Implementation; std::unique_ptr<T> Implementation;
}; };