diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-28 18:13:13 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-28 18:13:13 +0100 |
commit | 0d757e1dcf3cf1518ae2fce9e8864dcc55d14d3a (patch) | |
tree | ada292c63b93aa469e761aee448b121f2ec47a50 /src/lindafactory.h | |
parent | 3cf9c3c9d076d5822595834bdbf5153d4e923c67 (diff) | |
download | lanes-0d757e1dcf3cf1518ae2fce9e8864dcc55d14d3a.tar.gz lanes-0d757e1dcf3cf1518ae2fce9e8864dcc55d14d3a.tar.bz2 lanes-0d757e1dcf3cf1518ae2fce9e8864dcc55d14d3a.zip |
Renamed debugspew.h → debugspew.hpp, lindafactory.h → lindafactory.hpp
Diffstat (limited to 'src/lindafactory.h')
-rw-r--r-- | src/lindafactory.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/lindafactory.h b/src/lindafactory.h deleted file mode 100644 index ac42c10..0000000 --- a/src/lindafactory.h +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | #pragma once | ||
2 | |||
3 | #include "deep.hpp" | ||
4 | |||
5 | // ################################################################################################# | ||
6 | |||
7 | class LindaFactory | ||
8 | : public DeepFactory | ||
9 | { | ||
10 | public: | ||
11 | // I'm not totally happy with having a 'global' variable. Maybe it should be dynamically created and stored somewhere in the universe? | ||
12 | static LindaFactory Instance; | ||
13 | |||
14 | LindaFactory(luaL_Reg const lindaMT_[]) | ||
15 | : mLindaMT{ lindaMT_ } | ||
16 | { | ||
17 | } | ||
18 | |||
19 | private: | ||
20 | luaL_Reg const* const mLindaMT{ nullptr }; | ||
21 | |||
22 | void createMetatable(lua_State* L_) const override; | ||
23 | void deleteDeepObjectInternal(lua_State* L_, DeepPrelude* o_) const override; | ||
24 | [[nodiscard]] std::string_view moduleName() const override; | ||
25 | [[nodiscard]] DeepPrelude* newDeepObjectInternal(lua_State* L_) const override; | ||
26 | }; | ||