1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Use IPlatformEnvironment for ObjectRepository

This commit is contained in:
Ted John
2016-12-07 16:54:07 +00:00
parent fd6a750f4e
commit e9c778e886
3 changed files with 45 additions and 42 deletions

View File

@@ -28,7 +28,8 @@ extern "C"
#endif
#ifdef __cplusplus
class Object;
interface IPlatformEnvironment;
class Object;
#else
typedef struct Object Object;
#endif
@@ -77,6 +78,7 @@ interface IObjectRepository
size_t dataSize) abstract;
};
IObjectRepository * CreateObjectRepository(IPlatformEnvironment * env);
IObjectRepository * GetObjectRepository();
#endif