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 #ifndef TELLDUS_CORE_CLIENT_CALLBACKDISPATCHER_H_
#define CALLBACKDISPATCHER_H #define TELLDUS_CORE_CLIENT_CALLBACKDISPATCHER_H_
#include "common/common.h" #include "common/common.h"
#include "common/Event.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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef CLIENT_H #ifndef TELLDUS_CORE_CLIENT_CLIENT_H_
#define CLIENT_H #define TELLDUS_CORE_CLIENT_CLIENT_H_
#include "client/telldus-core.h" #include "client/telldus-core.h"
#include "client/CallbackDispatcher.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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef TELLDUSCORE_H #ifndef TELLDUS_CORE_CLIENT_TELLDUS_CORE_H_
#define TELLDUSCORE_H #define TELLDUS_CORE_CLIENT_TELLDUS_CORE_H_
// The following ifdef block is the standard way of creating macros // The following ifdef block is the standard way of creating macros
// which make exporting from a DLL simpler. All files within this DLL // 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_AVAILABLE 5
#define TELLSTICK_CHANGE_FIRMWARE 6 #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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef EVENT_H #ifndef TELLDUS_CORE_COMMON_EVENT_H_
#define EVENT_H #define TELLDUS_CORE_COMMON_EVENT_H_
#include "Thread.h" #include "Thread.h"
@ -77,4 +77,4 @@ namespace TelldusCore {
typedef std::tr1::shared_ptr<Event> EventRef; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef EVENTHANDLER_H #ifndef TELLDUS_CORE_COMMON_EVENTHANDLER_H_
#define EVENTHANDLER_H #define TELLDUS_CORE_COMMON_EVENTHANDLER_H_
#include "common/Event.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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef MESSAGE_H #ifndef TELLDUS_CORE_COMMON_MESSAGE_H_
#define MESSAGE_H #define TELLDUS_CORE_COMMON_MESSAGE_H_
#include <string> #include <string>
@ -22,16 +22,16 @@ namespace TelldusCore {
//void addSpecialArgument(const char *); //void addSpecialArgument(const char *);
void addArgument(int); void addArgument(int);
void addArgument(const char *); void addArgument(const char *);
static bool nextIsInt(const std::wstring &); static bool nextIsInt(const std::wstring &);
static bool nextIsString(const std::wstring &); static bool nextIsString(const std::wstring &);
static std::wstring takeString(std::wstring *); static std::wstring takeString(std::wstring *);
static int takeInt(std::wstring *); static int takeInt(std::wstring *);
private: 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef MUTEX_H #ifndef TELLDUS_CORE_COMMON_MUTEX_H_
#define MUTEX_H #define TELLDUS_CORE_COMMON_MUTEX_H_
namespace TelldusCore { namespace TelldusCore {
class Mutex { 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef SOCKET_H #ifndef TELLDUS_CORE_COMMON_SOCKET_H_
#define SOCKET_H #define TELLDUS_CORE_COMMON_SOCKET_H_
#include <string> #include <string>
@ -30,10 +30,10 @@ namespace TelldusCore {
std::wstring read(int timeout); std::wstring read(int timeout);
void stopReadWait(); void stopReadWait();
void write(const std::wstring &msg); void write(const std::wstring &msg);
private: private:
class PrivateData; class PrivateData;
PrivateData *d; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef STRING_H #ifndef TELLDUS_CORE_COMMON_STRINGS_H_
#define STRING_H #define TELLDUS_CORE_COMMON_STRINGS_H_
#include <string> #include <string>
#include <stdarg.h> #include <stdarg.h>
@ -36,4 +36,4 @@ namespace TelldusCore {
std::string sformatf(const char *format, va_list ap); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef THREAD_H #ifndef TELLDUS_CORE_COMMON_THREAD_H_
#define THREAD_H #define TELLDUS_CORE_COMMON_THREAD_H_
#include <string> #include <string>
#include "common/Mutex.h" #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 #ifndef TELLDUS_CORE_COMMON_COMMON_H_
#define COMMON_H #define TELLDUS_CORE_COMMON_COMMON_H_
#ifdef _WINDOWS #ifdef _WINDOWS
#include <windows.h> #include <windows.h>
@ -80,4 +80,4 @@ inline char *wrapStdWstring( const std::wstring &wstring) {
return wrapStdString(TelldusCore::wideToString(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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef CLIENTCOMMUNICATIONHANDLER_H #ifndef TELLDUS_CORE_SERVICE_CLIENTCOMMUNICATIONHANDLER_H_
#define CLIENTCOMMUNICATIONHANDLER_H #define TELLDUS_CORE_SERVICE_CLIENTCOMMUNICATIONHANDLER_H_
#include <string> #include <string>
#include "common/Thread.h" #include "common/Thread.h"
@ -39,4 +39,4 @@ private:
void sendDeviceSignal(int deviceId, int eventDeviceChanges, int eventChangeType); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef CONNECTIONLISTENER_H #ifndef TELLDUS_CORE_SERVICE_CONNECTIONLISTENER_H_
#define CONNECTIONLISTENER_H #define TELLDUS_CORE_SERVICE_CONNECTIONLISTENER_H_
#include <string> #include <string>
#include "common/Thread.h" #include "common/Thread.h"
@ -34,4 +34,4 @@ private:
PrivateData *d; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef CONTROLLER_H #ifndef TELLDUS_CORE_SERVICE_CONTROLLER_H_
#define CONTROLLER_H #define TELLDUS_CORE_SERVICE_CONTROLLER_H_
#include "common/Event.h" #include "common/Event.h"
#include <string> #include <string>
@ -35,4 +35,4 @@ private:
PrivateData *d; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef CONTROLLERLISTENER_H #ifndef TELLDUS_CORE_SERVICE_CONTROLLERLISTENER_H_
#define CONTROLLERLISTENER_H #define TELLDUS_CORE_SERVICE_CONTROLLERLISTENER_H_
#include "common/Thread.h" #include "common/Thread.h"
#include "common/Event.h" #include "common/Event.h"
@ -29,4 +29,4 @@ private:
PrivateData *d; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef CONTROLLERMANAGER_H #ifndef TELLDUS_CORE_SERVICE_CONTROLLERMANAGER_H_
#define CONTROLLERMANAGER_H #define TELLDUS_CORE_SERVICE_CONTROLLERMANAGER_H_
#include "common/Event.h" #include "common/Event.h"
class Controller; class Controller;
@ -36,4 +36,4 @@ private:
PrivateData *d; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef CONTROLLERMESSAGE_H #ifndef TELLDUS_CORE_SERVICE_CONTROLLERMESSAGE_H_
#define CONTROLLERMESSAGE_H #define TELLDUS_CORE_SERVICE_CONTROLLERMESSAGE_H_
#include <string> #include <string>
@ -28,4 +28,4 @@ private:
PrivateData *d; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef DEVICE_H #ifndef TELLDUS_CORE_SERVICE_DEVICE_H_
#define DEVICE_H #define TELLDUS_CORE_SERVICE_DEVICE_H_
#include "service/Controller.h" #include "service/Controller.h"
#include "common/Mutex.h" #include "common/Mutex.h"
@ -48,4 +48,4 @@ private:
PrivateData *d; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef DEVICEMANAGER_H #ifndef TELLDUS_CORE_SERVICE_DEVICEMANAGER_H_
#define DEVICEMANAGER_H #define TELLDUS_CORE_SERVICE_DEVICEMANAGER_H_
#include "service/Device.h" #include "service/Device.h"
#include "service/ControllerManager.h" #include "service/ControllerManager.h"
@ -62,4 +62,4 @@ private:
PrivateData *d; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef EVENTUPDATEMANAGER_H #ifndef TELLDUS_CORE_SERVICE_EVENTUPDATEMANAGER_H_
#define EVENTUPDATEMANAGER_H #define TELLDUS_CORE_SERVICE_EVENTUPDATEMANAGER_H_
#include "common/Thread.h" #include "common/Thread.h"
#include "common/Event.h" #include "common/Event.h"
@ -47,4 +47,4 @@ private:
void sendMessageToClients(EventUpdateData *data); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef LOG_H #ifndef TELLDUS_CORE_SERVICE_LOG_H_
#define LOG_H #define TELLDUS_CORE_SERVICE_LOG_H_
#include <stdio.h> #include <stdio.h>
#include <stdarg.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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOL_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOL_H_
#define PROTOCOL_H #define TELLDUS_CORE_SERVICE_PROTOCOL_H_
#include <string> #include <string>
#include <list> #include <list>
@ -44,4 +44,4 @@ private:
PrivateData *d; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLBRATECK_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLBRATECK_H_
#define PROTOCOLBRATECK_H #define TELLDUS_CORE_SERVICE_PROTOCOLBRATECK_H_
#include "service/Protocol.h" #include "service/Protocol.h"
@ -16,4 +16,4 @@ public:
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLCOMEN_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLCOMEN_H_
#define PROTOCOLCOMEN_H #define TELLDUS_CORE_SERVICE_PROTOCOLCOMEN_H_
#include "service/ProtocolNexa.h" #include "service/ProtocolNexa.h"
#include <string> #include <string>
@ -16,4 +16,4 @@ public:
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLEVERFLOURISH_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLEVERFLOURISH_H_
#define PROTOCOLEVERFLOURISH_H #define TELLDUS_CORE_SERVICE_PROTOCOLEVERFLOURISH_H_
#include "service/Protocol.h" #include "service/Protocol.h"
#include "service/ControllerMessage.h" #include "service/ControllerMessage.h"
@ -21,4 +21,4 @@ private:
static unsigned int calculateChecksum(unsigned int x); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLFINEOFFSET_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLFINEOFFSET_H_
#define PROTOCOLFINEOFFSET_H #define TELLDUS_CORE_SERVICE_PROTOCOLFINEOFFSET_H_
#include "service/Protocol.h" #include "service/Protocol.h"
#include "service/ControllerMessage.h" #include "service/ControllerMessage.h"
@ -16,4 +16,4 @@ public:
static std::string decodeData(ControllerMessage &dataMsg); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLFUHAOTE_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLFUHAOTE_H_
#define PROTOCOLFUHAOTE_H #define TELLDUS_CORE_SERVICE_PROTOCOLFUHAOTE_H_
#include "service/Protocol.h" #include "service/Protocol.h"
@ -16,4 +16,4 @@ public:
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLGROUP_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLGROUP_H_
#define PROTOCOLGROUP_H #define TELLDUS_CORE_SERVICE_PROTOCOLGROUP_H_
#include "service/Protocol.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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLHASTA_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLHASTA_H_
#define PROTOCOLHASTA_H #define TELLDUS_CORE_SERVICE_PROTOCOLHASTA_H_
#include "service/Protocol.h" #include "service/Protocol.h"
@ -19,4 +19,4 @@ protected:
static std::string convertByte(unsigned char byte); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLIKEA_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLIKEA_H_
#define PROTOCOLIKEA_H #define TELLDUS_CORE_SERVICE_PROTOCOLIKEA_H_
#include "service/Protocol.h" #include "service/Protocol.h"
@ -16,4 +16,4 @@ public:
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLMANDOLYN_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLMANDOLYN_H_
#define PROTOCOLMANDOLYN_H #define TELLDUS_CORE_SERVICE_PROTOCOLMANDOLYN_H_
#include "service/Protocol.h" #include "service/Protocol.h"
#include "service/ControllerMessage.h" #include "service/ControllerMessage.h"
@ -16,4 +16,4 @@ public:
static std::string decodeData(ControllerMessage &dataMsg); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLNEXA_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLNEXA_H_
#define PROTOCOLNEXA_H #define TELLDUS_CORE_SERVICE_PROTOCOLNEXA_H_
#include "service/ControllerMessage.h" #include "service/ControllerMessage.h"
#include "service/Device.h" #include "service/Device.h"
@ -31,4 +31,4 @@ private:
static std::string decodeDataSelfLearning(long allData); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLOREGON_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLOREGON_H_
#define PROTOCOLOREGON_H #define TELLDUS_CORE_SERVICE_PROTOCOLOREGON_H_
#include "service/Protocol.h" #include "service/Protocol.h"
#include "service/ControllerMessage.h" #include "service/ControllerMessage.h"
@ -20,4 +20,4 @@ protected:
static std::string decode1A2D(const std::string &data); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLRISINGSUN_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLRISINGSUN_H_
#define PROTOCOLRISINGSUN_H #define TELLDUS_CORE_SERVICE_PROTOCOLRISINGSUN_H_
#include "service/Protocol.h" #include "service/Protocol.h"
@ -21,4 +21,4 @@ protected:
static std::string getCodeSwitchTuple(int code); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLSARTANO_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLSARTANO_H_
#define PROTOCOLSARTANO_H #define TELLDUS_CORE_SERVICE_PROTOCOLSARTANO_H_
#include "service/Protocol.h" #include "service/Protocol.h"
#include "service/ControllerMessage.h" #include "service/ControllerMessage.h"
@ -21,4 +21,4 @@ protected:
std::string getStringForCode(const std::wstring &code, int method); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLSCENE_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLSCENE_H_
#define PROTOCOLSCENE_H #define TELLDUS_CORE_SERVICE_PROTOCOLSCENE_H_
#include "service/Protocol.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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLSILVANCHIP_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLSILVANCHIP_H_
#define PROTOCOLSILVANCHIP_H #define TELLDUS_CORE_SERVICE_PROTOCOLSILVANCHIP_H_
#include "service/Protocol.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); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLUPM_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLUPM_H_
#define PROTOCOLUPM_H #define TELLDUS_CORE_SERVICE_PROTOCOLUPM_H_
#include "service/Protocol.h" #include "service/Protocol.h"
@ -16,4 +16,4 @@ public:
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLWAVEMAN_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLWAVEMAN_H_
#define PROTOCOLWAVEMAN_H #define TELLDUS_CORE_SERVICE_PROTOCOLWAVEMAN_H_
#include "service/ProtocolNexa.h" #include "service/ProtocolNexa.h"
@ -22,4 +22,4 @@ private:
static int lastArctecCodeSwitchWasTurnOff; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLX10_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLX10_H_
#define PROTOCOLX10_H #define TELLDUS_CORE_SERVICE_PROTOCOLX10_H_
#include "service/Protocol.h" #include "service/Protocol.h"
#include "service/ControllerMessage.h" #include "service/ControllerMessage.h"
@ -19,4 +19,4 @@ public:
static std::string decodeData(ControllerMessage& dataMsg); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef PROTOCOLYIDONG_H #ifndef TELLDUS_CORE_SERVICE_PROTOCOLYIDONG_H_
#define PROTOCOLYIDONG_H #define TELLDUS_CORE_SERVICE_PROTOCOLYIDONG_H_
#include "service/ProtocolSartano.h" #include "service/ProtocolSartano.h"
@ -15,4 +15,4 @@ public:
virtual std::string getStringForMethod(int method, unsigned char data, Controller *controller); 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef SENSOR_H #ifndef TELLDUS_CORE_SERVICE_SENSOR_H_
#define SENSOR_H #define TELLDUS_CORE_SERVICE_SENSOR_H_
#include "common/Mutex.h" #include "common/Mutex.h"
#include <string> #include <string>
@ -31,4 +31,4 @@ private:
PrivateData *d; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef SETTINGS_H #ifndef TELLDUS_CORE_SERVICE_SETTINGS_H_
#define SETTINGS_H #define TELLDUS_CORE_SERVICE_SETTINGS_H_
#include <string> #include <string>
#include "common/Mutex.h" #include "common/Mutex.h"
@ -57,4 +57,4 @@ private:
static TelldusCore::Mutex mutex; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef TELLSTICK_H #ifndef TELLDUS_CORE_SERVICE_TELLSTICK_H_
#define TELLSTICK_H #define TELLDUS_CORE_SERVICE_TELLSTICK_H_
#include <list> #include <list>
#include "service/Controller.h" #include "service/Controller.h"
@ -50,4 +50,4 @@ private:
PrivateData *d; PrivateData *d;
}; };
#endif #endif // TELLDUS_CORE_SERVICE_TELLSTICK_H_

View file

@ -4,8 +4,8 @@
// Copyright: See COPYING file that comes with this distribution // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef TELLDUSMAIN_H #ifndef TELLDUS_CORE_SERVICE_TELLDUSMAIN_H_
#define TELLDUSMAIN_H #define TELLDUS_CORE_SERVICE_TELLDUSMAIN_H_
class TelldusMain class TelldusMain
{ {
@ -26,4 +26,4 @@ private:
PrivateData *d; 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 // Copyright: See COPYING file that comes with this distribution
// //
// //
#ifndef TIMER_H #ifndef TELLDUS_CORE_SERVICE_TIMER_H_
#define TIMER_H #define TELLDUS_CORE_SERVICE_TIMER_H_
#include "common/Event.h" #include "common/Event.h"
#include "common/Thread.h" #include "common/Thread.h"
@ -27,4 +27,4 @@ private:
}; };
#endif //TIMER_H #endif // TELLDUS_CORE_SERVICE_TIMER_H_