JSBClassWriter.h 621 B

1234567891011121314151617181920212223242526272829303132333435
  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. #pragma once
  8. #include "JSBSourceWriter.h"
  9. namespace ToolCore
  10. {
  11. class JSBPackage;
  12. class JSBClass;
  13. class JSBClassWriter : public JSBSourceWriter
  14. {
  15. public:
  16. virtual void GenerateSource(String& sourceOut);
  17. protected:
  18. JSBClassWriter(JSBClass* klass);
  19. virtual void WriteFunctions(String& source);
  20. JSBClass* klass_;
  21. };
  22. }