Fix #ifndef header guard style, according to Google style guidelines

"build/header_guard"
This commit is contained in:
Micke Prag 2012-02-28 22:07:56 +01:00
parent 8d0228ced2
commit 0d25f0b389
46 changed files with 142 additions and 142 deletions

View file

@ -7,8 +7,8 @@
*
*/
#ifndef CALLBACKDISPATCHER_H
#define CALLBACKDISPATCHER_H
#ifndef TELLDUS_CORE_CLIENT_CALLBACKDISPATCHER_H_
#define TELLDUS_CORE_CLIENT_CALLBACKDISPATCHER_H_
#include "common/common.h"
#include "common/Event.h"
@ -99,4 +99,4 @@ namespace TelldusCore {
};
}
#endif //CALLBACKDISPATCHER_H
#endif // TELLDUS_CORE_CLIENT_CALLBACKDISPATCHER_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef CLIENT_H
#define CLIENT_H
#ifndef TELLDUS_CORE_CLIENT_CLIENT_H_
#define TELLDUS_CORE_CLIENT_CLIENT_H_
#include "client/telldus-core.h"
#include "client/CallbackDispatcher.h"
@ -45,4 +45,4 @@ namespace TelldusCore {
};
}
#endif //CLIENT_H
#endif // TELLDUS_CORE_CLIENT_CLIENT_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef TELLDUSCORE_H
#define TELLDUSCORE_H
#ifndef TELLDUS_CORE_CLIENT_TELLDUS_CORE_H_
#define TELLDUS_CORE_CLIENT_TELLDUS_CORE_H_
// The following ifdef block is the standard way of creating macros
// which make exporting from a DLL simpler. All files within this DLL
@ -158,4 +158,4 @@ extern "C" {
#define TELLSTICK_CHANGE_AVAILABLE 5
#define TELLSTICK_CHANGE_FIRMWARE 6
#endif
#endif // TELLDUS_CORE_CLIENT_TELLDUS_CORE_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef EVENT_H
#define EVENT_H
#ifndef TELLDUS_CORE_COMMON_EVENT_H_
#define TELLDUS_CORE_COMMON_EVENT_H_
#include "Thread.h"
@ -77,4 +77,4 @@ namespace TelldusCore {
typedef std::tr1::shared_ptr<Event> EventRef;
}
#endif //EVENT_H
#endif // TELLDUS_CORE_COMMON_EVENT_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef EVENTHANDLER_H
#define EVENTHANDLER_H
#ifndef TELLDUS_CORE_COMMON_EVENTHANDLER_H_
#define TELLDUS_CORE_COMMON_EVENTHANDLER_H_
#include "common/Event.h"
@ -32,4 +32,4 @@ namespace TelldusCore {
};
}
#endif //EVENTHANDLER_H
#endif // TELLDUS_CORE_COMMON_EVENTHANDLER_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef MESSAGE_H
#define MESSAGE_H
#ifndef TELLDUS_CORE_COMMON_MESSAGE_H_
#define TELLDUS_CORE_COMMON_MESSAGE_H_
#include <string>
@ -22,16 +22,16 @@ namespace TelldusCore {
//void addSpecialArgument(const char *);
void addArgument(int);
void addArgument(const char *);
static bool nextIsInt(const std::wstring &);
static bool nextIsString(const std::wstring &);
static std::wstring takeString(std::wstring *);
static int takeInt(std::wstring *);
private:
};
}
#endif //MESSAGE_H
#endif // TELLDUS_CORE_COMMON_MESSAGE_H_

View file

