change file name linux.h linux.cpp to Timer.h Timer.cpp

This commit is contained in:
tomoaki
2016-06-19 21:09:38 +09:00
parent 64fa07b391
commit 9369a827b8
6 changed files with 10 additions and 10 deletions

View File

@@ -17,6 +17,7 @@
#ifndef MQTTSNGWCLIENT_H_ #ifndef MQTTSNGWCLIENT_H_
#define MQTTSNGWCLIENT_H_ #define MQTTSNGWCLIENT_H_
#include <Timer.h> // Timer class
#include "MQTTSNGWProcess.h" #include "MQTTSNGWProcess.h"
#include "MQTTGWPacket.h" #include "MQTTGWPacket.h"
#include "MQTTSNGWPacket.h" #include "MQTTSNGWPacket.h"
@@ -24,7 +25,6 @@
#include "Network.h" #include "Network.h"
#include "SensorNetwork.h" #include "SensorNetwork.h"
#include "MQTTSNPacket.h" #include "MQTTSNPacket.h"
#include "linux.h" // Timer class
namespace MQTTSNGW namespace MQTTSNGW
{ {

View File

@@ -17,6 +17,7 @@
#ifndef MQTTSNGWPACKETHANDLETASK_H_ #ifndef MQTTSNGWPACKETHANDLETASK_H_
#define MQTTSNGWPACKETHANDLETASK_H_ #define MQTTSNGWPACKETHANDLETASK_H_
#include <Timer.h>
#include "MQTTSNGWDefines.h" #include "MQTTSNGWDefines.h"
#include "MQTTSNGateway.h" #include "MQTTSNGateway.h"
#include "MQTTSNGWClient.h" #include "MQTTSNGWClient.h"
@@ -29,7 +30,6 @@
#include "MQTTSNGWPublishHandler.h" #include "MQTTSNGWPublishHandler.h"
#include "MQTTSNGWSubscribeHandler.h" #include "MQTTSNGWSubscribeHandler.h"
#include "SensorNetwork.h" #include "SensorNetwork.h"
#include "linux.h"
namespace MQTTSNGW namespace MQTTSNGW

View File

@@ -19,10 +19,10 @@
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>
#include <signal.h> #include <signal.h>
#include <Timer.h>
#include <exception> #include <exception>
#include "MQTTSNGWProcess.h" #include "MQTTSNGWProcess.h"
#include "Threading.h" #include "Threading.h"
#include "linux.h"
using namespace std; using namespace std;
using namespace MQTTSNGW; using namespace MQTTSNGW;

View File

@@ -20,12 +20,10 @@
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <string.h> #include <string.h>
#include "Timer.h"
#include "MQTTSNGWDefines.h" #include "MQTTSNGWDefines.h"
#include "linux.h"
using namespace std; using namespace std;
using namespace MQTTSNGW; using namespace MQTTSNGW;
/*===================================== /*=====================================

View File

@@ -13,9 +13,11 @@
* Contributors: * Contributors:
* Tomoaki Yamaguchi - initial API and implementation * Tomoaki Yamaguchi - initial API and implementation
**************************************************************************************/ **************************************************************************************/
#ifndef MQTTSNGATEWAY_SRC_LINUX_LINUX_H_ #ifndef MQTTSNGATEWAY_SRC_LINUX_TIMER_H_
#define MQTTSNGATEWAY_SRC_LINUX_LINUX_H_ #define MQTTSNGATEWAY_SRC_LINUX_TIMER_H_
#include "MQTTSNGWDefines.h"
#include <time.h>
namespace MQTTSNGW namespace MQTTSNGW
{ {
/*========================================================== /*==========================================================
@@ -67,4 +69,4 @@ private:
} }
#endif /* MQTTSNGATEWAY_SRC_LINUX_LINUX_H_ */ #endif /* MQTTSNGATEWAY_SRC_LINUX_TIMER_H_ */

View File

@@ -29,7 +29,7 @@ $(SRCDIR)/MQTTSNGWProcess.cpp \
$(SRCDIR)/MQTTSNGWPublishHandler.cpp \ $(SRCDIR)/MQTTSNGWPublishHandler.cpp \
$(SRCDIR)/MQTTSNGWSubscribeHandler.cpp \ $(SRCDIR)/MQTTSNGWSubscribeHandler.cpp \
$(SRCDIR)/$(OS)/$(SENSORNET)/SensorNetwork.cpp \ $(SRCDIR)/$(OS)/$(SENSORNET)/SensorNetwork.cpp \
$(SRCDIR)/$(OS)/$(OS).cpp \ $(SRCDIR)/$(OS)/Timer.cpp \
$(SRCDIR)/$(OS)/Network.cpp \ $(SRCDIR)/$(OS)/Network.cpp \
$(SRCDIR)/$(OS)/Threading.cpp $(SRCDIR)/$(OS)/Threading.cpp