#pragma once #include "common.h" struct CLASSFACTORY_CLASSINFO { int x0; int id; void *newFunc; }; class AFX_EXT_CLASS 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); };