#ifndef T2DLL_T2CLASSFACTORY_H #define T2DLL_T2CLASSFACTORY_H #include "../common.h" struct CLASSFACTORY_CLASSINFO { int x0; int id; void *newFunc; }; class AFX_CLASS_EXPORT T2ClassFactory { public: static void Initialize(); static void Discard(); static void Register(CLASSFACTORY_CLASSINFO* inClassInfo); static void* Query(int inID); private: static void* new_T2Archive(); static void* new_T2Dialog(); static void* new_T2Balloon(); static void* new_T2SoundPlayer(CWnd* inArg1, IDirectSound* inArg2); }; #endif