blob: 8bb47878633bf940d3dad34041e36232f6cac1a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#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
|