Separate classes for event listener and client info 91/48591/20
authorAnkur <ankur29.garg@samsung.com>
Fri, 27 Nov 2015 10:00:01 +0000 (15:30 +0530)
committerAnkur Garg <ankur29.garg@samsung.com>
Thu, 3 Dec 2015 10:49:31 +0000 (02:49 -0800)
commit97e9904eeb6b3bac228d378ce0db9e67fbdf51fe
treeb06f0d8698a58bd840827ab9e2f19e3d4d0b05ad
parent273917a501be3707c963e5258da58afdcd6647b0
Separate classes for event listener and client info

Modified the csensor_event_listener and separated the client information into a separate class. Earlier both the client information and the event listener functionality was present in a single class.
This is more structured code.

Review: Removing the functions from event_listener class as they have been moved to client_info class.
Review2: Removing m_client_info from csensor_event_listener and using it as a static instance.

Change-Id: Ie18e84023a8c448fbd8a06f2d2615b4e8c117c65
src/client/CMakeLists.txt
src/client/client.cpp
src/client/csensor_client_info.cpp [new file with mode: 0644]
src/client/csensor_client_info.h [new file with mode: 0644]
src/client/csensor_event_listener.cpp
src/client/csensor_event_listener.h