mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-06-06 09:13:29 +00:00
Retro seemingly avoided using the Dolphin typedefs in most places, opting to use int/uint instead. This likely means they didn't use u8/s8/u16/s16/etc either. Former-commit-id: 133326ae406a0ebc76f56f8bcb489fda280be2be
31 lines
686 B
C++
31 lines
686 B
C++
#ifndef _CFACTORYMGR
|
|
#define _CFACTORYMGR
|
|
|
|
#include "types.h"
|
|
|
|
#include "Kyoto/IObjectStore.hpp"
|
|
#include "Kyoto/Streams/CInputStream.hpp"
|
|
#include "Kyoto/TToken.hpp"
|
|
|
|
class CFactoryMgr {
|
|
public:
|
|
private:
|
|
uchar pad[0x38];
|
|
};
|
|
|
|
class CFactoryFnReturn {
|
|
public:
|
|
template < typename T >
|
|
CFactoryFnReturn(T* ptr);
|
|
// TODO this forces inlining, were they really manually specialized?
|
|
// : obj(TToken< T >::GetIObjObjectFor(ptr).release()) {}
|
|
|
|
private:
|
|
rstl::auto_ptr< CObjOwnerDerivedFromIObjUntyped > obj;
|
|
};
|
|
|
|
CFactoryFnReturn FStringTableFactory(const SObjectTag& tag, CInputStream& in,
|
|
const CVParamTransfer& xfer);
|
|
|
|
#endif // _CFACTORYMGR
|