[licq-im/licq] 5e6341: api: new "pure" interface for plugins

GitHub <[email protected]> Sat, 26 Jan 2013 12:57:07 -0800
Newsgroups gmane.network.licq.cvs
Message-ID <[email protected]>
  Branch: refs/heads/refactor-plugin-api
  Home:   https://github.com/licq-im/licq
  Commit: 5e6341565825e85c21adb51ece86be5269b1bb45
      https://github.com/licq-im/licq/commit/5e6341565825e85c21adb51ece86be5269b1bb45
  Author: Erik Johansson <[email protected]>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M licq/include/licq/plugin/CMakeLists.txt
    A licq/include/licq/plugin/generalplugininterface.h
    A licq/include/licq/plugin/plugininterface.h
    A licq/include/licq/plugin/protocolplugininterface.h

  Log Message:
  -----------
  api: new "pure" interface for plugins

Decouples the plugins from the core by not providing any implementation in the
interface. The plugins are expected to either implement the interface
themselves or use a help class for some of the work.


  Commit: fa9224eeb8d50f58a5dd8042759a78e53911f094
      https://github.com/licq-im/licq/commit/fa9224eeb8d50f58a5dd8042759a78e53911f094
  Author: Erik Johansson <[email protected]>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M licq/include/licq/plugin/CMakeLists.txt
    A licq/include/licq/plugin/generalpluginhelper.h
    A licq/include/licq/plugin/protocolpluginhelper.h
    M licq/src/CMakeLists.txt
    A licq/src/plugin/generalpluginhelper.cpp
    A licq/src/plugin/protocolpluginhelper.cpp
    A licq/src/plugin/tests/generalpluginhelpertest.cpp
    A licq/src/plugin/tests/protocolpluginhelpertest.cpp

  Log Message:
  -----------
  api: add new help classes for plugins