@ -9,8 +9,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef MUTEX_H
#define MUTEX_H
#ifndef TELLDUS_CORE_COMMON_MUTEX_H_
#define TELLDUS_CORE_COMMON_MUTEX_H_
namespace TelldusCore {
class Mutex {
@ -42,4 +42,4 @@ namespace TelldusCore {
};
}
#endif //MUTEX_H
#endif // TELLDUS_CORE_COMMON_MUTEX_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef SOCKET_H
#define SOCKET_H
#ifndef TELLDUS_CORE_COMMON_SOCKET_H_
#define TELLDUS_CORE_COMMON_SOCKET_H_
#include <string>
@ -30,10 +30,10 @@ namespace TelldusCore {
std::wstring read(int timeout);
void stopReadWait();
void write(const std::wstring &msg);
private:
class PrivateData;
PrivateData *d;
};
}
#endif //SOCKET_H
#endif // TELLDUS_CORE_COMMON_SOCKET_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef STRING_H
#define STRING_H
#ifndef TELLDUS_CORE_COMMON_STRINGS_H_
#define TELLDUS_CORE_COMMON_STRINGS_H_
#include <string>
#include <stdarg.h>
@ -36,4 +36,4 @@ namespace TelldusCore {
std::string sformatf(const char *format, va_list ap);
}
#endif //STRING_H
#endif // TELLDUS_CORE_COMMON_STRINGS_H_

View file

@ -9,8 +9,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef THREAD_H
#define THREAD_H
#ifndef TELLDUS_CORE_COMMON_THREAD_H_
#define TELLDUS_CORE_COMMON_THREAD_H_
#include <string>
#include "common/Mutex.h"
@ -34,4 +34,4 @@ namespace TelldusCore {
};
}
#endif
#endif // TELLDUS_CORE_COMMON_THREAD_H_

View file

