Add copyright message according to Google style guidelines "legal/copyright"
This commit is contained in:
parent
5b5be387cd
commit
8d0228ced2
87 changed files with 504 additions and 25 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "client/Client.h"
|
#include "client/Client.h"
|
||||||
|
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef CLIENT_H
|
#ifndef CLIENT_H
|
||||||
#define CLIENT_H
|
#define CLIENT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
/**
|
/**
|
||||||
* @defgroup core telldus-core
|
* @defgroup core telldus-core
|
||||||
* Telldus Core is the base module used to interface a Telldus TellStick.
|
* Telldus Core is the base module used to interface a Telldus TellStick.
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef TELLDUSCORE_H
|
#ifndef TELLDUSCORE_H
|
||||||
#define TELLDUSCORE_H
|
#define TELLDUSCORE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "common/Event.h"
|
#include "common/Event.h"
|
||||||
#include "common/EventHandler.h"
|
#include "common/EventHandler.h"
|
||||||
#include "common/Mutex.h"
|
#include "common/Mutex.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef EVENT_H
|
#ifndef EVENT_H
|
||||||
#define EVENT_H
|
#define EVENT_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef EVENTHANDLER_H
|
#ifndef EVENTHANDLER_H
|
||||||
#define EVENTHANDLER_H
|
#define EVENTHANDLER_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "common/Event.h"
|
#include "common/Event.h"
|
||||||
#include "common/EventHandler.h"
|
#include "common/EventHandler.h"
|
||||||
#include "common/Thread.h"
|
#include "common/Thread.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include <wctype.h>
|
#include <wctype.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef MESSAGE_H
|
#ifndef MESSAGE_H
|
||||||
#define MESSAGE_H
|
#define MESSAGE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef SOCKET_H
|
#ifndef SOCKET_H
|
||||||
#define SOCKET_H
|
#define SOCKET_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
|
|
||||||
#include "common/Strings.h"
|
#include "common/Strings.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef STRING_H
|
#ifndef STRING_H
|
||||||
#define STRING_H
|
#define STRING_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "ClientCommunicationHandler.h"
|
#include "ClientCommunicationHandler.h"
|
||||||
#include "common/Message.h"
|
#include "common/Message.h"
|
||||||
#include "common/Strings.h"
|
#include "common/Strings.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef CLIENTCOMMUNICATIONHANDLER_H
|
#ifndef CLIENTCOMMUNICATIONHANDLER_H
|
||||||
#define CLIENTCOMMUNICATIONHANDLER_H
|
#define CLIENTCOMMUNICATIONHANDLER_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef CONNECTIONLISTENER_H
|
#ifndef CONNECTIONLISTENER_H
|
||||||
#define CONNECTIONLISTENER_H
|
#define CONNECTIONLISTENER_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ConnectionListener.h"
|
#include "service/ConnectionListener.h"
|
||||||
#include "common/Socket.h"
|
#include "common/Socket.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/Controller.h"
|
#include "service/Controller.h"
|
||||||
#include "service/Protocol.h"
|
#include "service/Protocol.h"
|
||||||
#include "service/EventUpdateManager.h"
|
#include "service/EventUpdateManager.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef CONTROLLER_H
|
#ifndef CONTROLLER_H
|
||||||
#define CONTROLLER_H
|
#define CONTROLLER_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef CONTROLLERLISTENER_H
|
#ifndef CONTROLLERLISTENER_H
|
||||||
#define CONTROLLERLISTENER_H
|
#define CONTROLLERLISTENER_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ControllerManager.h"
|
#include "service/ControllerManager.h"
|
||||||
#include "service/Controller.h"
|
#include "service/Controller.h"
|
||||||
#include "common/Mutex.h"
|
#include "common/Mutex.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef CONTROLLERMANAGER_H
|
#ifndef CONTROLLERMANAGER_H
|
||||||
#define CONTROLLERMANAGER_H
|
#define CONTROLLERMANAGER_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ControllerMessage.h"
|
#include "service/ControllerMessage.h"
|
||||||
#include "service/Device.h"
|
#include "service/Device.h"
|
||||||
#include "common/Strings.h"
|
#include "common/Strings.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef CONTROLLERMESSAGE_H
|
#ifndef CONTROLLERMESSAGE_H
|
||||||
#define CONTROLLERMESSAGE_H
|
#define CONTROLLERMESSAGE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/Device.h"
|
#include "service/Device.h"
|
||||||
#include "service/Settings.h"
|
#include "service/Settings.h"
|
||||||
#include "service/TellStick.h"
|
#include "service/TellStick.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef DEVICE_H
|
#ifndef DEVICE_H
|
||||||
#define DEVICE_H
|
#define DEVICE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/DeviceManager.h"
|
#include "service/DeviceManager.h"
|
||||||
#include "service/ControllerMessage.h"
|
#include "service/ControllerMessage.h"
|
||||||
#include "common/Mutex.h"
|
#include "common/Mutex.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef DEVICEMANAGER_H
|
#ifndef DEVICEMANAGER_H
|
||||||
#define DEVICEMANAGER_H
|
#define DEVICEMANAGER_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/EventUpdateManager.h"
|
#include "service/EventUpdateManager.h"
|
||||||
|
|
||||||
#include "service/ConnectionListener.h"
|
#include "service/ConnectionListener.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef EVENTUPDATEMANAGER_H
|
#ifndef EVENTUPDATEMANAGER_H
|
||||||
#define EVENTUPDATEMANAGER_H
|
#define EVENTUPDATEMANAGER_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/Log.h"
|
#include "service/Log.h"
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef LOG_H
|
#ifndef LOG_H
|
||||||
#define LOG_H
|
#define LOG_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/Protocol.h"
|
#include "service/Protocol.h"
|
||||||
#include "client/telldus-core.h"
|
#include "client/telldus-core.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOL_H
|
#ifndef PROTOCOL_H
|
||||||
#define PROTOCOL_H
|
#define PROTOCOL_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolBrateck.h"
|
#include "service/ProtocolBrateck.h"
|
||||||
|
|
||||||
int ProtocolBrateck::methods() const {
|
int ProtocolBrateck::methods() const {
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLBRATECK_H
|
#ifndef PROTOCOLBRATECK_H
|
||||||
#define PROTOCOLBRATECK_H
|
#define PROTOCOLBRATECK_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolComen.h"
|
#include "service/ProtocolComen.h"
|
||||||
|
|
||||||
int ProtocolComen::methods() const {
|
int ProtocolComen::methods() const {
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLCOMEN_H
|
#ifndef PROTOCOLCOMEN_H
|
||||||
#define PROTOCOLCOMEN_H
|
#define PROTOCOLCOMEN_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "ProtocolEverflourish.h"
|
#include "ProtocolEverflourish.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLEVERFLOURISH_H
|
#ifndef PROTOCOLEVERFLOURISH_H
|
||||||
#define PROTOCOLEVERFLOURISH_H
|
#define PROTOCOLEVERFLOURISH_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolFineoffset.h"
|
#include "service/ProtocolFineoffset.h"
|
||||||
#include "common/Strings.h"
|
#include "common/Strings.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLFINEOFFSET_H
|
#ifndef PROTOCOLFINEOFFSET_H
|
||||||
#define PROTOCOLFINEOFFSET_H
|
#define PROTOCOLFINEOFFSET_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolFuhaote.h"
|
#include "service/ProtocolFuhaote.h"
|
||||||
|
|
||||||
int ProtocolFuhaote::methods() const {
|
int ProtocolFuhaote::methods() const {
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLFUHAOTE_H
|
#ifndef PROTOCOLFUHAOTE_H
|
||||||
#define PROTOCOLFUHAOTE_H
|
#define PROTOCOLFUHAOTE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolGroup.h"
|
#include "service/ProtocolGroup.h"
|
||||||
|
|
||||||
int ProtocolGroup::methods() const {
|
int ProtocolGroup::methods() const {
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLGROUP_H
|
#ifndef PROTOCOLGROUP_H
|
||||||
#define PROTOCOLGROUP_H
|
#define PROTOCOLGROUP_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolHasta.h"
|
#include "service/ProtocolHasta.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLHASTA_H
|
#ifndef PROTOCOLHASTA_H
|
||||||
#define PROTOCOLHASTA_H
|
#define PROTOCOLHASTA_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolIkea.h"
|
#include "service/ProtocolIkea.h"
|
||||||
#include "common/Strings.h"
|
#include "common/Strings.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLIKEA_H
|
#ifndef PROTOCOLIKEA_H
|
||||||
#define PROTOCOLIKEA_H
|
#define PROTOCOLIKEA_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolMandolyn.h"
|
#include "service/ProtocolMandolyn.h"
|
||||||
#include "common/Strings.h"
|
#include "common/Strings.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLMANDOLYN_H
|
#ifndef PROTOCOLMANDOLYN_H
|
||||||
#define PROTOCOLMANDOLYN_H
|
#define PROTOCOLMANDOLYN_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolNexa.h"
|
#include "service/ProtocolNexa.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLNEXA_H
|
#ifndef PROTOCOLNEXA_H
|
||||||
#define PROTOCOLNEXA_H
|
#define PROTOCOLNEXA_H
|
||||||
|
|
||||||
|
@ -18,7 +24,7 @@ protected:
|
||||||
virtual std::string getOffCode() const;
|
virtual std::string getOffCode() const;
|
||||||
static std::string getCodeSwitchTuple(int code);
|
static std::string getCodeSwitchTuple(int code);
|
||||||
static std::string getStringSelflearningForCode(int house, int unit, int method, unsigned char data);
|
static std::string getStringSelflearningForCode(int house, int unit, int method, unsigned char data);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static int lastArctecCodeSwitchWasTurnOff;
|
static int lastArctecCodeSwitchWasTurnOff;
|
||||||
static std::string decodeDataCodeSwitch(long allData);
|
static std::string decodeDataCodeSwitch(long allData);
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolOregon.h"
|
#include "service/ProtocolOregon.h"
|
||||||
#include "common/Strings.h"
|
#include "common/Strings.h"
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLOREGON_H
|
#ifndef PROTOCOLOREGON_H
|
||||||
#define PROTOCOLOREGON_H
|
#define PROTOCOLOREGON_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolRisingSun.h"
|
#include "service/ProtocolRisingSun.h"
|
||||||
#include "common/Strings.h"
|
#include "common/Strings.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLRISINGSUN_H
|
#ifndef PROTOCOLRISINGSUN_H
|
||||||
#define PROTOCOLRISINGSUN_H
|
#define PROTOCOLRISINGSUN_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolSartano.h"
|
#include "service/ProtocolSartano.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLSARTANO_H
|
#ifndef PROTOCOLSARTANO_H
|
||||||
#define PROTOCOLSARTANO_H
|
#define PROTOCOLSARTANO_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolScene.h"
|
#include "service/ProtocolScene.h"
|
||||||
|
|
||||||
int ProtocolScene::methods() const {
|
int ProtocolScene::methods() const {
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLSCENE_H
|
#ifndef PROTOCOLSCENE_H
|
||||||
#define PROTOCOLSCENE_H
|
#define PROTOCOLSCENE_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolSilvanChip.h"
|
#include "service/ProtocolSilvanChip.h"
|
||||||
#include "common/Strings.h"
|
#include "common/Strings.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLSILVANCHIP_H
|
#ifndef PROTOCOLSILVANCHIP_H
|
||||||
#define PROTOCOLSILVANCHIP_H
|
#define PROTOCOLSILVANCHIP_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolUpm.h"
|
#include "service/ProtocolUpm.h"
|
||||||
|
|
||||||
int ProtocolUpm::methods() const {
|
int ProtocolUpm::methods() const {
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLUPM_H
|
#ifndef PROTOCOLUPM_H
|
||||||
#define PROTOCOLUPM_H
|
#define PROTOCOLUPM_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolWaveman.h"
|
#include "service/ProtocolWaveman.h"
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLWAVEMAN_H
|
#ifndef PROTOCOLWAVEMAN_H
|
||||||
#define PROTOCOLWAVEMAN_H
|
#define PROTOCOLWAVEMAN_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolX10.h"
|
#include "service/ProtocolX10.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLX10_H
|
#ifndef PROTOCOLX10_H
|
||||||
#define PROTOCOLX10_H
|
#define PROTOCOLX10_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/ProtocolYidong.h"
|
#include "service/ProtocolYidong.h"
|
||||||
|
|
||||||
std::string ProtocolYidong::getStringForMethod(int method, unsigned char, Controller *) {
|
std::string ProtocolYidong::getStringForMethod(int method, unsigned char, Controller *) {
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef PROTOCOLYIDONG_H
|
#ifndef PROTOCOLYIDONG_H
|
||||||
#define PROTOCOLYIDONG_H
|
#define PROTOCOLYIDONG_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/Sensor.h"
|
#include "service/Sensor.h"
|
||||||
#include "common/common.h"
|
#include "common/common.h"
|
||||||
#include "client/telldus-core.h"
|
#include "client/telldus-core.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef SENSOR_H
|
#ifndef SENSOR_H
|
||||||
#define SENSOR_H
|
#define SENSOR_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/Settings.h"
|
#include "service/Settings.h"
|
||||||
|
|
||||||
TelldusCore::Mutex Settings::mutex;
|
TelldusCore::Mutex Settings::mutex;
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef SETTINGS_H
|
#ifndef SETTINGS_H
|
||||||
#define SETTINGS_H
|
#define SETTINGS_H
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
//
|
//
|
||||||
// C++ Implementation: telldussettingsconfuse
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
//
|
|
||||||
// Description:
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// Author: Micke Prag <micke.prag@telldus.se>, (C) 2008
|
|
||||||
//
|
//
|
||||||
// Copyright: See COPYING file that comes with this distribution
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
//
|
//
|
||||||
// C++ Implementation: TellStick
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
//
|
|
||||||
// Description:
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// Author: Micke Prag <micke.prag@telldus.se>, (C) 2009
|
|
||||||
//
|
//
|
||||||
// Copyright: See COPYING file that comes with this distribution
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
//
|
//
|
||||||
// C++ Interface: TellStick
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
//
|
|
||||||
// Description:
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// Author: Micke Prag <micke.prag@telldus.se>, (C) 2010
|
|
||||||
//
|
//
|
||||||
// Copyright: See COPYING file that comes with this distribution
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
//
|
//
|
||||||
// C++ Implementation: TellStick
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
//
|
|
||||||
// Description:
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// Author: Micke Prag <micke.prag@telldus.se>, (C) 2009
|
|
||||||
//
|
//
|
||||||
// Copyright: See COPYING file that comes with this distribution
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
//
|
//
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/TelldusMain.h"
|
#include "service/TelldusMain.h"
|
||||||
#include "service/ConnectionListener.h"
|
#include "service/ConnectionListener.h"
|
||||||
#include "common/EventHandler.h"
|
#include "common/EventHandler.h"
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef TELLDUSMAIN_H
|
#ifndef TELLDUSMAIN_H
|
||||||
#define TELLDUSMAIN_H
|
#define TELLDUSMAIN_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/Timer.h"
|
#include "service/Timer.h"
|
||||||
#include "common/Mutex.h"
|
#include "common/Mutex.h"
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#ifndef TIMER_H
|
#ifndef TIMER_H
|
||||||
#define TIMER_H
|
#define TIMER_H
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2012 Telldus Technologies AB. All rights reserved.
|
||||||
|
//
|
||||||
|
// Copyright: See COPYING file that comes with this distribution
|
||||||
|
//
|
||||||
|
//
|
||||||
#include "service/TelldusMain.h"
|
#include "service/TelldusMain.h"
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue