Changeset View
Changeset View
Standalone View
Standalone View
source/ps/scripting/JSInterface_Debug.h
Show All 18 Lines | |||||
#define INCLUDED_JSI_DEBUG | #define INCLUDED_JSI_DEBUG | ||||
#include "scriptinterface/ScriptInterface.h" | #include "scriptinterface/ScriptInterface.h" | ||||
#include <string> | #include <string> | ||||
namespace JSI_Debug | namespace JSI_Debug | ||||
{ | { | ||||
int Crash(ScriptInterface::CxPrivate* UNUSED(pCxPrivate)); | int Crash(); | ||||
void DebugWarn(ScriptInterface::CxPrivate* UNUSED(pCxPrivate)); | void DebugWarn(); | ||||
void DisplayErrorDialog(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), const std::wstring& msg); | void DisplayErrorDialog(const std::wstring& msg); | ||||
std::wstring GetBuildDate(ScriptInterface::CxPrivate* UNUSED(pCxPrivate)); | std::wstring GetBuildDate(); | ||||
double GetBuildTimestamp(ScriptInterface::CxPrivate* UNUSED(pCxPrivate)); | double GetBuildTimestamp(); | ||||
std::wstring GetBuildRevision(ScriptInterface::CxPrivate* UNUSED(pCxPrivate)); | std::wstring GetBuildRevision(); | ||||
double GetMicroseconds(ScriptInterface::CxPrivate* UNUSED(pCxPrivate)); | double GetMicroseconds(); | ||||
void RegisterScriptFunctions(const ScriptInterface& ScriptInterface); | void RegisterScriptFunctions(const ScriptInterface& ScriptInterface); | ||||
} | } | ||||
#endif // INCLUDED_JSI_DEBUG | #endif // INCLUDED_JSI_DEBUG |
Wildfire Games · Phabricator