LuaDocument.h 360 B

1234567891011121314151617181920
  1. #pragma once
  2. /*
  3. This class is an ElementDocument that overrides the LoadScript function
  4. */
  5. #include <Rocket/Core/ElementDocument.h>
  6. namespace Rocket {
  7. namespace Core {
  8. namespace Lua {
  9. class LuaDocument : public ElementDocument
  10. {
  11. public:
  12. LuaDocument(const String& tag);
  13. virtual void LoadScript(Stream& stream, const String& source_name);
  14. };
  15. }
  16. }
  17. }