namespace guhserver -> namespace nymeaserver

pull/135/head
Michael Zanetti 2018-01-30 12:09:15 +01:00
parent 34d68ab38a
commit 36d4f89b24
180 changed files with 340 additions and 340 deletions

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::BluetoothServer
\class nymeaserver::BluetoothServer
\brief This class represents the bluetooth server for nymead.
\ingroup server
@ -40,7 +40,7 @@
#include <QJsonDocument>
#include <QBluetoothLocalDevice>
namespace guhserver {
namespace nymeaserver {
static const QBluetoothUuid serviceUuid(QUuid("997936b5-d2cd-4c57-b41b-c6048320cd2b"));
/*! Constructs a \l{BluetoothServer} with the given \a parent. */

View File

@ -27,7 +27,7 @@
#include "transportinterface.h"
namespace guhserver {
namespace nymeaserver {
class BluetoothServer : public TransportInterface
{

View File

@ -28,7 +28,7 @@
#include <QUuid>
#include <QDebug>
namespace guhserver {
namespace nymeaserver {
void CertificateGenerator::generate(const QString &certificateFilename, const QString &keyFilename)
{

View File

@ -23,7 +23,7 @@
#include <QString>
namespace guhserver {
namespace nymeaserver {
class CertificateGenerator
{

View File

@ -28,7 +28,7 @@
#include <QXmlStreamWriter>
#include <QCoreApplication>
namespace guhserver {
namespace nymeaserver {
DebugServerHandler::DebugServerHandler(QObject *parent) : QObject(parent)
{

View File

@ -25,7 +25,7 @@
#include "httpreply.h"
namespace guhserver {
namespace nymeaserver {
class DebugServerHandler : public QObject
{

View File

@ -24,7 +24,7 @@
#include <QTimer>
namespace guhserver {
namespace nymeaserver {
BluetoothDiscoveryReplyImplementation::BluetoothDiscoveryReplyImplementation(QObject *parent) :
BluetoothDiscoveryReply(parent)

View File

@ -28,7 +28,7 @@
#include "hardware/bluetoothlowenergy/bluetoothdiscoveryreply.h"
namespace guhserver {
namespace nymeaserver {
class BluetoothDiscoveryReplyImplementation : public BluetoothDiscoveryReply
{

View File

@ -23,7 +23,7 @@
#include "bluetoothlowenergydeviceimplementation.h"
#include "loggingcategories.h"
namespace guhserver {
namespace nymeaserver {
QString BluetoothLowEnergyDeviceImplementation::name() const
{

View File

@ -31,7 +31,7 @@
#include "hardware/bluetoothlowenergy/bluetoothlowenergydevice.h"
namespace guhserver {
namespace nymeaserver {
class BluetoothLowEnergyDeviceImplementation : public BluetoothLowEnergyDevice
{

View File

@ -23,7 +23,7 @@
#include "bluetoothlowenergymanagerimplementation.h"
#include "loggingcategories.h"
namespace guhserver {
namespace nymeaserver {
BluetoothLowEnergyManagerImplementation::BluetoothLowEnergyManagerImplementation(PluginTimer *reconnectTimer, QObject *parent) :
BluetoothLowEnergyManager(parent),

View File

@ -36,7 +36,7 @@
#include "hardware/bluetoothlowenergy/bluetoothdiscoveryreplyimplementation.h"
#include "hardware/bluetoothlowenergy/bluetoothlowenergydeviceimplementation.h"
namespace guhserver {
namespace nymeaserver {
class BluetoothLowEnergyManagerImplementation : public BluetoothLowEnergyManager
{

View File

@ -29,7 +29,7 @@
#include <avahi-common/error.h>
namespace guhserver {
namespace nymeaserver {
QtAvahiClient::QtAvahiClient(QObject *parent) :
QObject(parent),

View File

@ -26,7 +26,7 @@
#include <QObject>
#include <avahi-client/client.h>
namespace guhserver {
namespace nymeaserver {
class QtAvahiClient : public QObject
{

View File

@ -52,7 +52,7 @@
#include "qtavahiservice_p.h"
#include "loggingcategories.h"
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l{QtAvahiService} with the given \a parent. */
QtAvahiService::QtAvahiService(QObject *parent) :

View File

@ -28,7 +28,7 @@
#include <QObject>
namespace guhserver {
namespace nymeaserver {
class QtAvahiServicePrivate;

View File

@ -27,7 +27,7 @@
#include <QHash>
#include <QStringList>
namespace guhserver {
namespace nymeaserver {
QtAvahiServicePrivate::QtAvahiServicePrivate() :
client(0),

View File

@ -33,7 +33,7 @@
#include <avahi-common/error.h>
#include <avahi-common/alternative.h>
namespace guhserver {
namespace nymeaserver {
class QtAvahiServicePrivate
{

View File

@ -42,7 +42,7 @@
#include <avahi-common/error.h>
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l{QtAvahiServiceBrowserImplementation} with the given \a parent. */
QtAvahiServiceBrowserImplementation::QtAvahiServiceBrowserImplementation(QObject *parent) :

View File

@ -32,7 +32,7 @@
#include "network/avahi/qtavahiservicebrowser.h"
namespace guhserver {
namespace nymeaserver {
class QtAvahiServiceBrowserImplementationPrivate;

View File

@ -28,7 +28,7 @@
#include <avahi-common/strlst.h>
#include <avahi-common/error.h>
namespace guhserver {
namespace nymeaserver {
QtAvahiServiceBrowserImplementationPrivate::QtAvahiServiceBrowserImplementationPrivate(QtAvahiClient *client) :
client(client),

View File

@ -31,7 +31,7 @@
#include "qtavahiservice.h"
namespace guhserver {
namespace nymeaserver {
class QtAvahiServiceTypeBrowserImplementation;

View File

@ -35,7 +35,7 @@
#include "networkaccessmanagerimpl.h"
#include "loggingcategories.h"
namespace guhserver {
namespace nymeaserver {
/*! Construct the hardware resource NetworkAccessManagerImpl with the given \a parent. */
NetworkAccessManagerImpl::NetworkAccessManagerImpl(QNetworkAccessManager *networkManager, QObject *parent) :

View File

@ -34,7 +34,7 @@
#include <QDebug>
#include <QUrl>
namespace guhserver {
namespace nymeaserver {
class NetworkAccessManagerImpl : public NetworkAccessManager
{

View File

@ -53,7 +53,7 @@
#include <QXmlStreamReader>
#include <QXmlStreamWriter>
namespace guhserver {
namespace nymeaserver {
/*! Construct the hardware resource UpnpDiscoveryImplementation with the given \a parent. */
UpnpDiscoveryImplementation::UpnpDiscoveryImplementation(QNetworkAccessManager *networkAccessManager, QObject *parent) :

View File

@ -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
namespace guhserver {
namespace nymeaserver {
class UpnpDiscoveryImplementation : public UpnpDiscovery
{

View File

@ -24,7 +24,7 @@
#include <QTimer>
namespace guhserver {
namespace nymeaserver {
UpnpDiscoveryReplyImplementation::UpnpDiscoveryReplyImplementation(const QString &searchTarget, const QString &userAgent, QObject *parent) :
UpnpDiscoveryReply(parent),

View File

@ -28,7 +28,7 @@
#include "network/upnp/upnpdiscoveryreply.h"
#include "network/upnp/upnpdevicedescriptor.h"
namespace guhserver {
namespace nymeaserver {
class UpnpDiscoveryReplyImplementation : public UpnpDiscoveryReply
{

View File

@ -23,7 +23,7 @@
#include "upnpdiscoveryrequest.h"
#include "loggingcategories.h"
namespace guhserver {
namespace nymeaserver {
UpnpDiscoveryRequest::UpnpDiscoveryRequest(UpnpDiscovery *upnpDiscovery, QPointer<UpnpDiscoveryReplyImplementation> reply):
QObject(upnpDiscovery),

View File

@ -36,7 +36,7 @@
class UpnpDiscovery;
namespace guhserver {
namespace nymeaserver {
class UpnpDiscoveryRequest : public QObject
{

View File

@ -24,7 +24,7 @@
#include "loggingcategories.h"
#include "nymeacore.h"
namespace guhserver {
namespace nymeaserver {
PluginTimerImplementation::PluginTimerImplementation(int intervall, QObject *parent) :
PluginTimer(parent),

View File

@ -29,7 +29,7 @@
#include "plugintimer.h"
namespace guhserver {
namespace nymeaserver {
class PluginTimerImplementation : public PluginTimer
{

View File

@ -53,7 +53,7 @@
#include <QFileInfo>
namespace guhserver {
namespace nymeaserver {
/*! Construct the hardware resource Radio433 with the given \a parent. Each possible 433 MHz hardware will be initialized here. */
Radio433Brennenstuhl::Radio433Brennenstuhl(QObject *parent) :

View File

@ -30,7 +30,7 @@
#include "hardware/radio433/radio433.h"
#include "radio433brennenstuhlgateway.h"
namespace guhserver {
namespace nymeaserver {
class Radio433Brennenstuhl : public Radio433
{

View File

@ -23,7 +23,7 @@
#include "radio433brennenstuhlgateway.h"
#include "loggingcategories.h"
namespace guhserver {
namespace nymeaserver {
Radio433BrennenstuhlGateway::Radio433BrennenstuhlGateway(QObject *parent) :
QObject(parent)

View File

@ -30,7 +30,7 @@
#include "libnymea.h"
namespace guhserver {
namespace nymeaserver {
class Radio433BrennenstuhlGateway : public QObject
{

View File

@ -22,7 +22,7 @@
#include "radio433transmitter.h"
namespace guhserver {
namespace nymeaserver {
Radio433Trasmitter::Radio433Trasmitter(QObject *parent, int gpio) :
QThread(parent),m_gpioPin(gpio)

View File

@ -32,7 +32,7 @@
#include "libnymea.h"
#include "hardware/gpio.h"
namespace guhserver {
namespace nymeaserver {
class Radio433Trasmitter : public QThread
{

View File

@ -30,7 +30,7 @@
#include "hardware/bluetoothlowenergy/bluetoothlowenergymanagerimplementation.h"
#include "hardware/network/avahi/qtavahiservicebrowserimplementation.h"
namespace guhserver {
namespace nymeaserver {
HardwareManagerImplementation::HardwareManagerImplementation(QObject *parent) :
HardwareManager(parent)

View File

@ -38,7 +38,7 @@ class QtAvahiServiceBrowser;
class BluetoothLowEnergyManager;
namespace guhserver {
namespace nymeaserver {
class HardwareManagerImplementation : public HardwareManager
{

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::HttpReply
\class nymeaserver::HttpReply
\brief Represents a reply of the guh webserver to a \l{HttpRequest}.
\ingroup api
@ -31,7 +31,7 @@
\note RFC 7231 HTTP/1.1 Semantics and Content -> \l{http://tools.ietf.org/html/rfc7231}{http://tools.ietf.org/html/rfc7231}
*/
/*! \enum guhserver::HttpReply::HttpStatusCode
/*! \enum nymeaserver::HttpReply::HttpStatusCode
This enum type specifies the status code of a HTTP webserver reply.
@ -75,7 +75,7 @@
The HTTP version is not supported. The only supported version is HTTP/1.1.
*/
/*! \enum guhserver::HttpReply::HttpHeaderType
/*! \enum nymeaserver::HttpReply::HttpHeaderType
This enum type specifies the known type of a header in a HTTP webserver reply.
You can find more information here: \l{http://tools.ietf.org/html/rfc7231#section-5}
@ -99,7 +99,7 @@
The name of the server i.e. "Server: guh/0.6.0"
*/
/*! \enum guhserver::HttpReply::Type
/*! \enum nymeaserver::HttpReply::Type
This enum type describes the type of this \l{HttpReply}. There are two types:
@ -109,23 +109,23 @@
The \l{HttpReply} is asynchron and has to be responded later.
*/
/*! \fn void guhserver::HttpReply::finished();
/*! \fn void nymeaserver::HttpReply::finished();
This signal is emitted when this async \l{HttpReply} is finished.
*/
/*! \fn guhserver::HttpReply::HttpReply(QObject *parent);
/*! \fn nymeaserver::HttpReply::HttpReply(QObject *parent);
Construct an empty \l{HttpReply} with the given \a parent.
*/
/*! \fn guhserver::HttpReply::HttpReply(const HttpStatusCode &statusCode, const Type &type, QObject *parent);
/*! \fn nymeaserver::HttpReply::HttpReply(const HttpStatusCode &statusCode, const Type &type, QObject *parent);
Construct a \l{HttpReply} with the given \a statusCode, \a type and \a parent.
*/
/*! \fn void guhserver::HttpReply::setHttpStatusCode(const HttpStatusCode &statusCode);
/*! \fn void nymeaserver::HttpReply::setHttpStatusCode(const HttpStatusCode &statusCode);
Set the \l{HttpStatusCode} of this \l{HttpReply} to the given \a statusCode.
*/
/*! \fn QDebug guhserver::operator<< (QDebug debug, const HttpReply &httpReply);
/*! \fn QDebug nymeaserver::operator<< (QDebug debug, const HttpReply &httpReply);
Writes the given \l{HttpReply} \a httpReply to the given \a debug. This method gets used just for debugging.
*/
@ -139,7 +139,7 @@
#include <QPair>
#include <QDebug>
namespace guhserver {
namespace nymeaserver {
HttpReply::HttpReply(QObject *parent) :
QObject(parent),

View File

@ -29,7 +29,7 @@
// Note: RFC 7231 HTTP/1.1 Semantics and Content -> http://tools.ietf.org/html/rfc7231
namespace guhserver {
namespace nymeaserver {
class HttpReply: public QObject
{

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::HttpRequest
\class nymeaserver::HttpRequest
\brief Represents a HTTP request from a client to the guh \l{WebServer}.
\ingroup api
@ -31,7 +31,7 @@
*/
/*! \enum guhserver::HttpRequest::RequestMethod
/*! \enum nymeaserver::HttpRequest::RequestMethod
This enum type describes the method of a \l{HttpRequest}. Following methods are allowed/handled:
@ -49,7 +49,7 @@
Represents every other method which is not handled.
*/
/*! \fn QDebug guhserver::operator<< (QDebug debug, const HttpRequest &httpRequest);
/*! \fn QDebug nymeaserver::operator<< (QDebug debug, const HttpRequest &httpRequest);
Writes the \l{HttpRequest} \a httpRequest to the given \a debug. This method gets used just for debugging.
*/
@ -58,7 +58,7 @@
#include <QUrlQuery>
namespace guhserver {
namespace nymeaserver {
/*! Construct an empty \l{HttpRequest}. */
HttpRequest::HttpRequest() :

View File

@ -26,7 +26,7 @@
#include <QString>
#include <QHash>
namespace guhserver {
namespace nymeaserver {
class HttpRequest
{

View File

@ -20,7 +20,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::ActionHandler
\class nymeaserver::ActionHandler
\brief This subclass of \l{JsonHandler} processes the JSON requests for the \tt Actions namespace.
\ingroup json
@ -39,7 +39,7 @@
#include "types/action.h"
#include "loggingcategories.h"
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l ActionHandler with the given \a parent. */
ActionHandler::ActionHandler(QObject *parent) :

View File

@ -25,7 +25,7 @@
#include "jsonhandler.h"
#include "devicemanager.h"
namespace guhserver {
namespace nymeaserver {
class ActionHandler : public JsonHandler
{

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::ConfigurationHandler
\class nymeaserver::ConfigurationHandler
\brief This subclass of \l{JsonHandler} processes the JSON requests for the \tt Configuration namespace.
\ingroup json
@ -31,27 +31,27 @@
\sa JsonHandler, JsonRPCServer
*/
/*! \fn void guhserver::ConfigurationHandler::BasicConfigurationChanged(const QVariantMap &params);
/*! \fn void nymeaserver::ConfigurationHandler::BasicConfigurationChanged(const QVariantMap &params);
This signal is emitted to the API notifications when the configurations of the server have been changed.
The \a params contains the map for the notification.
*/
/*! \fn void guhserver::ConfigurationHandler::TcpServerConfigurationChanged(const QVariantMap &params);
/*! \fn void nymeaserver::ConfigurationHandler::TcpServerConfigurationChanged(const QVariantMap &params);
This signal is emitted to the API notifications when the configurations of the \l{TcpServer} have been changed.
The \a params contains the map for the notification.
*/
/*! \fn void guhserver::ConfigurationHandler::WebServerConfigurationChanged(const QVariantMap &params);
/*! \fn void nymeaserver::ConfigurationHandler::WebServerConfigurationChanged(const QVariantMap &params);
This signal is emitted to the API notifications when the configurations of the \l{WebServer} have been changed.
The \a params contains the map for the notification.
*/
/*! \fn void guhserver::ConfigurationHandler::WebSocketServerConfigurationChanged(const QVariantMap &params);
/*! \fn void nymeaserver::ConfigurationHandler::WebSocketServerConfigurationChanged(const QVariantMap &params);
This signal is emitted to the API notifications when the configurations of the \l{WebSocketServer} have been changed.
The \a params contains the map for the notification.
*/
/*! \fn void guhserver::ConfigurationHandler::LanguageChanged(const QVariantMap &params);
/*! \fn void nymeaserver::ConfigurationHandler::LanguageChanged(const QVariantMap &params);
This signal is emitted to the API notifications when the language of the system has changed.
The \a params contains the map for the notification.
*/
@ -61,7 +61,7 @@
#include "configurationhandler.h"
#include "nymeacore.h"
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l ConfigurationHandler with the given \a parent. */
ConfigurationHandler::ConfigurationHandler(QObject *parent):

View File

@ -25,7 +25,7 @@
#include "jsonhandler.h"
namespace guhserver {
namespace nymeaserver {
class ConfigurationHandler : public JsonHandler
{

View File

@ -20,7 +20,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::DeviceHandler
\class nymeaserver::DeviceHandler
\brief This subclass of \l{JsonHandler} processes the JSON requests for the \tt Devices namespace of the JSON-RPC API.
\ingroup json
@ -33,22 +33,22 @@
*/
/*! \fn void guhserver::DeviceHandler::StateChanged(const QVariantMap &params);
/*! \fn void nymeaserver::DeviceHandler::StateChanged(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{State} has changed.
The \a params contain the map for the notification.
*/
/*! \fn void guhserver::DeviceHandler::DeviceRemoved(const QVariantMap &params);
/*! \fn void nymeaserver::DeviceHandler::DeviceRemoved(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{Device} has been removed.
The \a params contain the map for the notification.
*/
/*! \fn void guhserver::DeviceHandler::DeviceAdded(const QVariantMap &params);
/*! \fn void nymeaserver::DeviceHandler::DeviceAdded(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{Device} has been added.
The \a params contain the map for the notification.
*/
/*! \fn void guhserver::DeviceHandler::DeviceChanged(const QVariantMap &params);
/*! \fn void nymeaserver::DeviceHandler::DeviceChanged(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{Device} has been changed or reconfigured.
The \a params contain the map for the notification.
*/
@ -63,7 +63,7 @@
#include <QDebug>
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l DeviceHandler with the given \a parent. */
DeviceHandler::DeviceHandler(QObject *parent) :

View File

@ -25,7 +25,7 @@
#include "jsonhandler.h"
#include "devicemanager.h"
namespace guhserver {
namespace nymeaserver {
class DeviceHandler : public JsonHandler
{

View File

@ -20,7 +20,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::EventHandler
\class nymeaserver::EventHandler
\brief This subclass of \l{JsonHandler} processes the JSON requests for the \tt Events namespace.
\ingroup json
@ -32,7 +32,7 @@
\sa Event, JsonHandler, JsonRPCServer
*/
/*! \fn void guhserver::EventHandler::EventTriggered(const QVariantMap &params);
/*! \fn void nymeaserver::EventHandler::EventTriggered(const QVariantMap &params);
This signal is emitted to the API notifications when an \l{Event} triggered.
The \a params contain the map for the notification.
*/
@ -41,7 +41,7 @@
#include "nymeacore.h"
#include "loggingcategories.h"
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l EventHandler with the given \a parent. */
EventHandler::EventHandler(QObject *parent) :

View File

@ -24,7 +24,7 @@
#include "jsonhandler.h"
namespace guhserver {
namespace nymeaserver {
class EventHandler : public JsonHandler
{

View File

@ -20,7 +20,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::JsonHandler
\class nymeaserver::JsonHandler
\brief This class represents an interface for developing a handler for the JSON-RPC API.
\ingroup json
@ -29,11 +29,11 @@
\sa JsonRPCServer, JsonReply
*/
/*! \fn QString guhserver::JsonHandler::name() const;
/*! \fn QString nymeaserver::JsonHandler::name() const;
Pure virtual method for a JSON RPC handler. Returns the namespace of the handler.
*/
/*! \fn void guhserver::JsonHandler::asyncReply(int id, const QVariantMap &params);
/*! \fn void nymeaserver::JsonHandler::asyncReply(int id, const QVariantMap &params);
This signal will be emitted when a reply with the given \a id and \a params is finished.
*/
@ -45,7 +45,7 @@
#include <QDebug>
#include <QRegExp>
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l JsonHandler with the given \a parent. */
JsonHandler::JsonHandler(QObject *parent) :
@ -222,7 +222,7 @@ QVariantMap JsonHandler::statusToReply(NetworkManager::NetworkManagerError statu
/*!
\class guhserver::JsonReply
\class nymeaserver::JsonReply
\brief This class represents a reply for the JSON-RPC API request.
\ingroup json
@ -231,7 +231,7 @@ QVariantMap JsonHandler::statusToReply(NetworkManager::NetworkManagerError statu
\sa JsonHandler, JsonRPCServer
*/
/*! \enum guhserver::JsonReply::Type
/*! \enum nymeaserver::JsonReply::Type
This enum type specifies the type of a JsonReply.
@ -241,7 +241,7 @@ QVariantMap JsonHandler::statusToReply(NetworkManager::NetworkManagerError statu
The response is asynchronous.
*/
/*! \fn void guhserver::JsonReply::finished();
/*! \fn void nymeaserver::JsonReply::finished();
This signal will be emitted when a JsonReply is finished. A JsonReply is finished when
the response is ready or then the reply timed out.
*/

View File

@ -29,7 +29,7 @@
#include <QMetaMethod>
#include <QTimer>
namespace guhserver {
namespace nymeaserver {
class JsonHandler;

View File

@ -20,7 +20,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::JsonRPCServer
\class nymeaserver::JsonRPCServer
\brief This class provides a JSON-RPC API interface to the \l{TransportInterface}{TransportInterfaces}.
\ingroup server
@ -62,7 +62,7 @@
#include <QStringList>
#include <QSslConfiguration>
namespace guhserver {
namespace nymeaserver {
/*! Constructs a \l{JsonRPCServer} with the given \a sslConfiguration and \a parent. */
JsonRPCServer::JsonRPCServer(const QSslConfiguration &sslConfiguration, QObject *parent):

View File

@ -37,7 +37,7 @@
class Device;
namespace guhserver {
namespace nymeaserver {
class JsonRPCServer: public JsonHandler
{

View File

@ -21,7 +21,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::JsonTypes
\class nymeaserver::JsonTypes
\brief This class represents the types for the JSON-RPC API.
\ingroup json
@ -32,7 +32,7 @@
*/
/*! \enum guhserver::JsonTypes::BasicType
/*! \enum nymeaserver::JsonTypes::BasicType
This enum type specifies the basic types of a JSON RPC API.
@ -62,7 +62,7 @@
#include <QDebug>
#include <QMetaEnum>
namespace guhserver {
namespace nymeaserver {
bool JsonTypes::s_initialized = false;
QString JsonTypes::s_lastError;

View File

@ -62,7 +62,7 @@
class DevicePlugin;
class Device;
namespace guhserver {
namespace nymeaserver {
#define DECLARE_OBJECT(typeName, jsonName) \
public: \

View File

@ -20,7 +20,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::LoggingHandler
\class nymeaserver::LoggingHandler
\brief This subclass of \l{JsonHandler} processes the JSON requests for the \tt Logging namespace of the JSON-RPC API.
\ingroup json
@ -32,12 +32,12 @@
\sa LogEngine, JsonHandler, JsonRPCServer
*/
/*! \fn void guhserver::LoggingHandler::LogEntryAdded(const QVariantMap &params);
/*! \fn void nymeaserver::LoggingHandler::LogEntryAdded(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{LogEntry} was added to the database.
The \a params contain the map for the notification.
*/
/*! \fn void guhserver::LoggingHandler::LogDatabaseUpdated(const QVariantMap &params);
/*! \fn void nymeaserver::LoggingHandler::LogDatabaseUpdated(const QVariantMap &params);
This signal is emitted to the API notifications when the logging aatabase has been updated (i.e. \l{Device} or \l{Rule} removed).
The \a params contain the map for the notification.
*/
@ -48,7 +48,7 @@
#include "loggingcategories.h"
#include "nymeacore.h"
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l LoggingHandler with the given \a parent. */
LoggingHandler::LoggingHandler(QObject *parent) :

View File

@ -25,7 +25,7 @@
#include "jsonhandler.h"
#include "logging/logentry.h"
namespace guhserver {
namespace nymeaserver {
class LoggingHandler : public JsonHandler
{

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::NetworkManagerHandler
\class nymeaserver::NetworkManagerHandler
\brief This subclass of \l{JsonHandler} processes the JSON requests for the \tt NetworkManager namespace of the JSON-RPC API.
\ingroup json
@ -31,37 +31,37 @@
\sa NetworkManager, JsonHandler, JsonRPCServer
*/
/*! \fn void guhserver::NetworkManagerHandler::NetworkStatusChanged(const QVariantMap &params);
/*! \fn void nymeaserver::NetworkManagerHandler::NetworkStatusChanged(const QVariantMap &params);
This signal is emitted to the API notifications when the state of the \l{NetworkManager} has changed.
The \a params contains the map for the notification.
*/
/*! \fn void guhserver::NetworkManagerHandler::WiredNetworkDeviceAdded(const QVariantMap &params);
/*! \fn void nymeaserver::NetworkManagerHandler::WiredNetworkDeviceAdded(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{WiredNetworkDevice} has been added to the \l{NetworkManager}.
The \a params contains the map for the notification.
*/
/*! \fn void guhserver::NetworkManagerHandler::WiredNetworkDeviceRemoved(const QVariantMap &params);
/*! \fn void nymeaserver::NetworkManagerHandler::WiredNetworkDeviceRemoved(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{WiredNetworkDevice} has been removed from the \l{NetworkManager}.
The \a params contains the map for the notification.
*/
/*! \fn void guhserver::NetworkManagerHandler::WiredNetworkDeviceChanged(const QVariantMap &params);
/*! \fn void nymeaserver::NetworkManagerHandler::WiredNetworkDeviceChanged(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{WiredNetworkDevice} has changed in the \l{NetworkManager}.
The \a params contains the map for the notification.
*/
/*! \fn void guhserver::NetworkManagerHandler::WirelessNetworkDeviceAdded(const QVariantMap &params);
/*! \fn void nymeaserver::NetworkManagerHandler::WirelessNetworkDeviceAdded(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{WirelessNetworkDevice} has been added to the \l{NetworkManager}.
The \a params contains the map for the notification.
*/
/*! \fn void guhserver::NetworkManagerHandler::WirelessNetworkDeviceRemoved(const QVariantMap &params);
/*! \fn void nymeaserver::NetworkManagerHandler::WirelessNetworkDeviceRemoved(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{WirelessNetworkDevice} has been removed from the \l{NetworkManager}.
The \a params contains the map for the notification.
*/
/*! \fn void guhserver::NetworkManagerHandler::WirelessNetworkDeviceChanged(const QVariantMap &params);
/*! \fn void nymeaserver::NetworkManagerHandler::WirelessNetworkDeviceChanged(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{WirelessNetworkDevice} has changed in the \l{NetworkManager}.
The \a params contains the map for the notification.
*/
@ -74,7 +74,7 @@
#include "networkmanager/networkmanager.h"
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l{NetworkManagerHandler} with the given \a parent. */
NetworkManagerHandler::NetworkManagerHandler(QObject *parent) :

View File

@ -25,7 +25,7 @@
#include "jsonhandler.h"
namespace guhserver {
namespace nymeaserver {
class NetworkManagerHandler : public JsonHandler
{

View File

@ -20,7 +20,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::RulesHandler
\class nymeaserver::RulesHandler
\brief This subclass of \l{JsonHandler} processes the JSON requests for the \tt Rules namespace of the JSON-RPC API.
\ingroup json
@ -32,22 +32,22 @@
\sa RuleEngine, JsonHandler, JsonRPCServer
*/
/*! \fn void guhserver::RulesHandler::RuleRemoved(const QVariantMap &params);
/*! \fn void nymeaserver::RulesHandler::RuleRemoved(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{Rule} was removed.
The \a params contain the map for the notification.
*/
/*! \fn void guhserver::RulesHandler::RuleAdded(const QVariantMap &params);
/*! \fn void nymeaserver::RulesHandler::RuleAdded(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{Rule} was added.
The \a params contain the map for the notification.
*/
/*! \fn void guhserver::RulesHandler::RuleActiveChanged(const QVariantMap &params);
/*! \fn void nymeaserver::RulesHandler::RuleActiveChanged(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{Rule} has changed the active status.
The \a params contain the map for the notification.
*/
/*! \fn void guhserver::RulesHandler::RuleConfigurationChanged(const QVariantMap &params);
/*! \fn void nymeaserver::RulesHandler::RuleConfigurationChanged(const QVariantMap &params);
This signal is emitted to the API notifications when a \l{Rule} has changed the configuration.
The \a params contain the map for the notification.
*/
@ -59,7 +59,7 @@
#include <QDebug>
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l{RulesHandler} with the given \a parent. */
RulesHandler::RulesHandler(QObject *parent) :

View File

@ -24,7 +24,7 @@
#include "jsonhandler.h"
namespace guhserver {
namespace nymeaserver {
class RulesHandler : public JsonHandler
{

View File

@ -20,7 +20,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::StateHandler
\class nymeaserver::StateHandler
\brief This subclass of \l{JsonHandler} processes the JSON requests for the \tt States namespace of the JSON-RPC API.
\ingroup json
@ -36,7 +36,7 @@
#include "nymeacore.h"
#include "loggingcategories.h"
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l{StateHandler} with the given \a parent. */
StateHandler::StateHandler(QObject *parent) :

View File

@ -24,7 +24,7 @@
#include "jsonhandler.h"
namespace guhserver {
namespace nymeaserver {
class StateHandler : public JsonHandler
{

View File

@ -20,7 +20,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::LogEngine
\class nymeaserver::LogEngine
\brief The engine which creates the log databse and provides access to it.
\ingroup logs
@ -34,20 +34,20 @@
\sa LogEntry, LogFilter, LogsResource, LoggingHandler
*/
/*! \fn void guhserver::LogEngine::logEntryAdded(const LogEntry &logEntry);
/*! \fn void nymeaserver::LogEngine::logEntryAdded(const LogEntry &logEntry);
This signal is emitted when an \a logEntry was added to the database.
\sa LogEntry
*/
/*! \fn void guhserver::LogEngine::logDatabaseUpdated();
/*! \fn void nymeaserver::LogEngine::logDatabaseUpdated();
This signal is emitted when the log database was updated. The log database
will be updated when a \l{LogEntry} was added or when a device was removed
and all corresponding \l{LogEntry}{LogEntries} were removed from the database.
*/
/*!
\class guhserver::Logging
\class nymeaserver::Logging
\brief The logging class provides enums and flags for the LogEngine.
\ingroup logs
@ -56,11 +56,11 @@
\sa LogEngine, LogEntry, LogFilter
*/
/*! \fn guhserver::Logging::Logging(QObject *parent)
/*! \fn nymeaserver::Logging::Logging(QObject *parent)
Constructs the \l{Logging} object with the given \a parent.
*/
/*! \enum guhserver::Logging::LoggingError
/*! \enum nymeaserver::Logging::LoggingError
Represents the possible errors from the \l{LogEngine}.
\value LoggingErrorNoError
@ -71,7 +71,7 @@
The given \l{LogFilter} contains an invalid paramter.
*/
/*! \enum guhserver::Logging::LoggingEventType
/*! \enum nymeaserver::Logging::LoggingEventType
Represents the event type of this \l{LogEntry}.
\value LoggingEventTypeTrigger
@ -86,7 +86,7 @@
*/
/*! \enum guhserver::Logging::LoggingLevel
/*! \enum nymeaserver::Logging::LoggingLevel
Indicates if the corresponding \l{LogEntry} is an information or an alert.
\value LoggingLevelInfo
@ -95,7 +95,7 @@
This \l{LogEntry} represents an alert. Something is not ok.
*/
/*! \enum guhserver::Logging::LoggingSource
/*! \enum nymeaserver::Logging::LoggingSource
Indicates from where the \l{LogEntry} was created. Can be used as flag.
\value LoggingSourceSystem
@ -129,7 +129,7 @@
#define DB_SCHEMA_VERSION 3
namespace guhserver {
namespace nymeaserver {
/*! Constructs the log engine with the given \a parent. */
LogEngine::LogEngine(const QString &logPath, QObject *parent):

View File

@ -33,7 +33,7 @@
#include <QSqlDatabase>
#include <QTimer>
namespace guhserver {
namespace nymeaserver {
class LogEngine: public QObject
{

View File

@ -20,7 +20,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::LogEntry
\class nymeaserver::LogEntry
\brief Represents an entry of the log database.
\ingroup logs
@ -32,7 +32,7 @@
\sa LogEngine, LogFilter, LogsResource, LoggingHandler
*/
/*! \fn QDebug guhserver::operator<< (QDebug dbg, const LogEntry &entry);;
/*! \fn QDebug nymeaserver::operator<< (QDebug dbg, const LogEntry &entry);;
Writes the \l{LogEntry} \a entry to the given \a dbg. This method gets used just for debugging.
*/
@ -42,7 +42,7 @@
#include <QDebug>
namespace guhserver {
namespace nymeaserver {
/*! Constructs a \l{LogEntry} with the given \a timestamp, \a level, \a source and \a errorCode.*/
LogEntry::LogEntry(QDateTime timestamp, Logging::LoggingLevel level, Logging::LoggingSource source, int errorCode):

View File

@ -29,7 +29,7 @@
#include <QVariant>
#include <QDateTime>
namespace guhserver {
namespace nymeaserver {
class LogEntry
{

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::LogFilter
\class nymeaserver::LogFilter
\brief Represents a filter to access the logging databse.
\ingroup logs
@ -34,7 +34,7 @@
#include "logfilter.h"
#include "loggingcategories.h"
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l{LogFilter}.*/
LogFilter::LogFilter()

View File

@ -28,7 +28,7 @@
#include "logging.h"
#include "typeutils.h"
namespace guhserver {
namespace nymeaserver {
class LogFilter
{

View File

@ -23,7 +23,7 @@
#include <QObject>
namespace guhserver {
namespace nymeaserver {
class Logging
{

View File

@ -25,7 +25,7 @@
#include <QHash>
#include <QJsonDocument>
using namespace guhserver;
using namespace nymeaserver;
QList<MockTcpServer*> MockTcpServer::s_allServers;

View File

@ -27,7 +27,7 @@
#include "transportinterface.h"
using namespace guhserver;
using namespace nymeaserver;
class JsonRPCServer;

View File

@ -23,7 +23,7 @@
#include <QString>
namespace guhserver {
namespace nymeaserver {
static const QString serviceString("org.freedesktop.NetworkManager");

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::NetworkConnection
\class nymeaserver::NetworkConnection
\brief Represents a saved network connection of the \l{NetworkManager}.
\ingroup networkmanager
@ -34,7 +34,7 @@
#include <QJsonDocument>
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l{NetworkConnection} with the given dbus \a objectPath and \a parent. */
NetworkConnection::NetworkConnection(const QDBusObjectPath &objectPath, QObject *parent) :

View File

@ -31,7 +31,7 @@
#include <QDBusInterface>
#include <QDBusArgument>
namespace guhserver {
namespace nymeaserver {
typedef QMap<QString, QVariantMap> ConnectionSettings;
@ -66,7 +66,7 @@ QDebug operator<<(QDebug debug, NetworkConnection *networkConnection);
}
Q_DECLARE_METATYPE(guhserver::ConnectionSettings)
Q_DECLARE_METATYPE(nymeaserver::ConnectionSettings)
#endif // NETWORKCONNECTION_H

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::NetworkDevice
\class nymeaserver::NetworkDevice
\brief Represents a generic network device the \l{NetworkManager}.
\ingroup networkmanager
@ -28,7 +28,7 @@
\sa WiredNetworkDevice, WirelessNetworkDevice
*/
/*! \enum guhserver::NetworkDevice::NetworkDeviceState
/*! \enum nymeaserver::NetworkDevice::NetworkDeviceState
\value NetworkDeviceStateUnknown
\value NetworkDeviceStateUnmanaged
\value NetworkDeviceStateUnavailable
@ -44,7 +44,7 @@
\value NetworkDeviceStateFailed
*/
/*! \enum guhserver::NetworkDevice::NetworkDeviceStateReason
/*! \enum nymeaserver::NetworkDevice::NetworkDeviceStateReason
\value NetworkDeviceStateReasonNone
\value NetworkDeviceStateReasonUnknown
\value NetworkDeviceStateReasonNowManaged
@ -111,7 +111,7 @@
*/
/*! \enum guhserver::NetworkDevice::NetworkDeviceType
/*! \enum nymeaserver::NetworkDevice::NetworkDeviceType
\value NetworkDeviceTypeUnknown
\value NetworkDeviceTypeEthernet
\value NetworkDeviceTypeWifi
@ -144,7 +144,7 @@
#include <QMetaEnum>
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l{NetworkDevice} with the given dbus \a objectPath and \a parent. */
NetworkDevice::NetworkDevice(const QDBusObjectPath &objectPath, QObject *parent) :

View File

@ -30,7 +30,7 @@
#include "dbus-interfaces.h"
namespace guhserver {
namespace nymeaserver {
class NetworkDevice : public QObject
{
@ -213,7 +213,7 @@ QDebug operator<<(QDebug debug, NetworkDevice *device);
}
using namespace guhserver;
using namespace nymeaserver;
Q_DECLARE_METATYPE(NetworkDevice::NetworkDeviceType)
Q_DECLARE_METATYPE(NetworkDevice::NetworkDeviceState)
Q_DECLARE_METATYPE(NetworkDevice::NetworkDeviceStateReason)

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::NetworkManager
\class nymeaserver::NetworkManager
\brief Represents the dbus network-manager.
\ingroup networkmanager
@ -70,7 +70,7 @@
This signal will be emitted when the given \a wiredDevice has changed. \sa WiredNetworkDevice
*/
/*! \enum guhserver::NetworkManager::NetworkManagerState
/*! \enum nymeaserver::NetworkManager::NetworkManagerState
\value NetworkManagerStateUnknown
\value NetworkManagerStateAsleep
\value NetworkManagerStateDisconnected
@ -81,7 +81,7 @@
\value NetworkManagerStateConnectedGlobal
*/
/*! \enum guhserver::NetworkManager::NetworkManagerConnectivityState
/*! \enum nymeaserver::NetworkManager::NetworkManagerConnectivityState
\value NetworkManagerConnectivityStateUnknown
\value NetworkManagerConnectivityStateNone
\value NetworkManagerConnectivityStatePortal
@ -89,7 +89,7 @@
\value NetworkManagerConnectivityStateFull
*/
/*! \enum guhserver::NetworkManager::NetworkManagerError
/*! \enum nymeaserver::NetworkManager::NetworkManagerError
\value NetworkManagerErrorNoError
\value NetworkManagerErrorUnknownError
\value NetworkManagerErrorWirelessNotAvailable
@ -111,7 +111,7 @@
#include <QMetaEnum>
#include <QUuid>
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l{NetworkManager} object with the given \a parent. */
NetworkManager::NetworkManager(QObject *parent) :

View File

@ -35,7 +35,7 @@
// Docs: https://developer.gnome.org/NetworkManager/unstable/spec.html
namespace guhserver {
namespace nymeaserver {
class NetworkManager : public QObject
{
@ -160,7 +160,7 @@ private slots:
}
using namespace guhserver;
using namespace nymeaserver;
Q_DECLARE_METATYPE(NetworkManager::NetworkManagerState)
Q_DECLARE_METATYPE(NetworkManager::NetworkManagerError)

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::NetworkSettings
\class nymeaserver::NetworkSettings
\brief Represents the network settings in the \l{NetworkManager}.
\ingroup networkmanager
@ -30,7 +30,7 @@
#include "dbus-interfaces.h"
#include "loggingcategories.h"
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l{NetworkSettings} object with the given \a parent. */
NetworkSettings::NetworkSettings(QObject *parent) : QObject(parent)

View File

@ -29,7 +29,7 @@
#include "networkconnection.h"
namespace guhserver {
namespace nymeaserver {
class NetworkConnection;

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::WiredNetworkDevice
\class nymeaserver::WiredNetworkDevice
\brief Represents an ethernet device in the \l{NetworkManager}.
\ingroup networkmanager
@ -33,7 +33,7 @@
#include "wirednetworkdevice.h"
#include "loggingcategories.h"
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l{WiredNetworkDevice} with the given dbus \a objectPath and \a parent. */
WiredNetworkDevice::WiredNetworkDevice(const QDBusObjectPath &objectPath, QObject *parent) :

View File

@ -26,7 +26,7 @@
#include "networkdevice.h"
namespace guhserver {
namespace nymeaserver {
class WiredNetworkDevice : public NetworkDevice
{

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::WirelessAccessPoint
\class nymeaserver::WirelessAccessPoint
\brief Represents a wireless access point from a \l{WirelessNetworkDevice}.
\ingroup networkmanager
@ -28,7 +28,7 @@
\sa WirelessNetworkDevice
*/
/*! \enum guhserver::WirelessAccessPoint::ApSecurityMode
/*! \enum nymeaserver::WirelessAccessPoint::ApSecurityMode
\value ApSecurityModeNone
\value ApSecurityModePairWep40
\value ApSecurityModePairWep104
@ -50,7 +50,7 @@
#include "loggingcategories.h"
#include "dbus-interfaces.h"
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l{WirelessAccessPoint} with the given dbus \a objectPath and \a parent. */
WirelessAccessPoint::WirelessAccessPoint(const QDBusObjectPath &objectPath, QObject *parent) :

View File

@ -29,7 +29,7 @@
#include <QDBusInterface>
#include <QDBusArgument>
namespace guhserver {
namespace nymeaserver {
class WirelessAccessPoint : public QObject
{
@ -93,7 +93,7 @@ QDebug operator<<(QDebug debug, WirelessAccessPoint *accessPoint);
}
Q_DECLARE_OPERATORS_FOR_FLAGS(guhserver::WirelessAccessPoint::ApSecurityModes)
Q_DECLARE_METATYPE(guhserver::WirelessAccessPoint::ApSecurityMode)
Q_DECLARE_OPERATORS_FOR_FLAGS(nymeaserver::WirelessAccessPoint::ApSecurityModes)
Q_DECLARE_METATYPE(nymeaserver::WirelessAccessPoint::ApSecurityMode)
#endif // WIRELESSACCESSPOINT_H

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::WirelessNetworkDevice
\class nymeaserver::WirelessNetworkDevice
\brief Represents a wireless device (adapter) in the networkmanager.
\ingroup networkmanager
@ -46,7 +46,7 @@
#include <QMetaEnum>
#include <QUuid>
namespace guhserver {
namespace nymeaserver {
/*! Constructs a new \l{WirelessNetworkDevice} with the given dbus \a objectPath and \a parent. */
WirelessNetworkDevice::WirelessNetworkDevice(const QDBusObjectPath &objectPath, QObject *parent) :

View File

@ -32,7 +32,7 @@
#include "networkdevice.h"
#include "wirelessaccesspoint.h"
namespace guhserver {
namespace nymeaserver {
class WirelessNetworkDevice : public NetworkDevice
{

View File

@ -26,7 +26,7 @@
#include <QCoreApplication>
#include <QFile>
namespace guhserver {
namespace nymeaserver {
NymeaConfiguration::NymeaConfiguration(QObject *parent) :
QObject(parent)

View File

@ -27,7 +27,7 @@
#include <QUuid>
#include <QUrl>
namespace guhserver {
namespace nymeaserver {
class ServerConfiguration {
public:

View File

@ -20,7 +20,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::NymeaCore
\class nymeaserver::NymeaCore
\brief The main entry point for the nymea Server and the place where all the messages are dispatched.
\inmodule core
@ -29,62 +29,62 @@
instantiate, set up and connect all the other components.
*/
/*! \fn void guhserver::NymeaCore::eventTriggered(const Event &event);
/*! \fn void nymeaserver::NymeaCore::eventTriggered(const Event &event);
This signal is emitted when an \a event happend.
*/
/*! \fn void guhserver::NymeaCore::deviceStateChanged(Device *device, const QUuid &stateTypeId, const QVariant &value);
/*! \fn void nymeaserver::NymeaCore::deviceStateChanged(Device *device, const QUuid &stateTypeId, const QVariant &value);
This signal is emitted when the \l{State} of a \a device changed. The \a stateTypeId parameter describes the
\l{StateType} and the \a value parameter holds the new value.
*/
/*! \fn void guhserver::NymeaCore::deviceRemoved(const DeviceId &deviceId);
/*! \fn void nymeaserver::NymeaCore::deviceRemoved(const DeviceId &deviceId);
This signal is emitted when a \l{Device} with the given \a deviceId was removed.
*/
/*! \fn void guhserver::NymeaCore::deviceAdded(Device *device);
/*! \fn void nymeaserver::NymeaCore::deviceAdded(Device *device);
This signal is emitted when a \a device was added to the system.
*/
/*! \fn void guhserver::NymeaCore::deviceChanged(Device *device);
/*! \fn void nymeaserver::NymeaCore::deviceChanged(Device *device);
This signal is emitted when the \l{ParamList}{Params} of a \a device have been changed.
*/
/*! \fn void guhserver::NymeaCore::actionExecuted(const ActionId &id, DeviceManager::DeviceError status);
/*! \fn void nymeaserver::NymeaCore::actionExecuted(const ActionId &id, DeviceManager::DeviceError status);
This signal is emitted when the \l{Action} with the given \a id is finished.
The \a status of the \l{Action} execution will be described as \l{DeviceManager::DeviceError}{DeviceError}.
*/
/*! \fn void guhserver::NymeaCore::devicesDiscovered(const DeviceClassId &deviceClassId, const QList<DeviceDescriptor> deviceDescriptors);
/*! \fn void nymeaserver::NymeaCore::devicesDiscovered(const DeviceClassId &deviceClassId, const QList<DeviceDescriptor> deviceDescriptors);
This signal is emitted when the discovery of a \a deviceClassId is finished. The \a deviceDescriptors parameter describes the
list of \l{DeviceDescriptor}{DeviceDescriptors} of all discovered \l{Device}{Devices}.
\sa DeviceManager::discoverDevices()
*/
/*! \fn void guhserver::NymeaCore::deviceSetupFinished(Device *device, DeviceManager::DeviceError status);
/*! \fn void nymeaserver::NymeaCore::deviceSetupFinished(Device *device, DeviceManager::DeviceError status);
This signal is emitted when the setup of a \a device is finished. The \a status parameter describes the
\l{DeviceManager::DeviceError}{DeviceError} that occurred.
*/
/*! \fn void guhserver::NymeaCore::deviceReconfigurationFinished(Device *device, DeviceManager::DeviceError status);
/*! \fn void nymeaserver::NymeaCore::deviceReconfigurationFinished(Device *device, DeviceManager::DeviceError status);
This signal is emitted when the edit request of a \a device is finished. The \a status of the edit request will be
described as \l{DeviceManager::DeviceError}{DeviceError}.
*/
/*! \fn void guhserver::NymeaCore::pairingFinished(const PairingTransactionId &pairingTransactionId, DeviceManager::DeviceError status, const DeviceId &deviceId);
/*! \fn void nymeaserver::NymeaCore::pairingFinished(const PairingTransactionId &pairingTransactionId, DeviceManager::DeviceError status, const DeviceId &deviceId);
The DeviceManager will emit a this Signal when the pairing of a \l{Device} with the \a deviceId and \a pairingTransactionId is finished.
The \a status of the pairing will be described as \l{DeviceManager::DeviceError}{DeviceError}.
*/
/*! \fn void guhserver::NymeaCore::ruleRemoved(const RuleId &ruleId);
/*! \fn void nymeaserver::NymeaCore::ruleRemoved(const RuleId &ruleId);
This signal is emitted when a \l{Rule} with the given \a ruleId was removed.
*/
/*! \fn void guhserver::NymeaCore::ruleAdded(const Rule &rule);
/*! \fn void nymeaserver::NymeaCore::ruleAdded(const Rule &rule);
This signal is emitted when a \a rule was added to the system.
*/
/*! \fn void guhserver::NymeaCore::ruleConfigurationChanged(const Rule &rule);
/*! \fn void nymeaserver::NymeaCore::ruleConfigurationChanged(const Rule &rule);
This signal is emitted when the configuration of \a rule changed.
*/
@ -106,7 +106,7 @@
#include "plugin/device.h"
#include "cloudnotifications.h"
namespace guhserver {
namespace nymeaserver {
NymeaCore* NymeaCore::s_instance = 0;

View File

@ -43,7 +43,7 @@
class Device;
namespace guhserver {
namespace nymeaserver {
class JsonRPCServer;
class LogEngine;

View File

@ -23,7 +23,7 @@
#include "usermanager.h"
#include "loggingcategories.h"
namespace guhserver {
namespace nymeaserver {
QDBusConnection NymeaDBusService::s_connection = QDBusConnection::systemBus();

View File

@ -27,7 +27,7 @@
#include <QDBusContext>
namespace guhserver {
namespace nymeaserver {
class UserManager;

View File

@ -26,7 +26,7 @@
#include <QDBusServiceWatcher>
#include <QDBusMessage>
namespace guhserver {
namespace nymeaserver {
PushButtonDBusService::PushButtonDBusService(const QString &objectPath, UserManager *parent) : NymeaDBusService(objectPath, parent),
m_userManager(parent)

View File

@ -27,7 +27,7 @@
#include "usermanager.h"
#include "nymeadbusservice.h"
namespace guhserver {
namespace nymeaserver {
class PushButtonDBusService : public NymeaDBusService
{

View File

@ -19,7 +19,7 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*!
\class guhserver::DeviceClassesResource
\class nymeaserver::DeviceClassesResource
\brief This subclass of \l{RestResource} processes the REST requests for the \tt DeviceClasses namespace.
\ingroup json
@ -41,7 +41,7 @@
#include <QJsonDocument>
namespace guhserver {
namespace nymeaserver {
/*! Constructs a \l DeviceClassesResource with the given \a parent. */
DeviceClassesResource::DeviceClassesResource(QObject *parent) :

View File

@ -29,7 +29,7 @@
#include "httpreply.h"
namespace guhserver {
namespace nymeaserver {
class HttpRequest;

Some files were not shown because too many files have changed in this diff Show More