Rename TPMSView -> TPMSAppView.

This commit is contained in:
Jared Boone 2016-01-18 13:29:11 -08:00
parent 6e5e48cc7c
commit 1a280149e2
3 changed files with 5 additions and 5 deletions

View File

@ -55,7 +55,7 @@ ManchesterFormatted TPMSModel::on_packet(const TPMSPacketMessage& message) {
namespace ui {
void TPMSView::on_show() {
void TPMSAppView::on_show() {
Console::on_show();
EventDispatcher::message_map().register_handler(Message::ID::TPMSPacket,
@ -66,13 +66,13 @@ void TPMSView::on_show() {
);
}
void TPMSView::on_hide() {
void TPMSAppView::on_hide() {
EventDispatcher::message_map().unregister_handler(Message::ID::TPMSPacket);
Console::on_hide();
}
void TPMSView::log(const ManchesterFormatted& formatted) {
void TPMSAppView::log(const ManchesterFormatted& formatted) {
writeln(formatted.data.substr(0, 240 / 8));
}

View File

@ -40,7 +40,7 @@ private:
namespace ui {
class TPMSView : public Console {
class TPMSAppView : public Console {
public:
void on_show() override;
void on_hide() override;

View File

@ -525,7 +525,7 @@ void ReceiverView::on_modulation_changed(ReceiverModel::Mode mode) {
break;
case ReceiverModel::Mode::TPMS:
widget_content = std::make_unique<TPMSView>();
widget_content = std::make_unique<TPMSAppView>();
break;
case ReceiverModel::Mode::ERT: