Files
UnrealEngineUWP/Engine/Source/Developer/Windows/LiveCoding/Private/External/LC_API.h
Ben Marsh 0e6aa011b3 Copying //UE4/Dev-Build @ CL 11166028 to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 11166227 by Ben Marsh in Main branch]
2020-01-29 14:48:18 -05:00

48 lines
2.2 KiB
C

// Copyright 2011-2019 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
// BEGIN EPIC MOD - Adding instance to startup function
LPP_DLL_API(void) LppStartup(void* thisInstance);
// END EPIC MOD
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);
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);
// 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);