Add base class for external plugins 99/28899/9
authorZofia Abramowska <z.abramowska@samsung.com>
Thu, 16 Oct 2014 14:53:14 +0000 (16:53 +0200)
committerZofia Abramowska <z.abramowska@samsung.com>
Fri, 14 Nov 2014 18:33:46 +0000 (19:33 +0100)
commitfaf0647ea68e1114a28128b96598cdd4635bfb0c
tree5bec745b0949b4fbb443762ac4128d64e7285199
parentaae388640a4fa6b772db232e28d6e4fc5a65278c
Add base class for external plugins

* Make ExternalPluginInterface a base class providing only pure
virtual getSupportedPolicyTypes() and publish its header
* Change ExternalPluginInterface definition to ServicePluginInterface
class and make it inherit after ExternalPluginInterface and publish
its header as cynara-client-plugin.h
* Rename InterpreterInterface to ClientServiceInterface, make it
inherit after ExternalPluginInterface

Change-Id: Ia572e2adb8a4486705f89903b31433d70d733381
17 files changed:
packaging/cynara.spec
src/client-async/logic/Logic.cpp
src/client-common/CMakeLists.txt
src/client-common/cache/CacheInterface.h
src/client-common/cache/CapacityCache.cpp
src/client-common/plugins/NaiveInterpreter.cpp [new file with mode: 0644]
src/client-common/plugins/NaiveInterpreter.h
src/client-common/plugins/PluginInterface.h [deleted file]
src/client/logic/Logic.cpp
src/common/CMakeLists.txt
src/common/plugin/ExternalPluginInterface.h [new file with mode: 0644]
src/include/CMakeLists.txt
src/include/cynara-client-plugin.h [new file with mode: 0644]
src/include/cynara-plugin.h
src/service/logic/Logic.cpp
src/service/plugin/PluginManager.cpp
src/service/plugin/PluginManager.h