From bd829d7d851ca3e504ac2fd3bbe9d7a0c558bca8 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Tue, 26 Jan 2016 13:08:46 -0800 Subject: [PATCH] Add titles for transponder apps. --- firmware/application/ais_app.hpp | 2 ++ firmware/application/ert_app.hpp | 2 ++ firmware/application/tpms_app.hpp | 2 ++ 3 files changed, 6 insertions(+) diff --git a/firmware/application/ais_app.hpp b/firmware/application/ais_app.hpp index 8dd078bd..73b005d3 100644 --- a/firmware/application/ais_app.hpp +++ b/firmware/application/ais_app.hpp @@ -142,6 +142,8 @@ public: void focus() override; + std::string title() const override { return "AIS"; }; + private: AISRecentEntries recent; AISLogger logger; diff --git a/firmware/application/ert_app.hpp b/firmware/application/ert_app.hpp index 6100441a..996dad67 100644 --- a/firmware/application/ert_app.hpp +++ b/firmware/application/ert_app.hpp @@ -83,6 +83,8 @@ public: // TODO: Add flag to View that specifies view does not need to be cleared before painting. void paint(Painter&) override { }; + std::string title() const override { return "ERT"; }; + private: ERTRecentEntries recent; ERTLogger logger; diff --git a/firmware/application/tpms_app.hpp b/firmware/application/tpms_app.hpp index 56e820dd..ac3486cd 100644 --- a/firmware/application/tpms_app.hpp +++ b/firmware/application/tpms_app.hpp @@ -207,6 +207,8 @@ public: // TODO: Add flag to View that specifies view does not need to be cleared before painting. void paint(Painter&) override { }; + std::string title() const override { return "TPMS"; }; + private: TPMSRecentEntries recent; TPMSLogger logger;