mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-08 22:08:29 -05:00
22 lines
566 B
C++
22 lines
566 B
C++
#pragma once
|
|
|
|
#include "ObjContainer/IObjContainer.h"
|
|
#include "ObjContainer/ObjContainerReferenceable.h"
|
|
#include "Zone/Zone.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class ObjContainerRegistry
|
|
{
|
|
std::vector<IObjContainer*> m_containers;
|
|
|
|
public:
|
|
void AddContainer(IObjContainer* container);
|
|
void AddContainerWithReference(ObjContainerReferenceable* container, Zone* referencer);
|
|
void RemoveContainerReferences(Zone* referencer);
|
|
|
|
IObjContainer* GetContainerByName(const std::string& name);
|
|
};
|
|
|
|
extern ObjContainerRegistry g_ObjContainerRegistry; |