Implements part of the interface to make it easier to implement plugins.


  Commit: e6f7c221aef49f860b9e78b70a5b6acfddaf832f
      https://github.com/licq-im/licq/commit/e6f7c221aef49f860b9e78b70a5b6acfddaf832f
  Author: Erik Johansson <[email protected]>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M icq/src/icqprotocolplugin.cpp
    M icq/src/icqprotocolplugin.h

  Log Message:
  -----------
  icq: port to new api


  Commit: f895ae82e33a3f1f506117f8ce7d8aa49bed4b60
      https://github.com/licq-im/licq/commit/f895ae82e33a3f1f506117f8ce7d8aa49bed4b60
  Author: Erik Johansson <[email protected]>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M jabber/src/jabberplugin.cpp
    M jabber/src/plugin.cpp
    M jabber/src/plugin.h

  Log Message:
  -----------
  jabber: port to new api


  Commit: 5cdf317aef810fcc429dc30ecff931b9d38ef250
      https://github.com/licq-im/licq/commit/5cdf317aef810fcc429dc30ecff931b9d38ef250
  Author: Erik Johansson <[email protected]>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M msn/src/msn.cpp
    M msn/src/msn.h
    M msn/src/plugin.cpp

  Log Message:
  -----------
  msn: port to new api


  Commit: 10e33b47f5def014d5df07cbaf441e6383294856
      https://github.com/licq-im/licq/commit/10e33b47f5def014d5df07cbaf441e6383294856
  Author: Erik Johansson <[email protected]>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M aosd/src/plugin.cpp
    M aosd/src/plugin.h

  Log Message:
  -----------
  aosd: port to new api


  Commit: ff9719a43b2396bc4744d0dede985cd3625df71d
      https://github.com/licq-im/licq/commit/ff9719a43b2396bc4744d0dede985cd3625df71d
  Author: Erik Johansson <[email protected]>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M auto-reply/src/autoreply.cpp
    M auto-reply/src/autoreply.h
    M auto-reply/src/main.cpp

  Log Message:
  -----------
  auto-reply: port to new api


  Commit: 074d0e2771b5472e1dd737c2f64ac2578ab652e3
      https://github.com/licq-im/licq/commit/074d0e2771b5472e1dd737c2f64ac2578ab652e3
  Author: Erik Johansson <[email protected]>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M forwarder/src/forwarder.cpp
    M forwarder/src/forwarder.h
    M forwarder/src/main.cpp

  Log Message:
  -----------
  forwarder: port to new api


  Commit: 5dc827734c03ff2cbeaf3ffdcea969ae76baa3d8
      https://github.com/licq-im/licq/commit/5dc827734c03ff2cbeaf3ffdcea969ae76baa3d8
  Author: Erik Johansson <[email protected]>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M osd/src/licq-osd.cpp
    M osd/src/licq-osd.h
    M osd/src/plugin.cpp

  Log Message:
  -----------
  osd: port to new api


  Commit: 21fe2b286994337efe579a16234734827406fcf4
      https://github.com/licq-im/licq/commit/21fe2b286994337efe579a16234734827406fcf4
  Author: Erik Johansson <[email protected]>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M qt4-gui/src/core/plugin.cpp
    M qt4-gui/src/core/plugin.h
    M qt4-gui/src/core/signalmanager.cpp

  Log Message:
  -----------
  qt4-gui: port to new api


  Commit: 8dfa7b6e564fe314b7afdc611b34ea882bd39647
      https://github.com/licq-im/licq/commit/8dfa7b6e564fe314b7afdc611b34ea882bd39647
  Author: Erik Johansson <[email protected]>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M rms/src/main.cpp
    M rms/src/rms.cpp
    M rms/src/rms.h

  Log Message:
  -----------
  rms: port to new api


  Commit: 931be089cf166843a57ba06b79448fd5decc7cce
      https://github.com/licq-im/licq/commit/931be089cf166843a57ba06b79448fd5decc7cce
  Author: Erik Johansson <[email protected]>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M licq/doc/CHANGELOG
    M licq/include/licq/plugin/generalplugin.h
    M licq/include/licq/plugin/plugin.h
    M licq/include/licq/plugin/pluginmanager.h
    M licq/include/licq/plugin/protocolplugin.h
    M licq/src/plugin/generalplugin.cpp
    M licq/src/plugin/generalplugin.h
    M licq/src/plugin/plugin.cpp
    M licq/src/plugin/plugin.h
    M licq/src/plugin/pluginmanager.cpp
    M licq/src/plugin/pluginmanager.h
    M licq/src/plugin/protocolplugin.cpp
    M licq/src/plugin/protocolplugin.h
    M licq/src/plugin/tests/generalplugintest.cpp
    M licq/src/plugin/tests/plugintest.cpp
    M licq/src/plugin/tests/protocolplugintest.cpp

  Log Message:
  -----------
  core: implement new api for handling plugins

Plugins implement one of the interfaces GeneralPluginInterface or
ProtocolPluginInterface depending on type. The instance implementing this is
separate from the instance of Licq::GeneralPlugin or Licq::ProtocolPlugin that
provides the interface to the plugin for other plugins.

Both Licq::GeneralPlugin and Licq::ProtocolPlugin are extended by
LicqDaemon::GeneralPlugin and LicqDaemon::ProtocolPlugin respectively to
provide an extended interface for internal use in plugin manager.

This provides a cleaner separation between plugins and the core.


  Commit: 55e6d91be35cd96bb2b782c076f051058dfd4d73
      https://github.com/licq-im/licq/commit/55e6d91be35cd96bb2b782c076f051058dfd4d73
  Author: Erik Johansson <[email protected]>
  Date:   2013-01-26 (Sat, 26 Jan 2013)

  Changed paths:
    M licq/include/licq/plugin/CMakeLists.txt
    R licq/include/licq/plugin/generalbase.h
    R licq/include/licq/plugin/protocolbase.h

  Log Message:
  -----------
  api: remove old plugin api headers


Compare: https://github.com/licq-im/licq/compare/f97248a5aec7...55e6d91be35c

--