[Marble-devel] Review Request: Add an "addRenderPlugins" functions so that plugins can be added by applications

Michael G. Hansen mike at mghansen.de
Fri Nov 20 13:28:21 CET 2009


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.kde.org/r/2227/
-----------------------------------------------------------

Review request for marble.


Summary
-------

The attached patch makes it possible to add plugins to Marble inside an
application without the need to provide the plugin as a library
installed in Marble's plugin directory.

Usecase: An application wants to paint in a layer other than the one
provided by customPaint (which is above the float items such as the
compass). The application creates an object derived from RenderPlugin
which does painting for the application, and provides a pointer to that
object to MarbleWidget::map()->addRenderPlugins().


Diffs
-----

  trunk/KDE/kdeedu/marble/src/lib/LayerManager.h 1051825
  trunk/KDE/kdeedu/marble/src/lib/LayerManager.cpp 1051825
  trunk/KDE/kdeedu/marble/src/lib/MarbleMap.h 1051825
  trunk/KDE/kdeedu/marble/src/lib/MarbleMap.cpp 1051825
  trunk/KDE/kdeedu/marble/src/lib/MarbleModel.h 1051825
  trunk/KDE/kdeedu/marble/src/lib/MarbleModel.cpp 1051825

Diff: http://reviewboard.kde.org/r/2227/diff


Testing
-------


Thanks,

Michael




More information about the Marble-devel mailing list