2023-04-09 23:59:55 -06:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "ColorText.h"
|
|
|
|
#include "Export.h"
|
|
|
|
|
|
|
|
namespace DFHack
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The DFSteam module - provides access to Steam functions without actually
|
|
|
|
* requiring build-time linkage to Steam
|
|
|
|
* \ingroup grp_modules
|
|
|
|
* \ingroup grp_dfsdl
|
|
|
|
*/
|
|
|
|
namespace DFSteam
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Call this on DFHack init so we can load the function pointers. Returns false on
|
|
|
|
* failure.
|
|
|
|
*/
|
|
|
|
bool init(DFHack::color_ostream& out);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Call this when DFHack is being unloaded.
|
|
|
|
*/
|
2023-05-19 17:51:39 -06:00
|
|
|
void cleanup(DFHack::color_ostream& out);
|
2023-04-09 23:59:55 -06:00
|
|
|
|
2023-05-19 17:51:39 -06:00
|
|
|
DFHACK_EXPORT void launchSteamDFHackIfNecessary(DFHack::color_ostream& out);
|
2023-04-09 23:59:55 -06:00
|
|
|
|
|
|
|
}
|
|
|
|
}
|