aboutsummaryrefslogtreecommitdiff
path: root/primedev/core/tier1.h
blob: d162e7c84bb5ab2682e6923fcbe09940c9fd4861 (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);

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