D24663: Use ECMGenerateExportHeader to manage deprecated API better

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Tue Oct 15 14:01:05 BST 2019


kossebau created this revision.
kossebau added a reviewer: Plasma.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
kossebau requested review of this revision.

REVISION SUMMARY
  Allows
  
  - projects linking to KWayland to hide deprecated API up to a given version or silence deprecation warnings after a given version, using
    - -DKWAYLAND_DISABLE_DEPRECATED_BEFORE_AND_AT
    - -DKWAYLAND_NO_DEPRECATED
    - -DKWAYLAND_DEPRECATED_WARNINGS_SINCE
    - -DKWAYLAND_NO_DEPRECATED_WARNINGS
  
      or
    - -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT
    - -DKF_NO_DEPRECATED
    - -DKF_DEPRECATED_WARNINGS_SINCE
    - -DKF_NO_DEPRECATED_WARNINGS
  
  No support for "EXCLUDE_DEPRECATED_BEFORE_AND_AT", needs to be done by
  someone with detailed knowledge about disabling implementation, if wanted.

REPOSITORY
  R127 KWayland

BRANCH
  useECMGenerateExportHeader

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

AFFECTED FILES
  CMakeLists.txt
  autotests/client/test_plasma_window_model.cpp
  autotests/client/test_wayland_outputdevice.cpp
  autotests/client/test_wayland_outputmanagement.cpp
  src/client/CMakeLists.txt
  src/client/outputconfiguration.h
  src/client/outputdevice.h
  src/client/plasmawindowmanagement.h
  src/client/plasmawindowmodel.h
  src/client/xdgshell.h
  src/server/CMakeLists.txt
  src/server/outputchangeset.h
  src/server/outputdevice_interface.h
  src/server/plasmawindowmanagement_interface.cpp
  src/server/plasmawindowmanagement_interface.h
  src/server/seat_interface.h
  src/server/surface_interface.h

To: kossebau, #plasma
Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191015/25004777/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list