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.

50 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Wraps pointers to basic vgui interfaces
  4. //
  5. // $NoKeywords: $
  6. //===========================================================================//
  7. #ifndef VGUI_INTERNAL_H
  8. #define VGUI_INTERNAL_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include <vgui/VGUI.h>
  13. #include "interface.h"
  14. #include "tier3/tier3.h"
  15. #include "xbox/xboxstubs.h"
  16. namespace vgui
  17. {
  18. bool VGui_InternalLoadInterfaces( CreateInterfaceFn *factoryList, int numFactories );
  19. // <vgui/IInputInternal.h> header
  20. extern class IInputInternal *g_pInput;
  21. // <vgui/IScheme.h> header
  22. extern class ISchemeManager *g_pScheme;
  23. // <vgui/ISurface.h> header
  24. extern class ISurface *g_pSurface;
  25. // <vgui/ISystem.h> header
  26. extern class ISystem *g_pSystem;
  27. // <vgui/IVGui.h> header
  28. extern class IVGui *g_pIVgui;
  29. // <vgui/IPanel.h> header
  30. extern class IPanel *g_pIPanel;
  31. // methods
  32. void vgui_strcpy(char *dst, int dstLen, const char *src);
  33. } // namespace vgui
  34. #endif // VGUI_INTERNAL_H