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

Implement catalog_mgr.h – Catalog options dialog, by default disabled. More...

#include <fstream>
#include <sstream>
#include <thread>
#include <wx/button.h>
#include <wx/debug.h>
#include <wx/filename.h>
#include <wx/log.h>
#include <wx/msgdlg.h>
#include <wx/panel.h>
#include <wx/progdlg.h>
#include <wx/sizer.h>
#include <wx/statline.h>
#include "model/catalog_handler.h"
#include "catalog_mgr.h"
#include "model/downloader.h"
#include "model/ocpn_utils.h"
#include "OCPNPlatform.h"
#include "model/plugin_handler.h"
#include "download_mgr.h"

Go to the source code of this file.

Classes

class  catalog_mgr::Helpers
 
class  catalog_mgr::CatalogUpdate
 The advanced dialog showing channels, possible updates, rollback etc. More...
 
struct  catalog_mgr::CatalogUpdate::UrlStatus
 The Url Status line at top. More...
 
struct  catalog_mgr::CatalogUpdate::ActiveCatalogGrid
 Active catalog: The current active, the default and latest downloaded + buttons to use default or latest. More...
 
struct  catalog_mgr::CatalogUpdate::Buttons
 The buttons below custom url: Use Default and Update. More...
 
struct  catalog_mgr::CatalogUpdate::UrlChannel
 Combobox where user selects active catalog channel. More...
 
struct  catalog_mgr::CatalogUpdate::UrlEdit
 Custom url edit control, a text line. More...
 
class  catalog_mgr::CatalogLoad
 Download status/progress window, always shown at start-up. More...
 
struct  catalog_mgr::CatalogLoad::DialogGrid
 Grid with Server is Reachable..., Check channel... etc. More...
 
struct  catalog_mgr::CatalogLoad::Buttons
 OK/Cancel buttons for the download progress window. More...
 

Functions

 wxDEFINE_EVENT (CHANNELS_DL_DONE, wxCommandEvent)
 Posted by Worker() in CatalogLoad, consumed by CatalogLoad::DialogGrid.
 
 wxDEFINE_EVENT (CHANNELS_PARSE_DONE, wxCommandEvent)
 
 wxDEFINE_EVENT (CATALOG_DL_DONE, wxCommandEvent)
 
 wxDEFINE_EVENT (CATALOG_PARSE_DONE, wxCommandEvent)
 
 wxDEFINE_EVENT (CATALOG_DLG_CLOSE, wxCommandEvent)
 Posted by CatalogUpdate on close.
 

Detailed Description

Implement catalog_mgr.h – Catalog options dialog, by default disabled.

Definition in file catalog_mgr.cpp.