Counter Strike : Global Offensive Source Code
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.

51 lines
1.3 KiB

  1. //=========== (C) Copyright 1999 Valve, L.L.C. All rights reserved. ===========
  2. //
  3. // The copyright to the contents herein is the property of Valve, L.L.C.
  4. // The contents may be used and/or copied only with the written permission of
  5. // Valve, L.L.C., or in accordance with the terms and conditions stipulated in
  6. // the agreement/contract under which the contents have been supplied.
  7. //
  8. // $Header: $
  9. // $NoKeywords: $
  10. //
  11. // Material editor
  12. //=============================================================================
  13. #ifndef VGUIMATERIALSYSTEM2APP_H
  14. #define VGUIMATERIALSYSTEM2APP_H
  15. #ifdef _WIN32
  16. #pragma once
  17. #endif
  18. #include "appframework/materialsystem2app.h"
  19. FORWARD_DECLARE_HANDLE( InputContextHandle_t );
  20. //-----------------------------------------------------------------------------
  21. // The application object
  22. //-----------------------------------------------------------------------------
  23. class CVGuiMaterialSystem2App : public CMaterialSystem2App
  24. {
  25. typedef CMaterialSystem2App BaseClass;
  26. public:
  27. CVGuiMaterialSystem2App();
  28. // Methods of IApplication
  29. virtual bool Create();
  30. virtual bool PreInit();
  31. virtual bool PostInit();
  32. virtual void PreShutdown();
  33. virtual void PostShutdown();
  34. virtual void Destroy();
  35. InputContextHandle_t GetAppInputContext();
  36. private:
  37. InputContextHandle_t m_hAppInputContext;
  38. };
  39. #endif // VGUIMATERIALSYSTEM2APP_H