Commit graph

16 commits

Author SHA1 Message Date
Micke Prag
9500c4c898 Convert dos endings to unix in telldus-core, see #160 2012-02-27 17:37:52 +01:00
Micke Prag
148fd52c76 Create one generic callback dispatcher that can handle all our
callbacks.

This minimize code duplication and allows us much easier to add and
maintain callbacks.
2012-02-24 16:47:30 +01:00
Micke Prag
9f8ceec805 Merge remote branch 'origin/master' into t108
Conflicts:
	telldus-core/client/Client.cpp
2012-02-23 16:59:50 +01:00
Stefan Persson
c049b97a64 Dispatching of events in own thread, to somewhat counter problems with long running events. 2012-02-23 15:48:39 +01:00
Micke Prag
2b7f02bbb4 Add public function tdController() to telldus-core. See #108 2012-02-23 10:07:16 +01:00
Micke Prag
9535ecd0ae Merge branch t102, this closes #102 2011-10-06 14:12:55 +00:00
Micke Prag
8eaaf6f4a6 Added functions tdSensor() and tdSensorValue() to the client library. The function tdSensor() caches the result and only returns one sensor per call 2011-05-13 12:51:13 +00:00
Micke Prag
7532d315d8 Added new callback TDSensorEvent 2011-05-12 15:32:11 +00:00
Stefan Persson
2c2a030c9b Callback events implemented on client side (not tested for device and raw events) 2010-10-19 12:31:32 +00:00
Micke Prag
7ea2f3bbb8 Implemented register and unregister of callbacks. 2010-10-18 11:05:43 +00:00
Micke Prag
bd2e9b9826 Added helper function Client::sendToService() 2010-10-18 10:33:31 +00:00
Micke Prag
ac9a35af21 Converted Message::getClientWStringFromSocket() to Client::getWStringFromService() 2010-10-18 10:28:20 +00:00
Micke Prag
3094384f8a Converted Message::getClientBoolFromSocket() to Client::getBoolFromService() 2010-10-18 10:23:18 +00:00
Micke Prag
839532f6fb Added function Client::getIntegerFromService() 2010-10-18 10:06:10 +00:00
Micke Prag
9550578717 Client is now a singleton 2010-10-18 09:56:00 +00:00
Micke Prag
4e09d37c06 Introduced class Client 2010-10-18 09:45:51 +00:00