Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCoding/Private/External/LC_API.h
Tim Smith 5fb833c5c1 Added support for more arbitrary property changes to live coding.
1) Changed the pre/post compile notifications from module notifications to process commands.
2) Added server command to notify that we want re-instance patching (two phase)
3) Added support for two phase patching to enable re-instancing without all the limitations.
4) Added a null CDO check for old blueprint classes (approved by Phillip)

#rb ben.marsh
#rnx
#preflight 6086e3481046fb000183c2d4

[CL 16115620 by Tim Smith in ue5-main branch]
2021-04-26 12:49:25 -04:00

49 lines
2.3 KiB
C

// Copyright 2011-2020 Molecular Matters GmbH, all rights reserved.
#pragma once
#include "LPP_API.h"
// external Live++ API exported into DLL
// BEGIN EPIC MOD - Internalizing API
#define LPP_DLL_API(_rv) _rv __cdecl
//#define LPP_DLL_API(_rv) extern "C" __declspec(dllexport) _rv __cdecl
// END EPIC MOD - Internalizing API
LPP_DLL_API(void) LppStartup(void);
LPP_DLL_API(void) LppShutdown(void);
LPP_DLL_API(const char*) LppGetVersion(void);
LPP_DLL_API(int) LppCheckVersion(const char* apiVersion);
LPP_DLL_API(void) LppRegisterProcessGroup(const char* groupName);
LPP_DLL_API(void) LppSyncPoint(void);
LPP_DLL_API(void) LppWaitForToken(void* token);
// BEGIN EPIC MOD - Adding LppTryWaitForToken
LPP_DLL_API(bool) LppTryWaitForToken(void* token);
// END EPIC MOD
LPP_DLL_API(void) LppTriggerRecompile(void);
LPP_DLL_API(void) LppLogMessage(const wchar_t* message);
LPP_DLL_API(void) LppBuildPatch(const wchar_t* moduleNames[], const wchar_t* objPaths[], const wchar_t* amalgamatedObjPaths[], unsigned int count);
LPP_DLL_API(void) LppInstallExceptionHandler(void);
LPP_DLL_API(void) LppUseExternalBuildSystem(void);
LPP_DLL_API(void) LppTriggerRestart(void);
LPP_DLL_API(int) LppWantsRestart(void);
LPP_DLL_API(void) LppRestart(lpp::RestartBehaviour behaviour, unsigned int exitCode);
LPP_DLL_API(void*) LppEnableModule(const wchar_t* nameOfExeOrDll);
LPP_DLL_API(void*) LppEnableModules(const wchar_t* namesOfExeOrDll[], unsigned int count);
LPP_DLL_API(void*) LppEnableAllModules(const wchar_t* nameOfExeOrDll);
LPP_DLL_API(void*) LppDisableModule(const wchar_t* nameOfExeOrDll);
LPP_DLL_API(void*) LppDisableModules(const wchar_t* namesOfExeOrDll[], unsigned int count);
LPP_DLL_API(void*) LppDisableAllModules(const wchar_t* nameOfExeOrDll);
// BEGIN EPIC MOD - Additional functions
LPP_DLL_API(void) LppShowConsole();
LPP_DLL_API(void) LppSetVisible(bool visible);
LPP_DLL_API(void) LppSetActive(bool active);
LPP_DLL_API(void) LppSetBuildArguments(const wchar_t* arguments);
LPP_DLL_API(void*) LppEnableLazyLoadedModule(const wchar_t* nameOfExeOrDll);
LPP_DLL_API(void) LppEnableReinstancingFlow();
// END EPIC MOD
LPP_DLL_API(void) LppApplySettingBool(const char* settingName, int value);
LPP_DLL_API(void) LppApplySettingInt(const char* settingName, int value);
LPP_DLL_API(void) LppApplySettingString(const char* settingName, const wchar_t* value);