libguh.h -> libnymea.h
This commit is contained in:
parent
34e387fa2b
commit
803ee32089
@ -23,7 +23,7 @@
|
||||
#ifndef NETWORKACCESSMANAGERIMPL_H
|
||||
#define NETWORKACCESSMANAGERIMPL_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
#include "network/networkaccessmanager.h"
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "hardwareresource.h"
|
||||
#include "hardware/radio433/radio433.h"
|
||||
#include "radio433brennenstuhlgateway.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include <QHostAddress>
|
||||
#include <QTimer>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
namespace guhserver {
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
#include <QQueue>
|
||||
#include <QDebug>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "hardware/gpio.h"
|
||||
|
||||
namespace guhserver {
|
||||
|
||||
@ -29,7 +29,7 @@
|
||||
#include <QPointer>
|
||||
#include <QQueue>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "coaprequest.h"
|
||||
#include "coapreply.h"
|
||||
#include "coapobserveresource.h"
|
||||
@ -45,7 +45,7 @@
|
||||
|
||||
Q_DECLARE_LOGGING_CATEGORY(dcCoap)
|
||||
|
||||
class LIBGUH_EXPORT Coap : public QObject
|
||||
class LIBNYMEA_EXPORT Coap : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@ -25,9 +25,9 @@
|
||||
#include <QHash>
|
||||
#include <QUrl>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
class LIBGUH_EXPORT CoapObserveResource
|
||||
class LIBNYMEA_EXPORT CoapObserveResource
|
||||
{
|
||||
public:
|
||||
CoapObserveResource();
|
||||
|
||||
@ -25,9 +25,9 @@
|
||||
#include <QObject>
|
||||
#include <QByteArray>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
class LIBGUH_EXPORT CoapOption
|
||||
class LIBNYMEA_EXPORT CoapOption
|
||||
{
|
||||
Q_GADGET
|
||||
Q_ENUMS(Option)
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#include <QDebug>
|
||||
#include <QObject>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "coapoption.h"
|
||||
#include "coappdublock.h"
|
||||
|
||||
@ -43,7 +43,7 @@
|
||||
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
*/
|
||||
|
||||
class LIBGUH_EXPORT CoapPdu : public QObject
|
||||
class LIBNYMEA_EXPORT CoapPdu : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_ENUMS(MessageType)
|
||||
|
||||
@ -23,9 +23,9 @@
|
||||
|
||||
#include <QByteArray>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
class LIBGUH_EXPORT CoapPduBlock
|
||||
class LIBNYMEA_EXPORT CoapPduBlock
|
||||
{
|
||||
public:
|
||||
CoapPduBlock();
|
||||
|
||||
@ -24,12 +24,12 @@
|
||||
#include <QObject>
|
||||
#include <QTimer>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "coappdu.h"
|
||||
#include "coapoption.h"
|
||||
#include "coaprequest.h"
|
||||
|
||||
class LIBGUH_EXPORT CoapReply : public QObject
|
||||
class LIBNYMEA_EXPORT CoapReply : public QObject
|
||||
{
|
||||
friend class Coap;
|
||||
|
||||
|
||||
@ -24,11 +24,11 @@
|
||||
#include <QUrl>
|
||||
#include <QHostAddress>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "coappdu.h"
|
||||
#include "coapoption.h"
|
||||
|
||||
class LIBGUH_EXPORT CoapRequest
|
||||
class LIBNYMEA_EXPORT CoapRequest
|
||||
{
|
||||
// friend class Coap;
|
||||
public:
|
||||
|
||||
@ -24,10 +24,10 @@
|
||||
#include <QObject>
|
||||
#include <QDebug>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "coappdu.h"
|
||||
|
||||
class LIBGUH_EXPORT CoreLink
|
||||
class LIBNYMEA_EXPORT CoreLink
|
||||
{
|
||||
public:
|
||||
CoreLink();
|
||||
|
||||
@ -23,12 +23,12 @@
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "corelink.h"
|
||||
|
||||
// Constrained RESTful Environments (CoRE) Link Format : http://tools.ietf.org/html/rfc6690
|
||||
|
||||
class LIBGUH_EXPORT CoreLinkParser : public QObject
|
||||
class LIBNYMEA_EXPORT CoreLinkParser : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#ifndef DEVICEMANAGER_H
|
||||
#define DEVICEMANAGER_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
#include "plugin/device.h"
|
||||
#include "plugin/devicedescriptor.h"
|
||||
@ -47,7 +47,7 @@ class DevicePlugin;
|
||||
class DevicePairingInfo;
|
||||
class HardwareManager;
|
||||
|
||||
class LIBGUH_EXPORT DeviceManager : public QObject
|
||||
class LIBNYMEA_EXPORT DeviceManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_ENUMS(DeviceError)
|
||||
|
||||
@ -26,11 +26,11 @@
|
||||
#include <QObject>
|
||||
#include <QVariant>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
class QSettings;
|
||||
|
||||
class LIBGUH_EXPORT GuhSettings : public QObject
|
||||
class LIBNYMEA_EXPORT GuhSettings : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@ -26,9 +26,9 @@
|
||||
#include <QObject>
|
||||
#include <QBluetoothDeviceInfo>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
class LIBGUH_EXPORT BluetoothDiscoveryReply : public QObject
|
||||
class LIBNYMEA_EXPORT BluetoothDiscoveryReply : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@ -29,9 +29,9 @@
|
||||
#include <QBluetoothServiceInfo>
|
||||
#include <QLowEnergyController>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
class LIBGUH_EXPORT BluetoothLowEnergyDevice : public QObject
|
||||
class LIBNYMEA_EXPORT BluetoothLowEnergyDevice : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@ -35,9 +35,9 @@
|
||||
#include "bluetoothdiscoveryreply.h"
|
||||
#include "bluetoothlowenergydevice.h"
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
class LIBGUH_EXPORT BluetoothLowEnergyManager : public HardwareResource
|
||||
class LIBNYMEA_EXPORT BluetoothLowEnergyManager : public HardwareResource
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@ -29,9 +29,9 @@
|
||||
#include <QFile>
|
||||
#include <QTextStream>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
class LIBGUH_EXPORT Gpio : public QObject
|
||||
class LIBNYMEA_EXPORT Gpio : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@ -28,10 +28,10 @@
|
||||
#include <QSocketNotifier>
|
||||
#include <QFile>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "gpio.h"
|
||||
|
||||
class LIBGUH_EXPORT GpioMonitor : public QObject
|
||||
class LIBNYMEA_EXPORT GpioMonitor : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include <QFile>
|
||||
#include <QDir>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
/* i.MX6 PWMs
|
||||
*
|
||||
@ -57,7 +57,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
class LIBGUH_EXPORT Pwm : public QObject
|
||||
class LIBNYMEA_EXPORT Pwm : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@ -25,10 +25,10 @@
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "hardwareresource.h"
|
||||
|
||||
class LIBGUH_EXPORT Radio433 : public HardwareResource
|
||||
class LIBNYMEA_EXPORT Radio433 : public HardwareResource
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
|
||||
#include <QThread>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "../gpio.h"
|
||||
|
||||
class LIBGUH_EXPORT Radio433Receiver : public QThread
|
||||
|
||||
@ -20,16 +20,16 @@
|
||||
* *
|
||||
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
||||
|
||||
#ifndef LIBGUH
|
||||
#define LIBGUH
|
||||
#ifndef LIBNYMEA_H
|
||||
#define LIBNYMEA_H
|
||||
|
||||
#include <QtCore/QtGlobal>
|
||||
|
||||
#if defined(LIBNYMEA_LIBRARY)
|
||||
# define LIBGUH_EXPORT Q_DECL_EXPORT
|
||||
# define LIBNYMEA_EXPORT Q_DECL_EXPORT
|
||||
#else
|
||||
# define LIBGUH_EXPORT Q_DECL_IMPORT
|
||||
# define LIBNYMEA_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
#endif // LIBGUH
|
||||
#endif // LIBNYMEA_H
|
||||
|
||||
@ -15,7 +15,7 @@ INSTALLS += target
|
||||
LIBS += -lavahi-common -lavahi-client
|
||||
|
||||
HEADERS += devicemanager.h \
|
||||
libguh.h \
|
||||
libnymea.h \
|
||||
typeutils.h \
|
||||
loggingcategories.h \
|
||||
guhsettings.h \
|
||||
|
||||
@ -30,9 +30,9 @@
|
||||
|
||||
#include <avahi-client/publish.h>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
class LIBGUH_EXPORT AvahiServiceEntry
|
||||
class LIBNYMEA_EXPORT AvahiServiceEntry
|
||||
{
|
||||
public:
|
||||
AvahiServiceEntry();
|
||||
|
||||
@ -26,11 +26,11 @@
|
||||
#include <QObject>
|
||||
#include <avahi-client/lookup.h>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "hardwareresource.h"
|
||||
#include "avahiserviceentry.h"
|
||||
|
||||
class LIBGUH_EXPORT QtAvahiServiceBrowser : public HardwareResource
|
||||
class LIBNYMEA_EXPORT QtAvahiServiceBrowser : public HardwareResource
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
#ifndef NETWORKACCESSMANAGER_H
|
||||
#define NETWORKACCESSMANAGER_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
#include "hardwareresource.h"
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
#include <QDebug>
|
||||
#include <QUrl>
|
||||
|
||||
class LIBGUH_EXPORT NetworkAccessManager : public HardwareResource
|
||||
class LIBNYMEA_EXPORT NetworkAccessManager : public HardwareResource
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@ -31,11 +31,11 @@
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QNetworkReply>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
// OAuth 2.0 - Resource Owner Password Credentials Grant: http://tools.ietf.org/html/rfc6749#section-4.3
|
||||
|
||||
class LIBGUH_EXPORT OAuth2 : public QObject
|
||||
class LIBNYMEA_EXPORT OAuth2 : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@ -25,10 +25,10 @@
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "upnpdevicedescriptor.h"
|
||||
|
||||
class LIBGUH_EXPORT UpnpDevice : public QObject
|
||||
class LIBNYMEA_EXPORT UpnpDevice : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
@ -27,11 +27,11 @@
|
||||
#include <QHostAddress>
|
||||
#include <QUrl>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
// reference: http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v1.1.pdf
|
||||
|
||||
class LIBGUH_EXPORT UpnpDeviceDescriptor
|
||||
class LIBNYMEA_EXPORT UpnpDeviceDescriptor
|
||||
{
|
||||
public:
|
||||
explicit UpnpDeviceDescriptor();
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
#include <QNetworkRequest>
|
||||
#include <QUrl>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "devicemanager.h"
|
||||
#include "hardwareresource.h"
|
||||
#include "upnpdiscoveryreply.h"
|
||||
@ -40,7 +40,7 @@
|
||||
// Discovering UPnP devices reference: http://upnp.org/specs/arch/UPnP-arch-DeviceArchitecture-v1.1.pdf
|
||||
// guh basic device reference: http://upnp.org/specs/basic/UPnP-basic-Basic-v1-Device.pdf
|
||||
|
||||
class LIBGUH_EXPORT UpnpDiscovery : public HardwareResource
|
||||
class LIBNYMEA_EXPORT UpnpDiscovery : public HardwareResource
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
#define DEVICE_H
|
||||
|
||||
#include "typeutils.h"
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
#include "types/deviceclass.h"
|
||||
#include "types/state.h"
|
||||
@ -35,7 +35,7 @@
|
||||
#include <QUuid>
|
||||
#include <QVariant>
|
||||
|
||||
class LIBGUH_EXPORT Device: public QObject
|
||||
class LIBNYMEA_EXPORT Device: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@ -24,13 +24,13 @@
|
||||
#ifndef DEVICEDESCRIPTION_H
|
||||
#define DEVICEDESCRIPTION_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
#include "types/param.h"
|
||||
|
||||
#include <QVariantMap>
|
||||
|
||||
class LIBGUH_EXPORT DeviceDescriptor
|
||||
class LIBNYMEA_EXPORT DeviceDescriptor
|
||||
{
|
||||
public:
|
||||
DeviceDescriptor();
|
||||
|
||||
@ -23,11 +23,11 @@
|
||||
#ifndef DEVICEPAIRINGINFO_H
|
||||
#define DEVICEPAIRINGINFO_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
#include "types/param.h"
|
||||
|
||||
class LIBGUH_EXPORT DevicePairingInfo
|
||||
class LIBNYMEA_EXPORT DevicePairingInfo
|
||||
{
|
||||
public:
|
||||
DevicePairingInfo();
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
|
||||
#include "devicemanager.h"
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
|
||||
#include "types/deviceclass.h"
|
||||
@ -46,7 +46,7 @@
|
||||
class Device;
|
||||
class DeviceManager;
|
||||
|
||||
class LIBGUH_EXPORT DevicePlugin: public QObject
|
||||
class LIBNYMEA_EXPORT DevicePlugin: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@ -24,13 +24,13 @@
|
||||
#ifndef ACTION_H
|
||||
#define ACTION_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
#include "param.h"
|
||||
|
||||
#include <QVariantList>
|
||||
|
||||
class LIBGUH_EXPORT Action
|
||||
class LIBNYMEA_EXPORT Action
|
||||
{
|
||||
public:
|
||||
explicit Action(const ActionTypeId &actionTypeId = ActionTypeId(), const DeviceId &deviceId = DeviceId());
|
||||
|
||||
@ -24,13 +24,13 @@
|
||||
#ifndef ACTIONTYPE_H
|
||||
#define ACTIONTYPE_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
#include "paramtype.h"
|
||||
|
||||
#include <QVariantList>
|
||||
|
||||
class LIBGUH_EXPORT ActionType
|
||||
class LIBNYMEA_EXPORT ActionType
|
||||
{
|
||||
public:
|
||||
ActionType(const ActionTypeId &id);
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#ifndef DEVICECLASS_H
|
||||
#define DEVICECLASS_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
#include "types/vendor.h"
|
||||
#include "types/eventtype.h"
|
||||
@ -35,7 +35,7 @@
|
||||
#include <QList>
|
||||
#include <QUuid>
|
||||
|
||||
class LIBGUH_EXPORT DeviceClass
|
||||
class LIBNYMEA_EXPORT DeviceClass
|
||||
{
|
||||
Q_GADGET
|
||||
Q_ENUMS(CreateMethod)
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#ifndef EVENT_H
|
||||
#define EVENT_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
#include "types/param.h"
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
#include <QVariantList>
|
||||
#include <QDebug>
|
||||
|
||||
class LIBGUH_EXPORT Event
|
||||
class LIBNYMEA_EXPORT Event
|
||||
{
|
||||
public:
|
||||
Event();
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#ifndef EVENTDESCRIPTOR_H
|
||||
#define EVENTDESCRIPTOR_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
#include "paramdescriptor.h"
|
||||
#include "event.h"
|
||||
@ -33,7 +33,7 @@
|
||||
#include <QVariantList>
|
||||
#include <QDebug>
|
||||
|
||||
class LIBGUH_EXPORT EventDescriptor
|
||||
class LIBNYMEA_EXPORT EventDescriptor
|
||||
{
|
||||
public:
|
||||
enum Type {
|
||||
|
||||
@ -24,13 +24,13 @@
|
||||
#ifndef TRIGGERTYPE_H
|
||||
#define TRIGGERTYPE_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
#include "paramtype.h"
|
||||
|
||||
#include <QVariantMap>
|
||||
|
||||
class LIBGUH_EXPORT EventType
|
||||
class LIBNYMEA_EXPORT EventType
|
||||
{
|
||||
public:
|
||||
EventType(const EventTypeId &id);
|
||||
|
||||
@ -24,13 +24,13 @@
|
||||
#ifndef PARAM_H
|
||||
#define PARAM_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
|
||||
#include <QString>
|
||||
#include <QVariant>
|
||||
|
||||
class LIBGUH_EXPORT Param
|
||||
class LIBNYMEA_EXPORT Param
|
||||
{
|
||||
public:
|
||||
Param(const ParamTypeId ¶mTypeId = ParamTypeId(), const QVariant &value = QVariant());
|
||||
@ -50,7 +50,7 @@ private:
|
||||
Q_DECLARE_METATYPE(Param)
|
||||
QDebug operator<<(QDebug dbg, const Param ¶m);
|
||||
|
||||
class LIBGUH_EXPORT ParamList: public QList<Param>
|
||||
class LIBNYMEA_EXPORT ParamList: public QList<Param>
|
||||
{
|
||||
public:
|
||||
bool hasParam(const ParamTypeId ¶mTypeId) const;
|
||||
|
||||
@ -24,12 +24,12 @@
|
||||
#ifndef PARAMDESCRIPTOR_H
|
||||
#define PARAMDESCRIPTOR_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
#include "param.h"
|
||||
#include "typeutils.h"
|
||||
|
||||
class LIBGUH_EXPORT ParamDescriptor : public Param
|
||||
class LIBNYMEA_EXPORT ParamDescriptor : public Param
|
||||
{
|
||||
public:
|
||||
ParamDescriptor(const ParamTypeId ¶mTypeId, const QVariant &value = QVariant());
|
||||
|
||||
@ -27,10 +27,10 @@
|
||||
#include <QVariant>
|
||||
#include <QDebug>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
|
||||
class LIBGUH_EXPORT ParamType
|
||||
class LIBNYMEA_EXPORT ParamType
|
||||
{
|
||||
public:
|
||||
ParamType() = default;
|
||||
|
||||
@ -24,11 +24,11 @@
|
||||
#ifndef RULEACTION_H
|
||||
#define RULEACTION_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "action.h"
|
||||
#include "ruleactionparam.h"
|
||||
|
||||
class LIBGUH_EXPORT RuleAction
|
||||
class LIBNYMEA_EXPORT RuleAction
|
||||
{
|
||||
public:
|
||||
enum Type {
|
||||
|
||||
@ -29,10 +29,10 @@
|
||||
#include <QVariant>
|
||||
|
||||
#include "param.h"
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
|
||||
class LIBGUH_EXPORT RuleActionParam
|
||||
class LIBNYMEA_EXPORT RuleActionParam
|
||||
{
|
||||
public:
|
||||
RuleActionParam(const Param ¶m = Param());
|
||||
@ -64,7 +64,7 @@ private:
|
||||
Q_DECLARE_METATYPE(RuleActionParam)
|
||||
QDebug operator<<(QDebug dbg, const RuleActionParam &ruleActionParam);
|
||||
|
||||
class LIBGUH_EXPORT RuleActionParamList: public QList<RuleActionParam>
|
||||
class LIBNYMEA_EXPORT RuleActionParamList: public QList<RuleActionParam>
|
||||
{
|
||||
public:
|
||||
bool hasParam(const ParamTypeId &ruleActionParamTypeId) const;
|
||||
|
||||
@ -24,13 +24,13 @@
|
||||
#ifndef STATE_H
|
||||
#define STATE_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
|
||||
#include <QVariant>
|
||||
#include <QDebug>
|
||||
|
||||
class LIBGUH_EXPORT State
|
||||
class LIBNYMEA_EXPORT State
|
||||
{
|
||||
public:
|
||||
State(const StateTypeId &stateTypeId, const DeviceId &deviceId);
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#ifndef STATEDESCRIPTOR_H
|
||||
#define STATEDESCRIPTOR_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
#include "paramdescriptor.h"
|
||||
#include "state.h"
|
||||
@ -34,7 +34,7 @@
|
||||
#include <QVariantList>
|
||||
#include <QDebug>
|
||||
|
||||
class LIBGUH_EXPORT StateDescriptor
|
||||
class LIBNYMEA_EXPORT StateDescriptor
|
||||
{
|
||||
public:
|
||||
StateDescriptor();
|
||||
|
||||
@ -25,12 +25,12 @@
|
||||
#ifndef STATETYPE_H
|
||||
#define STATETYPE_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
|
||||
#include <QVariant>
|
||||
|
||||
class LIBGUH_EXPORT StateType
|
||||
class LIBNYMEA_EXPORT StateType
|
||||
{
|
||||
public:
|
||||
StateType(const StateTypeId &id);
|
||||
|
||||
@ -24,12 +24,12 @@
|
||||
#ifndef VENDOR_H
|
||||
#define VENDOR_H
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
#include "typeutils.h"
|
||||
|
||||
#include <QString>
|
||||
|
||||
class LIBGUH_EXPORT Vendor
|
||||
class LIBNYMEA_EXPORT Vendor
|
||||
{
|
||||
public:
|
||||
Vendor(const VendorId &id, const QString &name = QString());
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
#include <QMetaType>
|
||||
#include <QUuid>
|
||||
|
||||
#include "libguh.h"
|
||||
#include "libnymea.h"
|
||||
|
||||
#define DECLARE_TYPE_ID(type) class type##Id: public QUuid \
|
||||
{ \
|
||||
@ -60,7 +60,7 @@ DECLARE_TYPE_ID(Rule)
|
||||
|
||||
DECLARE_TYPE_ID(PairingTransaction)
|
||||
|
||||
class LIBGUH_EXPORT Types
|
||||
class LIBNYMEA_EXPORT Types
|
||||
{
|
||||
Q_GADGET
|
||||
Q_ENUMS(InputType)
|
||||
|
||||
Reference in New Issue
Block a user