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.

25 lines
1007 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: used by all .exe's that run under steam and out,
  4. // so they can be launched indirectly by steam and launch steam themselves
  5. //
  6. //=============================================================================//
  7. #ifndef STEAMAPPSTARTUP_H
  8. #define STEAMAPPSTARTUP_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. //-----------------------------------------------------------------------------
  13. // Purpose: Call this first thing at startup
  14. // Works out if the app is a steam app that is being ran outside of steam,
  15. // and if so, launches steam and tells it to run us as a steam app
  16. //
  17. // if it returns true, then exit
  18. // if it ruturns false, then continue with normal startup
  19. //-----------------------------------------------------------------------------
  20. bool ShouldLaunchAppViaSteam(const char *cmdLine, const char *steamFilesystemDllName, const char *stdioFilesystemDllName);
  21. #endif // STEAMAPPSTARTUP_H