diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-02-14 18:04:15 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2022-02-15 17:15:16 -0500 |
commit | 0de8ac83e6a190d5fc124587d1f9f0a7f0198ce3 (patch) | |
tree | 8e5f07cdc014e493ec42a9b506104a35752101e0 /radio/radio.h | |
parent | 3f384d30d099f6eea5eb946c3cb0380f0453e2bc (diff) |
Re-enable telephony and radio stub libraries
Add the radio, telephony, pbap, and map libraries back to the build
by stubbing out their implementations for now. This should enable
getting the related apps building without the application framework
and hopefully simplify further rework of the backend functionality
here with respect to AGL CI.
Bug-AGL: SPEC-4182
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I9c7cae9f34a9fd332a11914bcb6ee123b840d5a1
Diffstat (limited to 'radio/radio.h')
-rw-r--r-- | radio/radio.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/radio/radio.h b/radio/radio.h index b38d9d3..cfd314c 100644 --- a/radio/radio.h +++ b/radio/radio.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018-2020 Konsulko Group + * Copyright (C) 2018-2020,2022 Konsulko Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,14 +17,9 @@ #ifndef RADIO_H #define RADIO_H -#include <memory> #include <QObject> #include <QtQml/QQmlContext> -class MessageEngine; -class Message; - - class Radio : public QObject { Q_OBJECT @@ -39,7 +34,7 @@ class Radio : public QObject Q_PROPERTY(unsigned int frequencyStep READ frequencyStep NOTIFY frequencyStepChanged) public: - explicit Radio(QUrl &url, QQmlContext *context, QObject * parent = Q_NULLPTR); + explicit Radio(QQmlContext *context, QObject * parent = Q_NULLPTR); virtual ~Radio(); unsigned int band() const { return m_band; } @@ -76,7 +71,6 @@ class Radio : public QObject void frequencyStepChanged(int frequencyStep); private: - std::shared_ptr<MessageEngine> m_mloop; QQmlContext *m_context; unsigned int m_band; @@ -88,6 +82,7 @@ class Radio : public QObject bool m_scanning; void updateFrequencyBandParameters(); +#if 0 void onConnected(); void onDisconnected(); void onMessageReceived(std::shared_ptr<Message> msg); @@ -97,6 +92,7 @@ class Radio : public QObject "station_found", "status", }; +#endif }; #endif // RADIO_H |