M module-apps/application-antenna/ApplicationAntenna.cpp => module-apps/application-antenna/ApplicationAntenna.cpp +2 -3
@@ 37,10 37,9 @@ namespace app
ApplicationAntenna::ApplicationAntenna(std::string name,
std::string parent,
- sys::phone_modes::PhoneMode phoneMode,
- sys::bluetooth::BluetoothMode bluetoothMode,
+ StatusIndicators statusIndicators,
StartInBackground startInBackground)
- : Application(name, parent, phoneMode, bluetoothMode, startInBackground, antennaApplicationStackSize)
+ : Application(name, parent, statusIndicators, startInBackground, antennaApplicationStackSize)
{
bus.channels.push_back(sys::BusChannel::AntennaNotifications);
appTimer = sys::TimerFactory::createPeriodicTimer(
M module-apps/application-antenna/include/application-antenna/ApplicationAntenna.hpp => module-apps/application-antenna/include/application-antenna/ApplicationAntenna.hpp +5 -6
@@ 3,8 3,8 @@
#pragma once
+#include "Application.hpp"
#include <windows/AppWindow.hpp>
-#include <apps-common/ApplicationCommon.hpp>
#include <Timers/TimerHandle.hpp>
#include <service-cellular/CellularServiceAPI.hpp>
@@ 38,11 38,10 @@ namespace app
uint32_t lastFreq = 0;
public:
- ApplicationAntenna(std::string name = name_antenna,
- std::string parent = {},
- sys::phone_modes::PhoneMode phoneMode = sys::phone_modes::PhoneMode::Connected,
- sys::bluetooth::BluetoothMode bluetoothMode = sys::bluetooth::BluetoothMode::Disabled,
- StartInBackground startInBackground = {false});
+ ApplicationAntenna(std::string name = name_antenna,
+ std::string parent = {},
+ StatusIndicators statusIndicators = StatusIndicators{},
+ StartInBackground startInBackground = {false});
virtual ~ApplicationAntenna();
sys::MessagePointer DataReceivedHandler(sys::DataMessage *msgl, sys::ResponseMessage *resp) override;