[Differential] [Request, 153 lines] D2369: Convert powerdevil backends to proper plugins

bshah (Bhushan Shah) noreply at phabricator.kde.org
Mon Aug 8 08:44:19 UTC 2016


bshah created this revision.
bshah added reviewers: Plasma, broulik.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  This converts the powerdevil backends into proper plugins that are
  loaded at runtime instead of just hardcoding upowerbackend. And are also
  seperated from the powerdevil kded. This is first step to have other
  modules for example, wayland, hwcomposer etc.
  
  Logic for finding and loading backends is mostly inspired from the
  kscreen, currently it just loads upower backend because it is only
  module available. This logic can be changed when new backends are
  introduced in powedevil.

TEST PLAN
  compiles, builds and installs backend module powerdevilupowerbackend.so
  into proper plugin path. Also verified with powerdevil kded that it gets
  loaded properly.

REPOSITORY
  rPOWERDEVIL Powerdevil

BRANCH
  bshah/proper-backends

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

AFFECTED FILES
  daemon/BackendConfig.cmake
  daemon/CMakeLists.txt
  daemon/backends/CMakeLists.txt
  daemon/backends/upower/powerdevilupowerbackend.h
  daemon/kdedpowerdevil.cpp
  daemon/kdedpowerdevil.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: bshah, #plasma, broulik
Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160808/5cfe262e/attachment-0001.html>


More information about the Plasma-devel mailing list