|
OpenCPN Partial API docs
|
Implement base_platform.h – OpenCPN Platform specific support utilities. More...
#include <algorithm>#include <cstdlib>#include <string>#include <vector>#include <wx/wxprec.h>#include <wx/wx.h>#include <wx/app.h>#include <wx/apptrait.h>#include <wx/dir.h>#include <wx/filename.h>#include <wx/platinfo.h>#include <wx/stdpaths.h>#include <wx/textfile.h>#include <wx/tokenzr.h>#include "config.h"#include "model/base_platform.h"#include "model/cmdline.h"#include "model/config_vars.h"#include "model/gui_vars.h"#include "model/logger.h"#include "model/ocpn_utils.h"#include "ocpn_plugin.h"Go to the source code of this file.
Functions | |
| void | appendOSDirSlash (wxString *pString) |
| wxString | GetPluginDataDir (const char *plugin_name) |
| Returns an installed plugin's data directory given a plugin name. | |
Variables | |
| BasePlatform * | g_BasePlatform |
| points to g_platform, handles brain-dead MS linker. | |
Implement base_platform.h – OpenCPN Platform specific support utilities.
Definition in file base_platform.cpp.
| void appendOSDirSlash | ( | wxString * | pString | ) |
Definition at line 483 of file base_platform.cpp.
| wxString GetPluginDataDir | ( | const char * | plugin_name | ) |
Returns an installed plugin's data directory given a plugin name.
Platform-specific behavior:
| plugin_name | The name of the plugin to find data for (e.g., "weather_routing_pi") |
Definition at line 294 of file base_platform.cpp.
| BasePlatform* g_BasePlatform |
points to g_platform, handles brain-dead MS linker.
Definition at line 100 of file base_platform.cpp.