λ61
Loading...
Searching...
No Matches
ExtensionHeaders.hpp
Go to the documentation of this file.
1/*
2 * Copyright (C) 2025 Tetex7
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <https://www.gnu.org/licenses/>.
16 */
17
18//
19// Created by tete on 8/11/25.
20//
21#pragma once
22
23#ifndef L61_EXTENSIONHEADERS_HPP
24#define L61_EXTENSIONHEADERS_HPP
25#include <memory>
26#include <string>
27#include <vector>
28
29namespace l61
30{
31 namespace ScriptEngine
32 {
33 class ScriptEnvironment;
34 class RunnableScriptEnvironment;
35 }
36 struct l61_stat;
37}
39{
41 {
43 std::unique_ptr<ScriptEngine::RunnableScriptEnvironment> & scriptCtx;
44 };
45
47 {
48 const std::string name;
49 const std::vector<std::string> authors;
50 const std::string known_compat_version;
51 };
52
54}
55#endif // L61_EXTENSIONHEADERS_HPP
Definition defs.hpp:137
l61_api_extension_t * l61_api_extension_ptr
Definition ExtensionHeaders.hpp:53
Definition Object.hpp:34
Definition ExtensionHeaders.hpp:41
l61_stat & l61Ctx
Definition ExtensionHeaders.hpp:42
std::unique_ptr< ScriptEngine::RunnableScriptEnvironment > & scriptCtx
Definition ExtensionHeaders.hpp:43
Definition ExtensionHeaders.hpp:47
const std::vector< std::string > authors
Definition ExtensionHeaders.hpp:49
const std::string known_compat_version
Definition ExtensionHeaders.hpp:50
const std::string name
Definition ExtensionHeaders.hpp:48
Definition defs.hpp:159