og-northstar-launcher/primedev/core/tier1.h
F1F7Y 8a29c5bbd0
core: Remove unused SourceInterface class (#816)
Removes unused `SourceInterface` class, moves `InterfaceStatus` enum to `tier1.h`.
2024-10-06 09:59:22 +02:00

18 lines
474 B
C++

#pragma once
// Note: this file is tier1/interface.h in primedev, but given that tier0 is yet to be split
// I am following the existing "pattern" and putting this here
#include "memory.h"
#define CREATEINTERFACE_PROCNAME "CreateInterface"
enum class InterfaceStatus : int
{
IFACE_OK = 0,
IFACE_FAILED,
};
typedef void* (*CreateInterfaceFn)(const char* pName, int* pReturnCode);
CMemory Sys_GetFactoryPtr(const std::string& svModuleName, const std::string& svFact);