Pioneer
LuaWrappable.h
Go to the documentation of this file.
1 // Copyright © 2008-2023 Pioneer Developers. See AUTHORS.txt for details
2 // Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
3 
4 #ifndef LUAWRAPPABLE_H
5 #define LUAWRAPPABLE_H
6 
7 // all classes that can be passed through to Lua must inherit from
8 // LuaWrappable. this is mostly to ensure that dynamic_cast will always work
9 //
10 // this is in a separate file so that it can be included without including all
11 // of LuaObject
12 
13 class LuaWrappable {
14 public:
15  virtual ~LuaWrappable() {}
16 };
17 
18 #endif
Definition: LuaWrappable.h:13
virtual ~LuaWrappable()
Definition: LuaWrappable.h:15