diff options
author | Robert Adam <dev@robert-adam.de> | 2021-04-14 20:47:00 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2021-04-16 21:15:44 +0300 |
commit | 27dbee8e620877f9a1668b1d58c7269a48c7e229 (patch) | |
tree | 0d445574449cb224a2d4cc8043520ca66c6afe11 /plugins/ffxiv/ffxiv.cpp | |
parent | c10d636cef79b07784318671df97dba6c1af2b83 (diff) |
FEAT(client): Plugin framework
This commit introduces a new plugin framework into the codebase of the
Mumble client. Note that "plugin" here really refers to a (more or less)
general purpose plugin and is therefore not to be confused with the
previously available positional data plugins (only responsible for
fetching positional data from a running game and passing that to
Mumble).
The plugin interface is written in C, removing the compiler-dependence
the old "plugins" had. Instead plugins can now be written in an
arbitrary language as long as that language is capable of being compiled
into a shared library and also being capable of being C-compatible.
As already indicated a plugin is essentially a shared library that
provides certain functions that allow Mumble to interface with it.
Inside Mumble the so-called PluginManager is responsible for managing
the plugins and relaying events to the respective callbacks. Plugins
themselves can also interact with Mumble on their own initiative by
using the provided API functions.
Fixes #2455
Fixes #2148
Fixes #1594
Fixes #2051
Fixes #3742
Fixes #4575
Fixes #4751
Diffstat (limited to 'plugins/ffxiv/ffxiv.cpp')
-rw-r--r-- | plugins/ffxiv/ffxiv.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/ffxiv/ffxiv.cpp b/plugins/ffxiv/ffxiv.cpp index c1643a24c..f7742bcdc 100644 --- a/plugins/ffxiv/ffxiv.cpp +++ b/plugins/ffxiv/ffxiv.cpp @@ -3,8 +3,11 @@ // that can be found in the LICENSE file at the root of the // Mumble source tree or at <https://www.mumble.info/LICENSE>. -#include "../mumble_plugin_main.h" // Include standard plugin header. -#include "../mumble_plugin_utils.h" // Include plugin header for special functions, like "escape". +#define MUMBLE_ALLOW_DEPRECATED_LEGACY_PLUGIN_API +#include "../mumble_legacy_plugin.h" + +#include "../mumble_positional_audio_main.h" // Include standard positional audio header. +#include "../mumble_positional_audio_utils.h" // Include positional audio header for special functions, like "escape". #include <cmath> |