OpenCPN Partial API docs
Loading...
Searching...
No Matches
RestServerDlgCtx Class Reference

Callbacks for handling dialogs and RouteManager updates. More...

#include <rest_server.h>

Public Member Functions

 RestServerDlgCtx ()
 All dummy stubs constructor.
 

Public Attributes

std::function< wxDialog *(const std::string &msg, const std::string &text1)> run_pincode_dlg
 Run the "Server wants a pincode" dialog.
 
std::function< void(void)> update_route_mgr
 Update Route manager after updates to underlying nav_object_database.
 
std::function< AcceptObjectDlgResult(const wxString &msg, const wxString &check1msg)> run_accept_object_dlg
 Run the "Accept Object" dialog, returns value from ShowModal().
 
std::function< void()> top_level_refresh
 

Detailed Description

Callbacks for handling dialogs and RouteManager updates.

Definition at line 95 of file rest_server.h.

Constructor & Destructor Documentation

◆ RestServerDlgCtx()

RestServerDlgCtx::RestServerDlgCtx ( )

All dummy stubs constructor.

Definition at line 763 of file rest_server.cpp.

Member Data Documentation

◆ run_accept_object_dlg

std::function<AcceptObjectDlgResult(const wxString& msg, const wxString& check1msg)> RestServerDlgCtx::run_accept_object_dlg

Run the "Accept Object" dialog, returns value from ShowModal().

Definition at line 107 of file rest_server.h.

◆ run_pincode_dlg

std::function<wxDialog*(const std::string& msg, const std::string& text1)> RestServerDlgCtx::run_pincode_dlg

Run the "Server wants a pincode" dialog.

Definition at line 99 of file rest_server.h.

◆ top_level_refresh

std::function<void()> RestServerDlgCtx::top_level_refresh

Definition at line 108 of file rest_server.h.

◆ update_route_mgr

std::function<void(void)> RestServerDlgCtx::update_route_mgr

Update Route manager after updates to underlying nav_object_database.

Definition at line 102 of file rest_server.h.


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