OpenCPN Partial API docs
PlugBlacklist Class Reference
Inheritance diagram for PlugBlacklist:
AbstractBlacklist

Public Member Functions

virtual plug_data get_library_data (const std::string &library_file)
 Best effort attempt to get data for a library file.
 
plug_status get_status (const std::string &name, int major, int minor)
 Return status for given official plugin name and version.
 
plug_status get_status (const plug_data pd)
 Return status for given official plugin name and version.
 
virtual bool mark_unloadable (const std::string &name, int major, int minor)
 Given plugin name and version mark it as unloadable. More...
 
bool mark_unloadable (const std::string &path)
 Given a path, mark filename as unloadable.
 
bool is_loadable (const std::string path)
 Return true iff plugin (a path) is loadable.
 
std::string get_message (plug_status status, const plug_data &data)
 Return plugin-specific message, possibly "".
 

Friends

std::unique_ptr< AbstractBlacklistblacklist_factory ()
 

Detailed Description

Definition at line 154 of file plugin_blacklist.cpp.

Member Function Documentation

◆ mark_unloadable()

virtual bool PlugBlacklist::mark_unloadable ( const std::string &  name,
int  major,
int  minor 
)
inlinevirtual

Given plugin name and version mark it as unloadable.

Returns
true if plugin was already marked, else false.

Implements AbstractBlacklist.

Definition at line 223 of file plugin_blacklist.cpp.


The documentation for this class was generated from the following file: