Added m_camerasMap to DVRServer

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Re moved need for use DVRCameraData::instances static variable

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Extracted RecordingState from DVRCamera

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Support invalid cameraIds in DVRServer::getCamera

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Improve EventData::locationCamera implementation

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Remove useless locationCamera static method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Do not allow for direct casting DVRCamera to QObject

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
No to allow to directly cast DVRCamera to bool

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Make DVRCamera a QObject

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Store pointers to DVRCamera in DVRServer

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Changed cameraAdded and cameraRemoved signals to use pointers

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Removed unused method

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Moved DVRCamera constructors to .cpp file

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Proxy onlineChanged in DVRCamera

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use new DVRCamera onlineChanged in LiveFeedItem

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Proxy dataUpdated signal in DVRCamera

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use DVRCamera::dataUpdated() signal

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Proxy recordingStateChanged signal in DVRCamera

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Use new DVRClient::recordingStateChanged signal

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>
Make qHash a friend of DVRCamera

Signed-off-by: Rafał Malinowski <rafal.malinowski@corp.bluecherry.net>