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

Plugin blacklist for plugins which can or should not be loaded. More...

#include <string>
#include <sstream>
#include <memory>

Go to the source code of this file.

Classes

struct  plug_data
 
class  AbstractBlacklist
 Plugins could be blacklisted in runtime if they are unloadable or in hardcoded, compile-time list. More...
 

Typedefs

typedef enum plug_status plug_status
 
typedef struct plug_data plug_data
 

Enumerations

enum class  plug_status { unblocked , unloadable , hard , soft }
 

Functions

std::unique_ptr< AbstractBlacklistblacklist_factory ()
 

Detailed Description

Plugin blacklist for plugins which can or should not be loaded.

Definition in file plugin_blacklist.h.

Enumeration Type Documentation

◆ plug_status

enum class plug_status
strong
Enumerator
unloadable 

Not blocked for any reason.

hard 

Tried with load error.

soft 

Hard block from code or configuration.

Soft block: load with a warning.

Definition at line 39 of file plugin_blacklist.h.

Function Documentation

◆ blacklist_factory()

std::unique_ptr< AbstractBlacklist > blacklist_factory ( )

Definition at line 147 of file plugin_blacklist.cpp.