mirror of
https://github.com/dege-diosg/dgVoodoo2
synced 2024-07-08 20:51:02 +02:00
35 lines
832 B
C++
35 lines
832 B
C++
// *****************************************************************************
|
|
// File: ID3DDeviceObserver.hpp
|
|
//
|
|
// Description: Callback interface for observing D3DDevice objects
|
|
//
|
|
// Contact person: DG
|
|
//
|
|
// *****************************************************************************
|
|
|
|
#ifndef ID3DDEVICEOBSERVER_HPP
|
|
#define ID3DDEVICEOBSERVER_HPP
|
|
|
|
// --- Includes ----------------------------------------------------------------
|
|
|
|
#include "ID3DDevice.hpp"
|
|
|
|
namespace dgVoodoo {
|
|
|
|
// --- ID3DDeviceObserver ------------------------------------------------------
|
|
|
|
class ID3DDeviceObserver
|
|
{
|
|
public:
|
|
|
|
// --- Factoring
|
|
|
|
virtual bool D3DDeviceObjectCreated (ID3DDevice* pD3DDevice) = 0;
|
|
virtual void D3DDeviceObjectReleased (const ID3DDevice* pD3DDevice) = 0;
|
|
|
|
};
|
|
|
|
|
|
} // namespace dgVoodoo
|
|
|
|
#endif // !ID3DDEVICEOBSERVER_HPP
|