OpenCPN Partial API docs
|
Implement udev_rule_mgr.h. More...
#include "config.h"
#include <algorithm>
#include <cassert>
#include <sstream>
#include <vector>
#include <stdlib.h>
#include <wx/button.h>
#include <wx/checkbox.h>
#include <wx/dcclient.h>
#include <wx/dialog.h>
#include <wx/frame.h>
#include <wx/panel.h>
#include <wx/sizer.h>
#include <wx/statline.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include "model/linux_devices.h"
#include "model/logger.h"
#include "model/ocpn_utils.h"
#include "gui_lib.h"
#include "udev_rule_mgr.h"
Go to the source code of this file.
Functions | |
bool | CheckDongleAccess (wxWindow *parent) |
Runs checks and if required dialogs to make dongle accessible. | |
bool | CheckSerialAccess (wxWindow *parent, const std::string device) |
Run checks and possible dialogs to ensure device is accessible. More... | |
void | DestroyDeviceNotFoundDialogs () |
Destroy all open "Device not found" dialog windows. | |
Implement udev_rule_mgr.h.
Definition in file udev_rule_mgr.cpp.
bool CheckSerialAccess | ( | wxWindow * | parent, |
const std::string | device | ||
) |
Run checks and possible dialogs to ensure device is accessible.
parent | Dialogs parent window |
device | Full device path |
Definition at line 54 of file udev_rule_mgr.cpp.