@ -5,8 +5,8 @@
//
//
#ifndef COMMON_H
#define COMMON_H
#ifndef TELLDUS_CORE_COMMON_COMMON_H_
#define TELLDUS_CORE_COMMON_COMMON_H_
#ifdef _WINDOWS
#include <windows.h>
@ -80,4 +80,4 @@ inline char *wrapStdWstring( const std::wstring &wstring) {
return wrapStdString(TelldusCore::wideToString(wstring));
}
#endif //COMMON_H
#endif // TELLDUS_CORE_COMMON_COMMON_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef CLIENTCOMMUNICATIONHANDLER_H
#define CLIENTCOMMUNICATIONHANDLER_H
#ifndef TELLDUS_CORE_SERVICE_CLIENTCOMMUNICATIONHANDLER_H_
#define TELLDUS_CORE_SERVICE_CLIENTCOMMUNICATIONHANDLER_H_
#include <string>
#include "common/Thread.h"
@ -39,4 +39,4 @@ private:
void sendDeviceSignal(int deviceId, int eventDeviceChanges, int eventChangeType);
};
#endif //CLIENTCOMMUNICATIONHANDLER_H
#endif // TELLDUS_CORE_SERVICE_CLIENTCOMMUNICATIONHANDLER_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef CONNECTIONLISTENER_H
#define CONNECTIONLISTENER_H
#ifndef TELLDUS_CORE_SERVICE_CONNECTIONLISTENER_H_
#define TELLDUS_CORE_SERVICE_CONNECTIONLISTENER_H_
#include <string>
#include "common/Thread.h"
@ -34,4 +34,4 @@ private:
PrivateData *d;
};
#endif //CONNECTIONLISTENER_H
#endif // TELLDUS_CORE_SERVICE_CONNECTIONLISTENER_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef CONTROLLER_H
#define CONTROLLER_H
#ifndef TELLDUS_CORE_SERVICE_CONTROLLER_H_
#define TELLDUS_CORE_SERVICE_CONTROLLER_H_
#include "common/Event.h"
#include <string>
@ -35,4 +35,4 @@ private:
PrivateData *d;
};
#endif //CONTROLLER_H
#endif // TELLDUS_CORE_SERVICE_CONTROLLER_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef CONTROLLERLISTENER_H
#define CONTROLLERLISTENER_H
#ifndef TELLDUS_CORE_SERVICE_CONTROLLERLISTENER_H_
#define TELLDUS_CORE_SERVICE_CONTROLLERLISTENER_H_
#include "common/Thread.h"
#include "common/Event.h"
@ -29,4 +29,4 @@ private:
PrivateData *d;
};
#endif //CONTROLLERLISTENER_H
#endif // TELLDUS_CORE_SERVICE_CONTROLLERLISTENER_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef CONTROLLERMANAGER_H
#define CONTROLLERMANAGER_H
#ifndef TELLDUS_CORE_SERVICE_CONTROLLERMANAGER_H_
#define TELLDUS_CORE_SERVICE_CONTROLLERMANAGER_H_
#include "common/Event.h"
class Controller;
@ -36,4 +36,4 @@ private:
PrivateData *d;
};
#endif //CONTROLLERMANAGER_H
#endif // TELLDUS_CORE_SERVICE_CONTROLLERMANAGER_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef CONTROLLERMESSAGE_H
#define CONTROLLERMESSAGE_H
#ifndef TELLDUS_CORE_SERVICE_CONTROLLERMESSAGE_H_
#define TELLDUS_CORE_SERVICE_CONTROLLERMESSAGE_H_
#include <string>
@ -28,4 +28,4 @@ private:
PrivateData *d;
};
#endif //CONTROLLERMESSAGE_H
#endif // TELLDUS_CORE_SERVICE_CONTROLLERMESSAGE_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef DEVICE_H
#define DEVICE_H
#ifndef TELLDUS_CORE_SERVICE_DEVICE_H_
#define TELLDUS_CORE_SERVICE_DEVICE_H_
#include "service/Controller.h"
#include "common/Mutex.h"
@ -48,4 +48,4 @@ private:
PrivateData *d;
};
#endif //DEVICE_H
#endif // TELLDUS_CORE_SERVICE_DEVICE_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef DEVICEMANAGER_H
#define DEVICEMANAGER_H
#ifndef TELLDUS_CORE_SERVICE_DEVICEMANAGER_H_
#define TELLDUS_CORE_SERVICE_DEVICEMANAGER_H_
#include "service/Device.h"
#include "service/ControllerManager.h"
@ -62,4 +62,4 @@ private:
PrivateData *d;
};
#endif //DEVICEMANAGER_H
#endif // TELLDUS_CORE_SERVICE_DEVICEMANAGER_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef EVENTUPDATEMANAGER_H
#define EVENTUPDATEMANAGER_H
#ifndef TELLDUS_CORE_SERVICE_EVENTUPDATEMANAGER_H_
#define TELLDUS_CORE_SERVICE_EVENTUPDATEMANAGER_H_
#include "common/Thread.h"
#include "common/Event.h"
@ -47,4 +47,4 @@ private:
void sendMessageToClients(EventUpdateData *data);
};
#endif //EVENTUPDATEMANAGER_H
#endif // TELLDUS_CORE_SERVICE_EVENTUPDATEMANAGER_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef LOG_H
#define LOG_H
#ifndef TELLDUS_CORE_SERVICE_LOG_H_
#define TELLDUS_CORE_SERVICE_LOG_H_
#include <stdio.h>
#include <stdarg.h>
@ -37,4 +37,4 @@ private:
};
#endif //LOG_H
#endif // TELLDUS_CORE_SERVICE_LOG_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOL_H
#define PROTOCOL_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOL_H_
#define TELLDUS_CORE_SERVICE_PROTOCOL_H_
#include <string>
#include <list>
@ -44,4 +44,4 @@ private:
PrivateData *d;
};
#endif //PROTOCOL_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOL_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLBRATECK_H
#define PROTOCOLBRATECK_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLBRATECK_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLBRATECK_H_
#include "service/Protocol.h"
@ -16,4 +16,4 @@ public:
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller);
};
#endif //PROTOCOLBRATECK_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLBRATECK_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLCOMEN_H
#define PROTOCOLCOMEN_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLCOMEN_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLCOMEN_H_
#include "service/ProtocolNexa.h"
#include <string>
@ -16,4 +16,4 @@ public:
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller);
};
#endif //PROTOCOLCOMEN_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLCOMEN_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLEVERFLOURISH_H
#define PROTOCOLEVERFLOURISH_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLEVERFLOURISH_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLEVERFLOURISH_H_
#include "service/Protocol.h"
#include "service/ControllerMessage.h"
@ -21,4 +21,4 @@ private:
static unsigned int calculateChecksum(unsigned int x);
};
#endif //PROTOCOLEVERFLOURISH_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLEVERFLOURISH_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLFINEOFFSET_H
#define PROTOCOLFINEOFFSET_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLFINEOFFSET_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLFINEOFFSET_H_
#include "service/Protocol.h"
#include "service/ControllerMessage.h"
@ -16,4 +16,4 @@ public:
static std::string decodeData(ControllerMessage &dataMsg);
};
#endif //PROTOCOLFINEOFFSET_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLFINEOFFSET_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLFUHAOTE_H
#define PROTOCOLFUHAOTE_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLFUHAOTE_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLFUHAOTE_H_
#include "service/Protocol.h"
@ -16,4 +16,4 @@ public:
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller);
};
#endif //PROTOCOLFUHAOTE_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLFUHAOTE_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLGROUP_H
#define PROTOCOLGROUP_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLGROUP_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLGROUP_H_
#include "service/Protocol.h"
@ -16,7 +16,7 @@ public:
};
#endif //PROTOCOLGROUP_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLGROUP_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLHASTA_H
#define PROTOCOLHASTA_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLHASTA_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLHASTA_H_
#include "service/Protocol.h"
@ -19,4 +19,4 @@ protected:
static std::string convertByte(unsigned char byte);
};
#endif //PROTOCOLHASTA_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLHASTA_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLIKEA_H
#define PROTOCOLIKEA_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLIKEA_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLIKEA_H_
#include "service/Protocol.h"
@ -16,4 +16,4 @@ public:
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller);
};
#endif //PROTOCOLIKEA_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLIKEA_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLMANDOLYN_H
#define PROTOCOLMANDOLYN_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLMANDOLYN_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLMANDOLYN_H_
#include "service/Protocol.h"
#include "service/ControllerMessage.h"
@ -16,4 +16,4 @@ public:
static std::string decodeData(ControllerMessage &dataMsg);
};
#endif //PROTOCOLMANDOLYN_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLMANDOLYN_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLNEXA_H
#define PROTOCOLNEXA_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLNEXA_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLNEXA_H_
#include "service/ControllerMessage.h"
#include "service/Device.h"
@ -31,4 +31,4 @@ private:
static std::string decodeDataSelfLearning(long allData);
};
#endif //PROTOCOLNEXA_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLNEXA_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLOREGON_H
#define PROTOCOLOREGON_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLOREGON_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLOREGON_H_
#include "service/Protocol.h"
#include "service/ControllerMessage.h"
@ -20,4 +20,4 @@ protected:
static std::string decode1A2D(const std::string &data);
};
#endif //PROTOCOLOREGON_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLOREGON_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLRISINGSUN_H
#define PROTOCOLRISINGSUN_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLRISINGSUN_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLRISINGSUN_H_
#include "service/Protocol.h"
@ -21,4 +21,4 @@ protected:
static std::string getCodeSwitchTuple(int code);
};
#endif //PROTOCOLRISINGSUN_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLRISINGSUN_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLSARTANO_H
#define PROTOCOLSARTANO_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLSARTANO_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLSARTANO_H_
#include "service/Protocol.h"
#include "service/ControllerMessage.h"
@ -21,4 +21,4 @@ protected:
std::string getStringForCode(const std::wstring &code, int method);
};
#endif //PROTOCOLSARTANO_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLSARTANO_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLSCENE_H
#define PROTOCOLSCENE_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLSCENE_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLSCENE_H_
#include "service/Protocol.h"
@ -16,7 +16,7 @@ public:
};
#endif //PROTOCOLSCENE_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLSCENE_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLSILVANCHIP_H
#define PROTOCOLSILVANCHIP_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLSILVANCHIP_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLSILVANCHIP_H_
#include "service/Protocol.h"
@ -19,4 +19,4 @@ protected:
virtual std::string getString(const std::string &preamble, const std::string &one, const std::string &zero, int button);
};
#endif //PROTOCOLSILVANCHIP_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLSILVANCHIP_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLUPM_H
#define PROTOCOLUPM_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLUPM_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLUPM_H_
#include "service/Protocol.h"
@ -16,4 +16,4 @@ public:
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller);
};
#endif //PROTOCOLUPM_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLUPM_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLWAVEMAN_H
#define PROTOCOLWAVEMAN_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLWAVEMAN_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLWAVEMAN_H_
#include "service/ProtocolNexa.h"
@ -22,4 +22,4 @@ private:
static int lastArctecCodeSwitchWasTurnOff;
};
#endif //PROTOCOLWAVEMAN_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLWAVEMAN_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLX10_H
#define PROTOCOLX10_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLX10_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLX10_H_
#include "service/Protocol.h"
#include "service/ControllerMessage.h"
@ -19,4 +19,4 @@ public:
static std::string decodeData(ControllerMessage& dataMsg);
};
#endif //PROTOCOLX10_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLX10_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef PROTOCOLYIDONG_H
#define PROTOCOLYIDONG_H
#ifndef TELLDUS_CORE_SERVICE_PROTOCOLYIDONG_H_
#define TELLDUS_CORE_SERVICE_PROTOCOLYIDONG_H_
#include "service/ProtocolSartano.h"
@ -15,4 +15,4 @@ public:
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller);
};
#endif //PROTOCOLYIDONG_H
#endif // TELLDUS_CORE_SERVICE_PROTOCOLYIDONG_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef SENSOR_H
#define SENSOR_H
#ifndef TELLDUS_CORE_SERVICE_SENSOR_H_
#define TELLDUS_CORE_SERVICE_SENSOR_H_
#include "common/Mutex.h"
#include <string>
@ -31,4 +31,4 @@ private:
PrivateData *d;
};
#endif // SENSOR_H
#endif // TELLDUS_CORE_SERVICE_SENSOR_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef SETTINGS_H
#define SETTINGS_H
#ifndef TELLDUS_CORE_SERVICE_SETTINGS_H_
#define TELLDUS_CORE_SERVICE_SETTINGS_H_
#include <string>
#include "common/Mutex.h"
@ -57,4 +57,4 @@ private:
static TelldusCore::Mutex mutex;
};
#endif
#endif // TELLDUS_CORE_SERVICE_SETTINGS_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef TELLSTICK_H
#define TELLSTICK_H
#ifndef TELLDUS_CORE_SERVICE_TELLSTICK_H_
#define TELLDUS_CORE_SERVICE_TELLSTICK_H_
#include <list>
#include "service/Controller.h"
@ -50,4 +50,4 @@ private:
PrivateData *d;
};
#endif
#endif // TELLDUS_CORE_SERVICE_TELLSTICK_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef TELLDUSMAIN_H
#define TELLDUSMAIN_H
#ifndef TELLDUS_CORE_SERVICE_TELLDUSMAIN_H_
#define TELLDUS_CORE_SERVICE_TELLDUSMAIN_H_
class TelldusMain
{
@ -26,4 +26,4 @@ private:
PrivateData *d;
};
#endif //TELLDUSMAIN_H
#endif // TELLDUS_CORE_SERVICE_TELLDUSMAIN_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef TIMER_H
#define TIMER_H
#ifndef TELLDUS_CORE_SERVICE_TIMER_H_
#define TELLDUS_CORE_SERVICE_TIMER_H_
#include "common/Event.h"
#include "common/Thread.h"
@ -27,4 +27,4 @@ private:
};
#endif //TIMER_H
#endif // TELLDUS_CORE_SERVICE_TIMER_H_