diff options
author | Robert Adam <dev@robert-adam.de> | 2021-04-16 21:51:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 21:51:23 +0300 |
commit | d4a5fc1047837ce2018a6381e0e74a51f65b2a8f (patch) | |
tree | f45a8df3f53649df21f0e5094d7021bae6f238fa /plugins/ut99 | |
parent | ae3cc1ea692b8377dacd85e8dab71cff8827a5b6 (diff) | |
parent | 5db2400af55776b5034775c36c1cae033a478091 (diff) |
Merge PR #3743: 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/ut99')
-rw-r--r-- | plugins/ut99/ut99.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/ut99/ut99.cpp b/plugins/ut99/ut99.cpp index 8831452ba..7ee98151a 100644 --- a/plugins/ut99/ut99.cpp +++ b/plugins/ut99/ut99.cpp @@ -34,8 +34,11 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "../mumble_plugin_main.h" -#include "../mumble_plugin_utils.h" +#define MUMBLE_ALLOW_DEPRECATED_LEGACY_PLUGIN_API +#include "../mumble_legacy_plugin.h" + +#include "../mumble_positional_audio_main.h" +#include "../mumble_positional_audio_utils.h" procptr_t posptr; procptr_t frtptr; |