mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
OP-706 Removed some obsolete includes and methods.
This commit is contained in:
parent
b3990975ac
commit
8c5b956897
@ -61,7 +61,6 @@ private slots:
|
||||
void onTelemetryUpdate(double txRate, double rxRate);
|
||||
void onStart();
|
||||
void onStop();
|
||||
void onKnownObjectsChanged(UAVObject *object, bool known);
|
||||
|
||||
private:
|
||||
UAVObjectManager *m_uavobjectManager;
|
||||
|
@ -48,9 +48,6 @@ bool UAVTalkPlugin::initialize(const QStringList & arguments, QString *errorStri
|
||||
// Done
|
||||
Q_UNUSED(arguments);
|
||||
Q_UNUSED(errorString);
|
||||
// Get UAVObjectManager instance
|
||||
ExtensionSystem::PluginManager *pm = ExtensionSystem::PluginManager::instance();
|
||||
objMngr = pm->getObject<UAVObjectManager>();
|
||||
|
||||
// Create TelemetryManager
|
||||
telMngr = new TelemetryManager();
|
||||
|
@ -30,11 +30,8 @@
|
||||
#include <extensionsystem/iplugin.h>
|
||||
#include <extensionsystem/pluginmanager.h>
|
||||
#include <QtPlugin>
|
||||
#include "telemetrymonitor.h"
|
||||
#include "telemetry.h"
|
||||
#include "uavtalk.h"
|
||||
#include "telemetrymanager.h"
|
||||
#include "uavobjectmanager.h"
|
||||
|
||||
class UAVTALK_EXPORT UAVTalkPlugin : public ExtensionSystem::IPlugin {
|
||||
Q_OBJECT
|
||||
@ -53,7 +50,6 @@ protected slots:
|
||||
void onDeviceDisconnect();
|
||||
|
||||
private:
|
||||
UAVObjectManager *objMngr;
|
||||
TelemetryManager *telMngr;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user