summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2ClassFactory.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
committerAsh Wolf <ninji@wuffs.org>2023-06-28 22:22:32 +0100
commitc0c336500955a23e344651e5412c9d9d441ef4ee (patch)
tree790769c748db307cf3314f6e896e2f61c68561a2 /src/T2DLL/T2ClassFactory.h
parent37e364b2c6cc7487a1c888d256a73e5337bb7189 (diff)
downloadt2win-c0c336500955a23e344651e5412c9d9d441ef4ee.tar.gz
t2win-c0c336500955a23e344651e5412c9d9d441ef4ee.zip
first pass of T2DLL
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2ClassFactory.h17
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);
};