OpenCPN Partial API docs
Loading...
Searching...
No Matches
plugin_loader.h File Reference

Low level code to load plugins from disk, notably the PluginLoader class. More...

#include <functional>
#include <wx/wx.h>
#include <wx/bitmap.h>
#include <wx/dynarray.h>
#include <wx/dynlib.h>
#include "config.h"
#include "model/catalog_parser.h"
#include "model/plugin_blacklist.h"
#include "model/semantic_vers.h"
#include "observable_evtvar.h"
#include "ocpn_plugin.h"

Go to the source code of this file.

Classes

class  PlugInData
 Basic data for a loaded plugin, trivially copyable. More...
 
class  PlugInContainer
 Data for a loaded plugin, including dl-loaded library. More...
 
class  LoadError
 Error condition when loading a plugin. More...
 
class  PluginLoader
 PluginLoader is a backend module without any direct GUI functionality. More...
 

Enumerations

enum class  PluginStatus {
  System , Managed , Unmanaged , Ghost ,
  Unknown , LegacyUpdateAvailable , ManagedInstallAvailable , ManagedInstalledUpdateAvailable ,
  ManagedInstalledCurrentVersion , ManagedInstalledDowngradeAvailable , Imported , PendingListRemoval
}
 

Functions

 WX_DEFINE_ARRAY_PTR (PlugInContainer *, ArrayOfPlugIns)
 

Detailed Description

Low level code to load plugins from disk, notably the PluginLoader class.

Definition in file plugin_loader.h.

Enumeration Type Documentation

◆ PluginStatus

enum class PluginStatus
strong
Enumerator
System 

One of the four system plugins, unmanaged.

Managed 

Managed by installer.

Unmanaged 

Unmanaged, probably a package.

Ghost 

Managed, shadowing another (packaged?) plugin.

Definition at line 44 of file plugin_loader.h.