diff options
Diffstat (limited to 'src/T2DLL/T2ClassFactory.h')
-rw-r--r-- | src/T2DLL/T2ClassFactory.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/T2DLL/T2ClassFactory.h b/src/T2DLL/T2ClassFactory.h index 4df7068..bd88d4f 100644 --- a/src/T2DLL/T2ClassFactory.h +++ b/src/T2DLL/T2ClassFactory.h @@ -1,18 +1,21 @@ #pragma once #include "common.h" -class T2ClassFactory { +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*); - static void* Query(int); + 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*, IDirectSound*); - -public: - T2ClassFactory& operator=(const T2ClassFactory&) {} + static void* new_T2SoundPlayer(CWnd* inArg1, IDirectSound* inArg2); }; |