Add cache interface and NoCache stub 15/24015/3
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Mon, 7 Jul 2014 14:09:50 +0000 (16:09 +0200)
committerLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Mon, 14 Jul 2014 13:10:18 +0000 (15:10 +0200)
commit2e27fc1b022111eb56a161e7a562c6e98a744cb8
tree691f85376be96ada3f6b6e5c1cbf23381cf9cbf2
parentb953220f7a88458d9a1971f73c04f8c53651053b
Add cache interface and NoCache stub

Add interface defining API for cache, that will be used to speed up
checks. Add NoCache class, that implements this interface with very
simple version, which always enforces checks on Cynara server.
Add usage of NoCache in Logic class.

Change-Id: I3b799c4c6eccddfed98e8130ef1ca4cb849b8c05
src/client/CMakeLists.txt
src/client/cache/CacheInterface.h [new file with mode: 0644]
src/client/cache/NoCache.cpp [new file with mode: 0644]
src/client/cache/NoCache.h [new file with mode: 0644]
src/client/logic/Logic.cpp
src/client/logic/Logic.h