add forward declarations
This commit is contained in:
parent
91afe4f29e
commit
12a93c0898
@ -24,7 +24,6 @@
|
|||||||
|
|
||||||
#include "rule.h"
|
#include "rule.h"
|
||||||
#include "types/event.h"
|
#include "types/event.h"
|
||||||
#include "plugin/device.h"
|
|
||||||
#include "plugin/deviceplugin.h"
|
#include "plugin/deviceplugin.h"
|
||||||
#include "plugin/deviceclass.h"
|
#include "plugin/deviceclass.h"
|
||||||
#include "plugin/devicedescriptor.h"
|
#include "plugin/devicedescriptor.h"
|
||||||
@ -35,6 +34,8 @@
|
|||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
|
class Device;
|
||||||
|
|
||||||
namespace guhserver {
|
namespace guhserver {
|
||||||
|
|
||||||
class JsonRPCServer;
|
class JsonRPCServer;
|
||||||
|
|||||||
@ -22,7 +22,6 @@
|
|||||||
#ifndef JSONRPCSERVER_H
|
#ifndef JSONRPCSERVER_H
|
||||||
#define JSONRPCSERVER_H
|
#define JSONRPCSERVER_H
|
||||||
|
|
||||||
#include "plugin/device.h"
|
|
||||||
#include "plugin/deviceclass.h"
|
#include "plugin/deviceclass.h"
|
||||||
#include "jsonhandler.h"
|
#include "jsonhandler.h"
|
||||||
|
|
||||||
@ -33,6 +32,7 @@
|
|||||||
#include <QVariantMap>
|
#include <QVariantMap>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
|
class Device;
|
||||||
|
|
||||||
namespace guhserver {
|
namespace guhserver {
|
||||||
|
|
||||||
|
|||||||
@ -23,8 +23,6 @@
|
|||||||
#define JSONTYPES_H
|
#define JSONTYPES_H
|
||||||
|
|
||||||
#include "plugin/deviceclass.h"
|
#include "plugin/deviceclass.h"
|
||||||
#include "plugin/device.h"
|
|
||||||
#include "plugin/deviceplugin.h"
|
|
||||||
#include "plugin/devicedescriptor.h"
|
#include "plugin/devicedescriptor.h"
|
||||||
#include "rule.h"
|
#include "rule.h"
|
||||||
#include "devicemanager.h"
|
#include "devicemanager.h"
|
||||||
@ -46,6 +44,9 @@
|
|||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QMetaEnum>
|
#include <QMetaEnum>
|
||||||
|
|
||||||
|
class DevicePlugin;
|
||||||
|
class Device;
|
||||||
|
|
||||||
namespace guhserver {
|
namespace guhserver {
|
||||||
|
|
||||||
#define DECLARE_OBJECT(typeName, jsonName) \
|
#define DECLARE_OBJECT(typeName, jsonName) \
|
||||||
|
|||||||
@ -59,6 +59,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
class QStringList;
|
||||||
|
|
||||||
static QFile* f = 0;
|
static QFile* f = 0;
|
||||||
|
|
||||||
@ -205,7 +206,6 @@ void qtServiceLogDebug(QtMsgType type, const char* msg)
|
|||||||
*/
|
*/
|
||||||
namespace guhserver {
|
namespace guhserver {
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
Creates a controller object for the service with the given
|
Creates a controller object for the service with the given
|
||||||
\a name.
|
\a name.
|
||||||
|
|||||||
@ -100,6 +100,8 @@ private:
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(guhserver::RuleEngine::RuleError)
|
using namespace guhserver;
|
||||||
|
Q_DECLARE_METATYPE(RuleEngine::RuleError)
|
||||||
|
|
||||||
|
|
||||||
#endif // RULEENGINE_H
|
#endif // RULEENGINE_H
|
||||||
|
|||||||
Reference in New Issue
Block a user