Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
672 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //===========================================================================//
  7. #ifndef MATERIALPROXYFACTORY_H
  8. #define MATERIALPROXYFACTORY_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "materialsystem/imaterialproxyfactory.h"
  13. #include "tier1/interface.h"
  14. class CMaterialProxyFactory : public IMaterialProxyFactory
  15. {
  16. public:
  17. IMaterialProxy *CreateProxy( const char *proxyName );
  18. void DeleteProxy( IMaterialProxy *pProxy );
  19. private:
  20. IMaterialProxy *LookupProxy( const char *proxyName, CreateInterfaceFn factory );
  21. };
  22. #endif // MATERIALPROXYFACTORY_H