main: instantiate a afm_user_daemon proxy 41/9341/1
authorMarcus Fritzsch <marcus_fritzsch@mentor.com>
Wed, 10 May 2017 12:09:46 +0000 (14:09 +0200)
committerMarcus Fritzsch <marcus_fritzsch@mentor.com>
Wed, 10 May 2017 12:09:46 +0000 (14:09 +0200)
commit9cd61f1d0361c94ee4e1bed6fd1e80151db927cd
tree7384baf7d59465e1cb49ffbd5aa0bb1dd4554f3d
parentc4f4d617bab8275a62f72d39665051cda1fe950b
main: instantiate a afm_user_daemon proxy

* Create a single org::AGL::afm::user instance.
* Do not make use of static object construction/destruction.
* Use QScopedPointer in main() to manage the resource.
* Users of this instance use an extern declaration of the global
  variable.

Change-Id: Ia6db7aae8c8f6b135fe62bda495c68fdef004081
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
homescreen/src/main.cpp