iw4x-client/src/Steam/Proxy.hpp

31 lines
776 B
C++
Raw Normal View History

2016-07-12 12:33:25 -04:00
#ifdef _WIN64
#define GAMEOVERLAY_LIB "gameoverlayrenderer64.dll"
#define STEAMCLIENT_LIB "steamclient64.dll"
#define STEAM_REGISTRY_PATH "Software\\Wow6432Node\\Valve\\Steam"
#else
#define GAMEOVERLAY_LIB "gameoverlayrenderer.dll"
#define STEAMCLIENT_LIB "steamclient.dll"
#define STEAM_REGISTRY_PATH "Software\\Valve\\Steam"
#endif
namespace Steam
{
class Proxy
{
public:
static bool Inititalize();
static void Uninititalize();
//Overlay related proxies
static void SetOverlayNotificationPosition(uint32_t eNotificationPosition);
static bool IsOverlayEnabled();
static bool BOverlayNeedsPresent();
private:
2016-09-16 18:14:59 -04:00
static ::Utils::Library Client;
static ::Utils::Library Overlay;
2016-07-12 12:33:25 -04:00
static std::string GetSteamDirectory();
};
}