Made the device save it last sent command

This commit is contained in:
Micke Prag 2009-02-08 17:54:02 +00:00
parent b6364e49bc
commit ca42ff2852
16 changed files with 264 additions and 224 deletions

View file

@ -8,8 +8,8 @@ using namespace TelldusCore;
/*
* Constructor
*/
DeviceGroup::DeviceGroup(int model, const std::string &strDevices)
:Device(model)
DeviceGroup::DeviceGroup(int id, int model, const std::string &strDevices)
:Device(id, model)
{
if (strDevices.length() > 0) {
char *tempDevices = new char[strDevices.size()+1];