mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-04 05:17:47 +02:00
Module manager (#549)
* Eliminate ModuleManagerInterface... ... It was there only to provide RegisterModule(), but that was not used anywhere. So simplify. * Remove nested #include of ModuleInterface.h
This commit is contained in:
@@ -16,11 +16,13 @@
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
#include "audacity/ModuleInterface.h"
|
||||
#include "audacity/Types.h"
|
||||
|
||||
class wxArrayString;
|
||||
class wxDynamicLibrary;
|
||||
class CommandHandler;
|
||||
class ComponentInterface;
|
||||
class ModuleInterface;
|
||||
|
||||
wxWindow * MakeHijackPanel();
|
||||
|
||||
@@ -73,14 +75,9 @@ typedef std::map<wxString, ModuleInterfaceHandle> ModuleMap;
|
||||
typedef std::map<ModuleInterface *, std::unique_ptr<wxDynamicLibrary>> LibraryMap;
|
||||
using PluginIDs = wxArrayString;
|
||||
|
||||
class ModuleManager final : public ModuleManagerInterface
|
||||
class ModuleManager final
|
||||
{
|
||||
public:
|
||||
// -------------------------------------------------------------------------
|
||||
// ModuleManagerInterface implementation
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
void RegisterModule(ModuleInterface *module) override;
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// ModuleManager implementation
|
||||
|
||||
Reference in New Issue
Block a user