Convert Cynara, CynaraAdmin and PrivilegeDb classes into singletons 88/30588/2
authorRafal Krypa <r.krypa@samsung.com>
Thu, 20 Nov 2014 23:45:05 +0000 (00:45 +0100)
committerRafal Krypa <r.krypa@samsung.com>
Fri, 21 Nov 2014 10:34:08 +0000 (11:34 +0100)
commite4fdcb8c3066505d9a89cc9bce3e0917cd21444f
tree235be15f5cfa6d2a2839a659e93e0632003413d9
parent7cbecc64dd827643a3e7f7fd176df203ced3a411
Convert Cynara, CynaraAdmin and PrivilegeDb classes into singletons

These classes are now used by the Service class to perform operations
requested by clients. But they will be also needed by offline client
implementation. Having them as private members of the Service class is no
longer feasible.
To keep their usage simple and available to the client as well, they are
now used as singletons.

Change-Id: I900a368ea14fbe61179c712b6e891f213ca61c5e
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
src/common/cynara.cpp
src/common/include/cynara.h
src/common/include/privilege_db.h
src/common/privilege_db.cpp
src/server/service/include/service.h
src/server/service/service.cpp