1 #ifndef _INCLUDE_METAMOD_SOURCE_LOADER_BRIDGE_H_
2 #define _INCLUDE_METAMOD_SOURCE_LOADER_BRIDGE_H_
4 typedef void* (*QueryValveInterface)(const char *pName, int *pReturnCode);
5 class IServerPluginCallbacks;
9 QueryValveInterface engineFactory;
10 QueryValveInterface gsFactory;
11 IServerPluginCallbacks * vsp_callbacks;
12 unsigned int vsp_version;
18 virtual bool Load(const vsp_bridge_info *info, char *buffer, size_t maxlength) = 0;
19 virtual void Unload() = 0;
20 virtual const char *GetDescription() = 0;
23 #endif /* _INCLUDE_METAMOD_SOURCE_LOADER_BRIDGE_H_ */