mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
new files
This commit is contained in:
19
lib/RegisterTypes.cpp
Normal file
19
lib/RegisterTypes.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
#define VCMI_DLL
|
||||
#include "Connection.h"
|
||||
#include "NetPacks.h"
|
||||
#include "VCMI_Lib.h"
|
||||
#include "../hch./CObjectHandler.h"
|
||||
#include "../hch/CHeroHandler.h"
|
||||
#include "../hch/CTownHandler.h"
|
||||
#include "RegisterTypes.h"
|
||||
|
||||
|
||||
void foofoofoo()
|
||||
{
|
||||
//never called function to force instantation of templates
|
||||
int *ccc = NULL;
|
||||
registerTypes((CISer<CConnection>&)*ccc);
|
||||
registerTypes((COSer<CConnection>&)*ccc);
|
||||
registerTypes((CSaveFile&)*ccc);
|
||||
registerTypes((CLoadFile&)*ccc);
|
||||
}
|
Reference in New Issue
Block a user