D25962: [nightcolor] Use a dedicated class for detection of system clock changes

Vlad Zahorodnii <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.

REVISION SUMMARY
  The ClockSkewNotifier provides a convenient way for monitoring system
  clock changes. One of the key ideas was to hide platform details from
  users of the class. This allows us to add a QTimer fallback path for
  operating systems that don't provide anything to detect system clock
  changes.
  
  In long term, I would like to move the new class to Frameworks.

REPOSITORY
  R108 KWin

BRANCH
  night-color-inhibiting

REVISION DETAIL
  https://phabricator.kde.org/D25962

AFFECTED FILES
  CMakeLists.txt
  colorcorrection/clockskewnotifier.cpp
  colorcorrection/clockskewnotifier.h
  colorcorrection/clockskewnotifierengine.cpp
  colorcorrection/clockskewnotifierengine_linux.cpp
  colorcorrection/clockskewnotifierengine_linux.h
  colorcorrection/clockskewnotifierengine_p.h
  colorcorrection/manager.cpp
  colorcorrection/manager.h

To: zzag, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.