refactoring: make BusType a local type 03/202903/6
authorAdrian Szyndela <adrian.s@samsung.com>
Fri, 5 Apr 2019 10:47:19 +0000 (12:47 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Thu, 11 Apr 2019 15:16:45 +0000 (17:16 +0200)
commit656367df69f32d3fe530076732d8789f670de033
treea77e8028ec8e08023ca4906ee7078fb1d26dc901
parent374659ff247500465486884c4742a4c10f564241
refactoring: make BusType a local type

BusType does not need to be a global type, because in fact
it is needed only to choose a correct policy checker.

In the test cases, or in the command line tools we explicitly know
which checker we need to choose.

Thus, it is only required for the API, where we still keep it
in the configuration.

This will allow further simplifications.

Change-Id: I61663d496279b47a6a0338b93434b5ae42326f33
src/dbuspolicy_serializer.cpp
src/internal/internal.h [deleted file]
src/internal/naive_policy_checker.hpp
src/internal/policy.hpp
src/internal/serializer.cpp
src/libdbuspolicy1.cpp
src/stest_performance.cpp
src/test-libdbuspolicy1-access-deny-gdi.cpp
src/test-libdbuspolicy1-access-deny.cpp
src/test-libdbuspolicy1-ownership-deny-gdi.cpp