00001 #ifndef __D3DDRIVERLIST_H__ 00002 #define __D3DDRIVERLIST_H__ 00003 00004 #include "OgreD3D8Prerequisites.h" 00005 00006 #include "OgreD3D8Driver.h" 00007 00008 #include "OgreNoMemoryMacros.h" 00009 #include <d3d8.h> 00010 #include "OgreMemoryMacros.h" 00011 00012 namespace Ogre { 00013 00014 class D3D8DriverList 00015 { 00016 private: 00017 std::vector<D3D8Driver> mDriverList; 00018 LPDIRECT3D8 mpD3D; 00019 00020 public: 00021 D3D8DriverList( LPDIRECT3D8 pD3D ); 00022 ~D3D8DriverList(); 00023 00024 BOOL enumerate(); 00025 unsigned int count() const; 00026 D3D8Driver* item( int index ); 00027 }; 00028 00029 } 00030 00031 #endif
Copyright © 2002 by The OGRE Team