DLLStart.cpp 768 B

123456789101112131415161718192021222324252627282930313233343536
  1. #include "SpielKlasse.h"
  2. #include "SpielStatistik.h"
  3. #include "HistorieStatistik.h"
  4. #include "../../../../Klient/Include/AufzeichnungV.h"
  5. #include "Editor.h"
  6. //#include "..\Aufzeichnung\Aufzeichnung.h"
  7. extern "C"
  8. { // Dll Einstiegs Funktionen
  9. __declspec( dllexport ) SpielV *getSpielKlasse()
  10. {
  11. return new SpielKlasse();
  12. }
  13. __declspec( dllexport ) SpielStatistikV *GetStatistikKlasse()
  14. {
  15. return new SpielStatistik();
  16. }
  17. __declspec( dllexport ) AccountHistorieStatistikV *GetAccountHistorieStatistik()
  18. {
  19. return 0;
  20. //return new HistorieStatistik();
  21. }
  22. __declspec( dllexport ) AufzeichnungV *GetAufzeichnung()
  23. {
  24. return 0;
  25. //return new Aufzeichnung();
  26. }
  27. __declspec( dllexport ) EditorV *getEditor()
  28. {
  29. return new Editor::AsteroidsEditor();
  30. }
  31. }