gpio: Add Qt6 support
This commit is contained in:
parent
d49f9ddbdf
commit
d2eacc95a1
@ -1,6 +1,6 @@
|
|||||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*
|
*
|
||||||
* Copyright 2013 - 2021, nymea GmbH
|
* Copyright 2013 - 2025, nymea GmbH
|
||||||
* Contact: contact@nymea.io
|
* Contact: contact@nymea.io
|
||||||
*
|
*
|
||||||
* This file is part of nymea.
|
* This file is part of nymea.
|
||||||
@ -29,10 +29,11 @@
|
|||||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||||
|
|
||||||
#include "integrationplugingpio.h"
|
#include "integrationplugingpio.h"
|
||||||
#include "types/param.h"
|
|
||||||
#include "integrations/thing.h"
|
|
||||||
#include "plugininfo.h"
|
#include "plugininfo.h"
|
||||||
|
|
||||||
|
#include <types/param.h>
|
||||||
|
#include <integrations/thing.h>
|
||||||
|
|
||||||
IntegrationPluginGpio::IntegrationPluginGpio()
|
IntegrationPluginGpio::IntegrationPluginGpio()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||||
*
|
*
|
||||||
* Copyright 2013 - 2021, nymea GmbH
|
* Copyright 2013 - 2025, nymea GmbH
|
||||||
* Contact: contact@nymea.io
|
* Contact: contact@nymea.io
|
||||||
*
|
*
|
||||||
* This file is part of nymea.
|
* This file is part of nymea.
|
||||||
@ -31,8 +31,9 @@
|
|||||||
#ifndef INTEGRATIONPLUGINGPIO_H
|
#ifndef INTEGRATIONPLUGINGPIO_H
|
||||||
#define INTEGRATIONPLUGINGPIO_H
|
#define INTEGRATIONPLUGINGPIO_H
|
||||||
|
|
||||||
#include "integrations/integrationplugin.h"
|
#include <integrations/integrationplugin.h>
|
||||||
#include "plugintimer.h"
|
#include <plugintimer.h>
|
||||||
|
|
||||||
#include "gpiodescriptor.h"
|
#include "gpiodescriptor.h"
|
||||||
|
|
||||||
// libnymea-gpio
|
// libnymea-gpio
|
||||||
@ -57,7 +58,6 @@ public:
|
|||||||
void thingRemoved(Thing *thing) override;
|
void thingRemoved(Thing *thing) override;
|
||||||
void executeAction(ThingActionInfo *info) override;
|
void executeAction(ThingActionInfo *info) override;
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QHash<ThingClassId, ParamTypeId> m_gpioParamTypeIds;
|
QHash<ThingClassId, ParamTypeId> m_gpioParamTypeIds;
|
||||||
QHash<ThingClassId, ParamTypeId> m_activeLowParamTypeIds;
|
QHash<ThingClassId, ParamTypeId> m_activeLowParamTypeIds;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user