Changeset 3a0cee
- Timestamp:
- 06/19/12 12:30:50 (11 months ago)
- Branches:
- ('master', 'a231b56d57a69513303d0061f5fa3e3cd51c85c1')
- Children:
- 110dcc2c574320d8673e61f20a4137157709913d
- Parents:
- 75f21588e53683537e6a17a95749ae0f87ef4b4b
- git-author:
- Micke Prag <micke.prag@telldus.se>2012-06-19 11:57:22+02:00
- git-committer:
- Micke Prag <micke.prag@telldus.se>2012-06-19 12:30:50+02:00
- Location:
- telldus-core
- Files:
-
- 37 edited
-
common/Event.cpp (modified) (1 diff)
-
common/Event.h (modified) (1 diff)
-
common/Message.cpp (modified) (1 diff)
-
common/Socket.h (modified) (2 diffs)
-
common/Strings.cpp (modified) (1 diff)
-
common/Strings.h (modified) (2 diffs)
-
common/common.h (modified) (1 diff)
-
service/ClientCommunicationHandler.cpp (modified) (1 diff)
-
service/ConnectionListener_unix.cpp (modified) (1 diff)
-
service/Controller.h (modified) (1 diff)
-
service/ControllerManager.cpp (modified) (2 diffs)
-
service/ControllerManager.h (modified) (1 diff)
-
service/ControllerMessage.cpp (modified) (1 diff)
-
service/Device.h (modified) (1 diff)
-
service/DeviceManager.cpp (modified) (2 diffs)
-
service/DeviceManager.h (modified) (2 diffs)
-
service/EventUpdateManager.cpp (modified) (1 diff)
-
service/Protocol.cpp (modified) (2 diffs)
-
service/ProtocolComen.h (modified) (1 diff)
-
service/ProtocolEverflourish.cpp (modified) (1 diff)
-
service/ProtocolFineoffset.cpp (modified) (1 diff)
-
service/ProtocolHasta.cpp (modified) (1 diff)
-
service/ProtocolIkea.cpp (modified) (1 diff)
-
service/ProtocolMandolyn.cpp (modified) (1 diff)
-
service/ProtocolNexa.cpp (modified) (1 diff)
-
service/ProtocolNexa.h (modified) (1 diff)
-
service/ProtocolOregon.cpp (modified) (1 diff)
-
service/ProtocolSartano.cpp (modified) (1 diff)
-
service/ProtocolWaveman.cpp (modified) (1 diff)
-
service/Sensor.cpp (modified) (1 diff)
-
service/Sensor.h (modified) (1 diff)
-
service/SettingsConfuse.cpp (modified) (1 diff)
-
service/TellStick.cpp (modified) (1 diff)
-
service/TellStick_libftdi.cpp (modified) (1 diff)
-
service/TelldusMain.cpp (modified) (2 diffs)
-
service/Timer.cpp (modified) (2 diffs)
-
service/main_unix.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
telldus-core/common/Event.cpp
r8d0228 r3a0cee 6 6 // 7 7 #include "common/Event.h" 8 #include <list> 8 9 #include "common/EventHandler.h" 9 10 #include "common/Mutex.h" 10 11 11 #include <list>12 12 13 13 using namespace TelldusCore; -
telldus-core/common/Event.h
ra4dfd2 r3a0cee 8 8 #define TELLDUS_CORE_COMMON_EVENT_H_ 9 9 10 #include "Thread.h"11 10 12 #ifdef _WINDOWS 13 #include <windows.h> 14 #include <memory> 11 #ifndef _WINDOWS 12 #include <tr1/memory> 13 typedef void* EVENT_T; 14 #else 15 #include <windows.h> 16 #include <memory> 15 17 typedef HANDLE EVENT_T; 16 #else17 #include <tr1/memory>18 typedef void* EVENT_T;19 18 #endif 20 19 #include "common/Thread.h" -
telldus-core/common/Message.cpp
r75f215 r3a0cee 5 5 // 6 6 // 7 #include "common/Message.h" 7 8 #include <wctype.h> 8 9 #include <stdlib.h> 9 10 #include <sstream> 10 #include "common/Message.h"11 11 #include "common/Socket.h" 12 12 #include "common/Strings.h" 13 13 14 14 using namespace TelldusCore; 15 16 15 17 16 Message::Message() -
telldus-core/common/Socket.h
r75f215 r3a0cee 8 8 #define TELLDUS_CORE_COMMON_SOCKET_H_ 9 9 10 #include <string>11 12 10 #ifdef _WINDOWS 13 11 #include <windows.h> … … 16 14 typedef int SOCKET_T; 17 15 #endif 16 17 #include <string> 18 18 19 19 namespace TelldusCore { -
telldus-core/common/Strings.cpp
r75f215 r3a0cee 7 7 8 8 #include "common/Strings.h" 9 #include <string.h> 10 #include <stdio.h> 11 12 #ifdef _WINDOWS 13 #include <windows.h> 14 #else 15 #include <iconv.h> 16 #endif 9 17 #include <algorithm> 10 18 #include <sstream> 11 19 #include <string> 12 #include <string.h> 13 #include <stdio.h> 14 15 #ifdef _WINDOWS 16 #include <windows.h> 17 #else 18 #include <iconv.h> 19 #endif 20 20 21 21 22 #ifdef _MACOSX -
telldus-core/common/Strings.h
r75f215 r3a0cee 8 8 #define TELLDUS_CORE_COMMON_STRINGS_H_ 9 9 10 #include <string>11 10 #include <stdarg.h> 12 11 #ifdef _MSC_VER … … 18 17 #include <stdint.h> 19 18 #endif 19 #include <string> 20 20 21 21 namespace TelldusCore { -
telldus-core/common/common.h
re1608f r3a0cee 17 17 #include <unistd.h> 18 18 #endif 19 #include "Strings.h" 20 #include <fstream> 19 #include <stdarg.h> 21 20 #include <stdlib.h> 22 21 #include <string.h> 22 #include <fstream> 23 23 #include <string> 24 #include <stdarg.h>25 24 #include "common/Strings.h" 26 25 -
telldus-core/service/ClientCommunicationHandler.cpp
r75f215 r3a0cee 5 5 // 6 6 // 7 #include "ClientCommunicationHandler.h" 7 #include "service/ClientCommunicationHandler.h" 8 9 #include <stdlib.h> 10 #include <string> 11 8 12 #include "common/Message.h" 9 13 #include "common/Strings.h" 10 11 #include <stdlib.h>12 #include <string>13 14 14 15 class ClientCommunicationHandler::PrivateData { -
telldus-core/service/ConnectionListener_unix.cpp
r75f215 r3a0cee 5 5 // 6 6 // 7 #include "service/ConnectionListener.h"8 #include "common/Socket.h"9 10 #include <string>11 7 #include <sys/socket.h> 12 8 #include <sys/un.h> 13 9 #include <sys/types.h> 14 10 #include <sys/stat.h> 15 16 17 11 #include <stdio.h> 18 12 #include <unistd.h> 19 13 #include <errno.h> 14 #include <string> 15 16 #include "service/ConnectionListener.h" 17 #include "common/Socket.h" 20 18 21 19 class ConnectionListener::PrivateData { -
telldus-core/service/Controller.h
r0d25f0 r3a0cee 8 8 #define TELLDUS_CORE_SERVICE_CONTROLLER_H_ 9 9 10 #include <string> 10 11 #include "common/Event.h" 11 #include <string>12 12 13 13 class ControllerEventData : public TelldusCore::EventDataBase { -
telldus-core/service/ControllerManager.cpp
r75f215 r3a0cee 6 6 // 7 7 #include "service/ControllerManager.h" 8 9 #include <stdio.h> 10 #include <list> 11 #include <map> 12 #include <string> 13 8 14 #include "service/Controller.h" 9 15 #include "common/Mutex.h" … … 15 21 #include "service/EventUpdateManager.h" 16 22 #include "client/telldus-core.h" 17 18 #include <map>19 #include <stdio.h>20 23 21 24 class ControllerDescriptor { -
telldus-core/service/ControllerManager.h
r0d25f0 r3a0cee 8 8 #define TELLDUS_CORE_SERVICE_CONTROLLERMANAGER_H_ 9 9 10 #include <string> 10 11 #include "common/Event.h" 11 12 class Controller; 12 13 13 #include <string>14 14 15 15 class ControllerManager { -
telldus-core/service/ControllerMessage.cpp
r75f215 r3a0cee 6 6 // 7 7 #include "service/ControllerMessage.h" 8 #include <map> 9 #include <string> 8 10 #include "service/Device.h" 9 11 #include "common/Strings.h" 10 11 12 #include "common/common.h" 12 13 #include <map>14 13 15 14 class ControllerMessage::PrivateData { -
telldus-core/service/Device.h
re1608f r3a0cee 8 8 #define TELLDUS_CORE_SERVICE_DEVICE_H_ 9 9 10 #include <list> 11 #include <string> 10 12 #include "service/Controller.h" 11 13 #include "common/Mutex.h" 12 14 #include "service/Protocol.h" 13 #include <string>14 #include <list>15 15 16 16 class Device : public TelldusCore::Mutex { -
telldus-core/service/DeviceManager.cpp
r75f215 r3a0cee 6 6 // 7 7 #include "service/DeviceManager.h" 8 #include <time.h> 9 #include <list> 10 #include <map> 11 #include <memory> 12 #include <set> 13 #include <sstream> 14 #include <string> 15 8 16 #include "service/ControllerMessage.h" 9 17 #include "common/Mutex.h" … … 13 21 #include "common/Message.h" 14 22 #include "service/Log.h" 15 16 #include <map>17 #include <memory>18 #include <sstream>19 #include <time.h>20 23 21 24 typedef std::map<int, Device *> DeviceMap; -
telldus-core/service/DeviceManager.h
re1608f r3a0cee 8 8 #define TELLDUS_CORE_SERVICE_DEVICEMANAGER_H_ 9 9 10 #include <set> 10 11 #include <string> 11 12 #include "service/Device.h" … … 13 14 #include "service/ControllerMessage.h" 14 15 #include "service/EventUpdateManager.h" 15 #include <set>16 16 17 17 class Sensor; -
telldus-core/service/EventUpdateManager.cpp
r75f215 r3a0cee 7 7 #include "service/EventUpdateManager.h" 8 8 9 #include <list> 10 #include <memory> 11 9 12 #include "service/ConnectionListener.h" 10 13 #include "common/EventHandler.h" 11 14 #include "common/Message.h" 12 15 #include "common/Socket.h" 13 14 #include <list>15 #include <memory>16 16 17 17 typedef std::list<TelldusCore::Socket *> SocketList; -
telldus-core/service/Protocol.cpp
r75f215 r3a0cee 6 6 // 7 7 #include "service/Protocol.h" 8 #include <list> 9 #include <sstream> 10 #include <string> 11 8 12 #include "client/telldus-core.h" 9 10 13 #include "service/ControllerMessage.h" 11 14 #include "service/ProtocolBrateck.h" … … 28 31 #include "service/ProtocolX10.h" 29 32 #include "service/ProtocolYidong.h" 30 31 33 #include "common/Strings.h" 32 #include <sstream>33 34 34 35 class Protocol::PrivateData { -
telldus-core/service/ProtocolComen.h
r0d25f0 r3a0cee 8 8 #define TELLDUS_CORE_SERVICE_PROTOCOLCOMEN_H_ 9 9 10 #include <string> 10 11 #include "service/ProtocolNexa.h" 11 #include <string>12 12 13 13 class ProtocolComen : public ProtocolNexa { -
telldus-core/service/ProtocolEverflourish.cpp
r75f215 r3a0cee 5 5 // 6 6 // 7 #include "ProtocolEverflourish.h" 7 #include "service/ProtocolEverflourish.h" 8 #include <stdio.h> 8 9 #include <sstream> 9 #include <st dio.h>10 #include <string> 10 11 #include "service/ControllerMessage.h" 11 #include <string>12 12 13 13 int ProtocolEverflourish::methods() const { -
telldus-core/service/ProtocolFineoffset.cpp
re1608f r3a0cee 6 6 // 7 7 #include "service/ProtocolFineoffset.h" 8 #include <stdlib.h> 9 #include <iomanip> 10 #include <sstream> 11 #include <string> 8 12 #include "common/Strings.h" 9 #include <stdlib.h>10 #include <sstream>11 #include <iomanip>12 13 13 14 std::string ProtocolFineoffset::decodeData(ControllerMessage &dataMsg) { -
telldus-core/service/ProtocolHasta.cpp
r75f215 r3a0cee 6 6 // 7 7 #include "service/ProtocolHasta.h" 8 #include <stdio.h> 8 9 #include <sstream> 9 #include <st dio.h>10 #include <string> 10 11 11 12 int ProtocolHasta::methods() const { -
telldus-core/service/ProtocolIkea.cpp
r75f215 r3a0cee 6 6 // 7 7 #include "service/ProtocolIkea.h" 8 #include "common/Strings.h"9 10 8 #include <stdlib.h> 11 9 #include <string.h> 10 #include <string> 11 #include "common/Strings.h" 12 12 13 13 int ProtocolIkea::methods() const { -
telldus-core/service/ProtocolMandolyn.cpp
re1608f r3a0cee 6 6 // 7 7 #include "service/ProtocolMandolyn.h" 8 #include <stdlib.h> 9 #include <iomanip> 10 #include <sstream> 11 #include <string> 8 12 #include "common/Strings.h" 9 #include <stdlib.h>10 #include <sstream>11 #include <iomanip>12 13 13 14 std::string ProtocolMandolyn::decodeData(ControllerMessage &dataMsg) { -
telldus-core/service/ProtocolNexa.cpp
r75f215 r3a0cee 8 8 #include <stdio.h> 9 9 #include <sstream> 10 #include <string> 10 11 #include "service/TellStick.h" 11 12 #include "common/Strings.h" -
telldus-core/service/ProtocolNexa.h
r0d25f0 r3a0cee 8 8 #define TELLDUS_CORE_SERVICE_PROTOCOLNEXA_H_ 9 9 10 #include <string> 10 11 #include "service/ControllerMessage.h" 11 12 #include "service/Device.h" 12 #include <string>13 13 14 14 class ProtocolNexa : public Protocol { -
telldus-core/service/ProtocolOregon.cpp
r75f215 r3a0cee 6 6 // 7 7 #include "service/ProtocolOregon.h" 8 #include <stdlib.h> 9 #include <iomanip> 10 #include <sstream> 11 #include <string> 8 12 #include "common/Strings.h" 9 #include <stdlib.h>10 #include <sstream>11 #include <iomanip>12 13 13 14 std::string ProtocolOregon::decodeData(ControllerMessage &dataMsg) { -
telldus-core/service/ProtocolSartano.cpp
re1608f r3a0cee 6 6 // 7 7 #include "service/ProtocolSartano.h" 8 #include <stdio.h> 8 9 #include <sstream> 9 #include <st dio.h>10 #include <string> 10 11 11 12 int ProtocolSartano::methods() const { -
telldus-core/service/ProtocolWaveman.cpp
r75f215 r3a0cee 6 6 // 7 7 #include "service/ProtocolWaveman.h" 8 #include <stdio.h> 8 9 #include <sstream> 9 #include <st dio.h>10 #include <string> 10 11 11 12 int ProtocolWaveman::lastArctecCodeSwitchWasTurnOff=0; -
telldus-core/service/Sensor.cpp
re1608f r3a0cee 6 6 // 7 7 #include "service/Sensor.h" 8 #include <map> 9 #include <string> 8 10 #include "common/common.h" 9 11 #include "client/telldus-core.h" 10 #include <map>11 12 12 13 class Sensor::PrivateData { -
telldus-core/service/Sensor.h
re1608f r3a0cee 8 8 #define TELLDUS_CORE_SERVICE_SENSOR_H_ 9 9 10 #include <string> 10 11 #include "common/Mutex.h" 11 #include <string>12 12 13 13 class Sensor : public TelldusCore::Mutex { -
telldus-core/service/SettingsConfuse.cpp
r75f215 r3a0cee 5 5 // 6 6 // 7 #include "Settings.h" 8 #include "client/telldus-core.h" 7 #include <confuse.h> 8 #include <stdlib.h> 9 #include <string.h> 10 #include <errno.h> 11 #include <string> 9 12 #include "service/Settings.h" 10 13 #include "service/SettingsConfusePaths.h" 11 14 #include "client/telldus-core.h" 12 15 #include "common/Strings.h" 13 #include <confuse.h>14 #include <stdlib.h>15 #include <string.h>16 #include <errno.h>17 16 18 17 using namespace std; -
telldus-core/service/TellStick.cpp
r75f215 r3a0cee 7 7 #include "service/TellStick.h" 8 8 9 #include <stdio.h> 9 10 #include <map> 10 #include <st dio.h>11 #include <string> 11 12 12 13 std::string TellStick::createTPacket( const std::string &msg ) { -
telldus-core/service/TellStick_libftdi.cpp
r75f215 r3a0cee 5 5 // 6 6 // 7 #include "service/TellStick.h" 8 #include "client/telldus-core.h" 7 #include <ftdi.h> 9 8 #include <string.h> 10 9 #include <stdlib.h> 11 10 #include <stdio.h> 12 11 #include <unistd.h> 13 #include <ftdi.h>14 12 #include <list> 15 13 #include <string> 14 15 #include "service/TellStick.h" 16 16 #include "service/Log.h" 17 17 #include "service/Settings.h" 18 #include "client/telldus-core.h" 18 19 #include "common/Thread.h" 19 20 #include "common/Mutex.h" 20 21 #include "common/Strings.h" 21 22 #include "common/common.h" 22 23 #include <unistd.h>24 23 25 24 typedef struct _EVENT_HANDLE { -
telldus-core/service/TelldusMain.cpp
r75f215 r3a0cee 6 6 // 7 7 #include "service/TelldusMain.h" 8 9 #include <stdio.h> 10 #include <list> 11 #include <memory> 12 8 13 #include "service/ConnectionListener.h" 9 14 #include "common/EventHandler.h" … … 16 21 #include "service/Log.h" 17 22 18 #include <stdio.h>19 #include <list>20 #include <memory>21 23 22 24 class TelldusMain::PrivateData { -
telldus-core/service/Timer.cpp
r75f215 r3a0cee 6 6 // 7 7 #include "service/Timer.h" 8 #include "common/Mutex.h"9 8 #ifdef _WINDOWS 10 9 #else … … 12 11 #include <errno.h> 13 12 #endif 13 #include "common/Mutex.h" 14 14 15 15 class Timer::PrivateData { -
telldus-core/service/main_unix.cpp
r75f215 r3a0cee 5 5 // 6 6 // 7 #include "service/TelldusMain.h"8 7 #include <signal.h> 9 8 #include <string.h> … … 17 16 #include <string> 18 17 18 #include "service/TelldusMain.h" 19 19 #include "service/Settings.h" 20 20 #include "common/Strings.h"
Note: See TracChangeset
for help on using the changeset viewer.
