Aeon Engine c550894
AeonGames Open Source Game Engine
Loading...
Searching...
No Matches
Plugin.hpp
Go to the documentation of this file.
1/*
2Copyright (C) 2016,2018,2025,2026 Rodrigo Jose Hernandez Cordoba
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
19#ifndef AEONGAMES_PLUGIN_H
20#define AEONGAMES_PLUGIN_H
21#ifdef __cplusplus
22extern "C"
23{
24#endif
26using StartUpPtr = bool ( * ) ();
28using ShutDownPtr = void ( * ) ();
41#ifdef __cplusplus
42}
43#endif
44#endif
bool(*)() StartUpPtr
Function pointer type for plugin startup.
Definition Plugin.hpp:26
void(*)() ShutDownPtr
Function pointer type for plugin shutdown.
Definition Plugin.hpp:28
Interface that every loadable plugin module must expose.
Definition Plugin.hpp:35
const char * Name
Human-readable plugin name.
Definition Plugin.hpp:36
StartUpPtr StartUp
Called to initialize the plugin.
Definition Plugin.hpp:38
const char * Description
Short description of the plugin.
Definition Plugin.hpp:37
ShutDownPtr ShutDown
Called to tear down the plugin.
Definition Plugin.hpp:39