CSBPackageWriter.cpp 756 B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
  3. // LICENSE: Atomic Game Engine Editor and Tools EULA
  4. // Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for
  5. // license information: https://github.com/AtomicGameEngine/AtomicGameEngine
  6. //
  7. #include <Atomic/IO/FileSystem.h>
  8. #include "../JSBind.h"
  9. #include "../JSBModule.h"
  10. #include "../JSBPackage.h"
  11. #include "../JSBEnum.h"
  12. #include "../JSBClass.h"
  13. #include "CSBPackageWriter.h"
  14. namespace ToolCore
  15. {
  16. CSBPackageWriter::CSBPackageWriter(JSBPackage *package) : package_(package)
  17. {
  18. }
  19. void CSBPackageWriter::GenerateSource(String& sourceOut)
  20. {
  21. String source = "// This file was autogenerated by JSBind, changes will be lost\n\n";
  22. sourceOut = source;
  23. }
  24. }