RegisterTypes.cpp 521 B

1234567891011121314151617181920
  1. #define VCMI_DLL
  2. #include "Connection.h"
  3. #include "NetPacks.h"
  4. #include "VCMI_Lib.h"
  5. #include "../hch./CObjectHandler.h"
  6. #include "../hch/CHeroHandler.h"
  7. #include "../hch/CTownHandler.h"
  8. #include "RegisterTypes.h"
  9. void foofoofoo()
  10. {
  11. //never called function to force instantation of templates
  12. int *ccc = NULL;
  13. registerTypes((CISer<CConnection>&)*ccc);
  14. registerTypes((COSer<CConnection>&)*ccc);
  15. registerTypes((CSaveFile&)*ccc);
  16. registerTypes((CLoadFile&)*ccc);
  17. registerTypes((CTypeList&)*ccc);
  18. }