aboutsummaryrefslogtreecommitdiff
path: root/primedev/core/tier1.h
blob: 5be5827447484fad0db793089db20e36c80a6df7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#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"

typedef void* (*CreateInterfaceFn)(const char* pName, int* pReturnCode);

CMemoryAddress Sys_GetFactoryPtr(const std::string& svModuleName, const std::string& svFact);