Module: check_mk
Branch: master
Commit: ecd8e24d164d0a8198fdcefaaf17ec39b50d4242
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ecd8e24d164d0a…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Wed Jan 10 09:58:50 2018 +0100
Windows agent: clean types.h and types.cc
* Removed unused code.
* Move section-specific declarations (and some definitions) to the
corresponding sections. Leave only such declarations in types.h that
are really needed across the agent.
* Favour 'using' over 'typedef'.
* Clean some unnecessary includes.
Change-Id: I86b276e2f29276dbe36540ec56320d49cabfb6a1
---
agents/windows/Configurable.h | 1 +
agents/windows/Configuration.h | 1 -
agents/windows/EventLogVista.cc | 1 -
agents/windows/ExternalCmd.cc | 1 -
agents/windows/OHMMonitor.cc | 1 -
agents/windows/SectionManager.cc | 33 ++++
agents/windows/SectionManager.h | 11 ++
agents/windows/Thread.cc | 1 +
agents/windows/Thread.h | 2 +-
agents/windows/build_version | 2 +-
agents/windows/sections/SectionEventlog.cc | 191 +++++++++++++--------
agents/windows/sections/SectionEventlog.h | 45 ++++-
agents/windows/sections/SectionLogwatch.cc | 1 -
agents/windows/sections/SectionLogwatch.h | 77 ++++++++-
agents/windows/sections/SectionMRPE.cc | 60 +++++++
agents/windows/sections/SectionMRPE.h | 14 ++
agents/windows/sections/SectionPS.cc | 1 -
agents/windows/sections/SectionPluginGroup.h | 29 ++++
agents/windows/sections/SectionSpool.cc | 2 +-
agents/windows/types.cc | 170 -------------------
agents/windows/types.h | 237 +--------------------------
21 files changed, 396 insertions(+), 485 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=ecd8e24d16…