mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-28 11:12:26 -04:00
Rename AISModel to AISLogger.
That's really what it is. Also move receiver initialization to AISView. It'll eventually move further out to an AISApp, once I figure out what an App looks like...
This commit is contained in:
parent
8c34e116af
commit
01741f3c7c
2 changed files with 14 additions and 17 deletions
|
@ -63,11 +63,11 @@ struct AISRecentEntry {
|
|||
}
|
||||
};
|
||||
|
||||
class AISModel {
|
||||
class AISLogger {
|
||||
public:
|
||||
AISModel();
|
||||
AISLogger();
|
||||
|
||||
bool on_packet(const ais::Packet& packet);
|
||||
void on_packet(const ais::Packet& packet);
|
||||
|
||||
private:
|
||||
LogFile log_file;
|
||||
|
@ -88,7 +88,7 @@ public:
|
|||
bool on_encoder(const EncoderEvent event) override;
|
||||
|
||||
private:
|
||||
AISModel model;
|
||||
AISLogger logger;
|
||||
|
||||
using EntryKey = ais::MMSI;
|
||||
EntryKey selected_key;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue