//====== Copyright 1996-2004, Valve Corporation, All rights reserved. ======= // // Purpose: interface to utility functions in Steam // //============================================================================= #ifndef ISTEAMUTILS_H #define ISTEAMUTILS_H #ifdef _WIN32 #pragma once #endif //----------------------------------------------------------------------------- // Purpose: interface to user independent utility functions //----------------------------------------------------------------------------- class ISteamUtils { public: // return the number of seconds since the user virtual uint32 GetSecondsSinceAppActive() = 0; virtual uint32 GetSecondsSinceComputerActive() = 0; // the universe this client is connecting to virtual EUniverse GetConnectedUniverse() = 0; // server time - in PST, number of seconds since January 1, 1970 (i.e unix time) virtual uint32 GetServerRealTime() = 0; }; #define STEAMUTILS_INTERFACE_VERSION "SteamUtils001" #endif // ISTEAMUTILS_H
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 5821 | Knut Wikstrom |
Added Valve Source code. This is NOT to be commited to other than new code from Valve. |