34 #include "model/route.h"
35 #include "model/track.h"
36 #include "model/semantic_vers.h"
38 #include "observable_evtvar.h"
40 enum class PeerDlgResult { Ok, Cancel, HasPincode };
53 std::string dest_ip_address;
54 std::string server_name;
56 std::vector<Route*> routes;
57 std::vector<RoutePoint*> routepoints;
58 std::vector<Track*> tracks;
77 void GetApiVersion(
PeerData& peer_data);
80 bool SendNavobjects(
PeerData& peer_data);
86 bool CheckNavObjects(
PeerData& peer_data);
Generic event handling between MVC Model and Controller based on a shared EventVar variable.
bool activate
API parameter, activate route after transfer.
EventVar & progress
Notified with transfer percent progress (0-100).
SemanticVersion api_version
server API version
std::function< PeerDlgResult(PeerDlg, int)> run_status_dlg
Dialog displaying status (good, bad, ...)
std::function< std::pair< PeerDlgResult, std::string >)> run_pincode_dlg
Pin confirm dialog, returns new {0, user_pin} or {error_code, error msg)
bool overwrite
API parameter, force overwrite w/o server dialogs.
Versions uses a modified semantic versioning scheme: major.minor.revision.post-tag+build.