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.

45 lines
1.1 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #if !defined( ISYS_H )
  8. #define ISYS_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "interface.h"
  13. class CDedicatedAppSystemGroup;
  14. abstract_class ISys
  15. {
  16. public:
  17. virtual ~ISys( void ) { }
  18. virtual bool LoadModules( CDedicatedAppSystemGroup *pAppSystemGroup ) = 0;
  19. virtual void Sleep( int msec ) = 0;
  20. virtual bool GetExecutableName( char *out ) = 0;
  21. virtual void ErrorMessage( int level, const char *msg ) = 0;
  22. virtual void WriteStatusText( char *szText ) = 0;
  23. virtual void UpdateStatus( int force ) = 0;
  24. virtual long LoadLibrary( char *lib ) = 0;
  25. virtual void FreeLibrary( long library ) = 0;
  26. virtual bool CreateConsoleWindow( void ) = 0;
  27. virtual void DestroyConsoleWindow( void ) = 0;
  28. virtual void ConsoleOutput ( char *string ) = 0;
  29. virtual char *ConsoleInput (void) = 0;
  30. virtual void Printf( PRINTF_FORMAT_STRING const char *fmt, ...) FMTFUNCTION( 2, 3 ) = 0;
  31. };
  32. extern ISys *sys;
  33. #endif // ISYS_H