Module: check_mk
Branch: master
Commit: 7b47edbb6ab3658f3ed165b6af61360711c004b0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7b47edbb6ab365…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Thu Mar 15 16:14:19 2018 +0100
Win-agent: reduce no of constructor params 2
Implement showHeader() as virtual member function with default value in
base class and special values overriden in derived classes.
---
agents/windows/Section.cc | 7 +++----
agents/windows/Section.h | 18 ++++++++----------
agents/windows/build_version | 2 +-
agents/windows/sections/SectionDF.cc | 2 +-
agents/windows/sections/SectionFileinfo.cc | 3 +--
agents/windows/sections/SectionGroup.cc | 5 +++--
agents/windows/sections/SectionGroup.h | 2 ++
agents/windows/sections/SectionPS.cc | 2 +-
agents/windows/sections/SectionPerfcounter.cc | 2 +-
agents/windows/sections/SectionPluginGroup.cc | 2 +-
agents/windows/sections/SectionPluginGroup.h | 2 ++
agents/windows/sections/SectionSpool.cc | 2 +-
agents/windows/sections/SectionSpool.h | 3 +++
agents/windows/sections/SectionWMI.cc | 2 +-
14 files changed, 29 insertions(+), 25 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=7b47edbb6a…