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.

32 lines
914 B

  1. //====== Copyright � 1996-2008, Valve Corporation, All rights reserved. =======
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifdef _PS3
  7. #include "steam_platform_ps3/steam_contentserver.h"
  8. #else
  9. #ifndef STEAM_CONTENTSERVER_H
  10. #define STEAM_CONTENTSERVER_H
  11. #ifdef _WIN32
  12. #pragma once
  13. #endif
  14. #include "steam_api.h"
  15. #include "isteamcontentserver.h"
  16. S_API bool SteamContentServer_Init( uint32 uContentServerID, uint32 unIP, uint16 usPort, uint16 usClientContentPort );
  17. S_API void SteamContentServer_Shutdown();
  18. S_API void SteamContentServer_RunCallbacks();
  19. S_API ISteamContentServer *SteamContentServer();
  20. S_API ISteamUtils *SteamContentServerUtils();
  21. #define STEAM_CONTENTSERVER_CALLBACK( thisclass, func, param, var ) CCallback< thisclass, param, true > var; void func( param *pParam )
  22. #endif // STEAM_GAMESERVER_H
  23. #endif