LuaDocument.h 425 B

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