removed deprecated gpiodescriptor files
parent
6a1cf29dc9
commit
07ad1dd6e5
|
|
@ -1,45 +0,0 @@
|
|||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* *
|
||||
* Copyright (C) 2016 Simon Stürz <simon.stuerz@guh.io> *
|
||||
* *
|
||||
* This file is part of nymea. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Lesser General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2.1 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with this library; If not, see *
|
||||
* <http://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
#include "gpiodescriptor.h"
|
||||
|
||||
GpioDescriptor::GpioDescriptor(const int &gpio, const int &pin, const QString &description):
|
||||
m_gpio(gpio),
|
||||
m_pin(pin),
|
||||
m_description(description)
|
||||
{
|
||||
}
|
||||
|
||||
int GpioDescriptor::gpio() const
|
||||
{
|
||||
return m_gpio;
|
||||
}
|
||||
|
||||
int GpioDescriptor::pin() const
|
||||
{
|
||||
return m_pin;
|
||||
}
|
||||
|
||||
QString GpioDescriptor::description() const
|
||||
{
|
||||
return m_description;
|
||||
}
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
||||
* *
|
||||
* Copyright (C) 2016 Simon Stürz <simon.stuerz@guh.io> *
|
||||
* *
|
||||
* This file is part of nymea. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Lesser General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2.1 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* Lesser General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Lesser General Public *
|
||||
* License along with this library; If not, see *
|
||||
* <http://www.gnu.org/licenses/>. *
|
||||
* *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
#ifndef GPIODESCRIPTOR_H
|
||||
#define GPIODESCRIPTOR_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
class GpioDescriptor
|
||||
{
|
||||
public:
|
||||
GpioDescriptor(const int &gpio, const int &pin, const QString &description = QString());
|
||||
|
||||
int gpio() const;
|
||||
int pin() const;
|
||||
QString description() const;
|
||||
|
||||
private:
|
||||
int m_gpio;
|
||||
int m_pin;
|
||||
QString m_description;
|
||||
};
|
||||
|
||||
#endif // GPIODESCRIPTOR_H
|
||||
|
|
@ -32,7 +32,6 @@
|
|||
#define UNIPI_H
|
||||
|
||||
#include <QObject>
|
||||
#include "gpiodescriptor.h"
|
||||
#include "mcp23008.h"
|
||||
#include "mcp342xchannel.h"
|
||||
#include "unipipwm.h"
|
||||
|
|
|
|||
Loading…
Reference in New Issue