ScriptManager.h 575 B

123456789101112131415161718192021222324252627282930313233343536
  1. // Copyright (C) 2014, Panagiotis Christopoulos Charitos.
  2. // All rights reserved.
  3. // Code licensed under the BSD License.
  4. // http://www.anki3d.org/LICENSE
  5. #ifndef ANKI_SCRIPT_SCRIPT_MANAGER_H
  6. #define ANKI_SCRIPT_SCRIPT_MANAGER_H
  7. #include "anki/script/LuaBinder.h"
  8. #include "anki/util/Singleton.h"
  9. namespace anki {
  10. // Forward
  11. class App;
  12. /// @addtogroup script
  13. /// @{
  14. /// The scripting manager
  15. class ScriptManager: public LuaBinder
  16. {
  17. public:
  18. ScriptManager(HeapAllocator<U8>& alloc);
  19. ~ScriptManager();
  20. private:
  21. App* m_app;
  22. };
  23. /// @}
  24. } // end namespace anki
  25. #endif