Module: check_mk
Branch: master
Commit: 6db804665c4dd35ff063cc9d2cf7c9e9978706ee
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6db804665c4dd3…
Author: Jukka Aro <ja(a)mathias-kettner.de>
Date: Fri Apr 6 10:54:34 2018 +0200
Rename WinAPI wrapper base class to WinApiInterface
The naming WinApiAdaptor misleadingly reminded of Adaptor Pattern,
which this is implementation is (at least not yet) following. The
current implementation rather reminds of the Facade Pattern. This may
change in the future, though, as there would be a need for adapting the
data types passed through the wrapper class in order to cut direct
dependencies to Microsoft-specific data types. Change the naming of the
abstract base wrapper class to describe its role as an "interface" with
exclusively pure virtual member functions.
---
agents/windows/Configurable.h | 15 ++++----
agents/windows/CrashHandler.cc | 6 ++--
agents/windows/CrashHandler.h | 6 ++--
agents/windows/Crypto.cc | 8 ++---
agents/windows/Crypto.h | 12 +++----
agents/windows/Environment.cc | 4 +--
agents/windows/Environment.h | 6 ++--
agents/windows/EventLog.cc | 6 ++--
agents/windows/EventLog.h | 12 +++----
agents/windows/EventLogVista.cc | 16 ++++-----
agents/windows/EventLogVista.h | 12 +++----
agents/windows/ExternalCmd.cc | 10 +++---
agents/windows/ExternalCmd.h | 6 ++--
agents/windows/IEventLog.cc | 2 +-
agents/windows/IEventLog.h | 4 +--
agents/windows/ListenSocket.cc | 4 +--
agents/windows/ListenSocket.h | 9 ++---
agents/windows/OHMMonitor.cc | 6 ++--
agents/windows/OHMMonitor.h | 8 ++---
agents/windows/OutputProxy.cc | 6 ++--
agents/windows/OutputProxy.h | 9 ++---
agents/windows/PerfCounter.cc | 4 +--
agents/windows/PerfCounter.h | 12 +++----
agents/windows/PerfCounterCommon.cc | 6 ++--
agents/windows/PerfCounterCommon.h | 21 ++++++------
agents/windows/SectionManager.cc | 4 +--
agents/windows/SectionManager.h | 8 ++---
agents/windows/Thread.cc | 2 +-
agents/windows/Thread.h | 6 ++--
agents/windows/WinApi.h | 4 +--
.../windows/{WinApiAdaptor.h => WinApiInterface.h} | 16 ++++-----
agents/windows/WritableFile.cc | 6 ++--
agents/windows/WritableFile.h | 8 ++---
agents/windows/build_version | 2 +-
agents/windows/dynamic_func.h | 4 +--
agents/windows/sections/Section.cc | 2 +-
agents/windows/sections/Section.h | 6 ++--
agents/windows/sections/SectionCheckMK.cc | 2 +-
agents/windows/sections/SectionCheckMK.h | 2 +-
agents/windows/sections/SectionDF.cc | 6 ++--
agents/windows/sections/SectionDF.h | 2 +-
agents/windows/sections/SectionEventlog.cc | 4 +--
agents/windows/sections/SectionEventlog.h | 6 ++--
agents/windows/sections/SectionFileinfo.cc | 10 +++---
agents/windows/sections/SectionFileinfo.h | 2 +-
agents/windows/sections/SectionGroup.cc | 2 +-
agents/windows/sections/SectionGroup.h | 2 +-
agents/windows/sections/SectionLogwatch.cc | 4 +--
agents/windows/sections/SectionLogwatch.h | 8 ++---
agents/windows/sections/SectionMRPE.cc | 5 +--
agents/windows/sections/SectionMRPE.h | 4 +--
agents/windows/sections/SectionMem.cc | 2 +-
agents/windows/sections/SectionMem.h | 2 +-
agents/windows/sections/SectionOHM.cc | 2 +-
agents/windows/sections/SectionOHM.h | 2 +-
agents/windows/sections/SectionPS.cc | 2 +-
agents/windows/sections/SectionPS.h | 2 +-
agents/windows/sections/SectionPerfcounter.cc | 2 +-
agents/windows/sections/SectionPerfcounter.h | 6 ++--
agents/windows/sections/SectionPluginGroup.cc | 8 ++---
agents/windows/sections/SectionPluginGroup.h | 13 +++----
agents/windows/sections/SectionServices.cc | 2 +-
agents/windows/sections/SectionServices.h | 2 +-
agents/windows/sections/SectionSkype.cc | 4 +--
agents/windows/sections/SectionSkype.h | 2 +-
agents/windows/sections/SectionSpool.cc | 2 +-
agents/windows/sections/SectionSpool.h | 2 +-
agents/windows/sections/SectionSystemtime.cc | 2 +-
agents/windows/sections/SectionSystemtime.h | 2 +-
agents/windows/sections/SectionUptime.cc | 2 +-
agents/windows/sections/SectionUptime.h | 2 +-
agents/windows/sections/SectionWMI.cc | 2 +-
agents/windows/sections/SectionWMI.h | 2 +-
agents/windows/sections/SectionWinperf.cc | 2 +-
agents/windows/sections/SectionWinperf.h | 2 +-
agents/windows/stringutil.cc | 8 ++---
agents/windows/stringutil.h | 8 ++---
agents/windows/test/EventLogVistaTest.cc | 2 +-
agents/windows/test/MockEnvironment.cc | 2 +-
agents/windows/test/MockEnvironment.h | 4 +--
agents/windows/test/MockWinApi.h | 4 +--
agents/windows/types.cc | 12 +++----
agents/windows/types.h | 40 ++++++++++++----------
agents/windows/win_error.cc | 6 ++--
agents/windows/win_error.h | 6 ++--
agents/windows/wmiHelper.cc | 26 +++++++-------
agents/windows/wmiHelper.h | 26 +++++++-------
87 files changed, 279 insertions(+), 273 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=6db804665c…