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

AbstractPlatform adapted for console/CLI usage. More...

#include <cli_platform.h>

Inheritance diagram for CliPlatform:
AbstractPlatform

Additional Inherited Members

Public Member Functions inherited from AbstractPlatform
wxString & GetPrivateDataDir ()
 Return dir path for opencpn.log, etc., respecting -c cli option.
wxString & DefaultPrivateDataDir ()
 Return dir path for opencpn.log, etc., does not respect -c option.
wxString * GetPluginDirPtr ()
wxString * GetSharedDataDirPtr ()
wxString * GetPrivateDataDirPtr ()
 Legacy compatibility syntactic sugar for GetPrivateDataDir().
wxString & GetPluginDir ()
 The original in-tree plugin directory, sometimes not user-writable.
wxString GetSupplementalLicenseString ()
 Android license details, otherwise "".
wxStandardPaths & GetStdPaths ()
wxString GetWinPluginBaseDir ()
 Base directory for user writable windows plugins, reflects winPluginDir option, defaults to LOCALAPPDATA%/opencpn.
wxString & GetSharedDataDir ()
wxString & GetExePath ()
wxString & GetHomeDir ()
wxString GetWritableDocumentsDir ()
wxString GetPluginDataPath ()
 Return ';'-separated list of base directories for plugin data.
wxString & GetConfigFileName ()
wxString & GetLogFileName ()
bool isFlatpacked ()
bool isPlatformCapable (int flag)
OCPN_OSDetail * GetOSDetail ()
void CloseLogFile (void)
wxString & GetLargeLogMessage (void)
FILE * GetLogFilePtr ()
wxString NormalizePath (const wxString &full_path)
virtual wxSize getDisplaySize ()
virtual double GetDisplaySizeMM ()
virtual double GetDisplayDPmm ()
virtual unsigned int GetSelectRadiusPix ()
double GetDisplayDIPMult (wxWindow *win)
 Get the display scaling factor for DPI-aware rendering.
virtual int GetSvgStdIconSize (const wxWindow *w, bool touch)=0
 Return icon size roughly corresponding to height of a char in w, tweaked to be "big enough" for touch screens if touch is true.
Static Public Member Functions inherited from AbstractPlatform
static void ShowBusySpinner ()
static void HideBusySpinner ()
Protected Member Functions inherited from AbstractPlatform
bool DetectOSDetail (OCPN_OSDetail *detail)
Protected Attributes inherited from AbstractPlatform
wxString m_default_private_datadir
wxString m_PrivateDataDir
wxString m_PluginsDir
bool m_isFlatpacked
wxString m_homeDir
wxString m_exePath
wxString m_SData_Dir
wxString m_config_file_name
wxString m_pluginDataPath
wxString mlog_file
OCPN_OSDetail * m_osDetail
FILE * flog
wxLog * m_old_logger
wxString large_log_message
std::vector< int > m_displaySizeMMOverride
int m_monitorWidth
int m_monitorHeight
bool m_bdisableWindowsDisplayEnum
Static Protected Attributes inherited from AbstractPlatform
static bool m_isBusy = false

Detailed Description

AbstractPlatform adapted for console/CLI usage.

Definition at line 27 of file cli_platform.h.


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