OpenCPN Partial API docs
Loading...
Searching...
No Matches
load_errors_dlg.cpp File Reference

Handle dialog reporting plugin load errors. More...

#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include <wx/event.h>
#include <wx/window.h>
#include "gui_lib.h"
#include "load_errors_dlg.h"
#include "observable_evt.h"
#include "model/plugin_handler.h"
#include "model/plugin_loader.h"

Go to the source code of this file.

Classes

class  LoadErrorsDlg
 Unloadable plugins report message box. More...
 
class  LoadErrorsDlg::FormatCtx
 

Functions

 wxDEFINE_EVENT (EVT_LOAD_COMPLETE, ObservedEvt)
 

Detailed Description

Handle dialog reporting plugin load errors.

PluginLoader emits an event containing a list of all plugins which cannot be loaded for various reasons when loading is complete. If this list is non-empty, run an informational dialog and remove involved plugins and libraries.

Definition in file load_errors_dlg.cpp.