Skip to content
  • Bernhard Beschow's avatar
    API change: split class RunnerPlugin into Search-, ReverseGeocoding-, Routing-... · 55b040cd
    Bernhard Beschow authored
    API change: split class RunnerPlugin into Search-, ReverseGeocoding-, Routing- and ParseRunnerPlugin
    
    == Motivation ==
    Splitting the RunnerPlugin class into separate classes scales better since each plugin class can be tailored much better to fit its domain.
    This improves the internal structure of Marble as well as eases plugin writing since there will be no unused API per plugin type.
    
    == For Plugin Implementers ==
    Since every plugin is now required to have exactly one capability, the former RunnerPlugin::Capability enum as well as the capability getter and setter methods are not needed any more and have been removed.
    The former RenderPlungin::canWork() method, which has only been transferred to a subset of the new runner plugin classes, does not take parameters any more.
    The remaining (esp. virtual) methods have been transferred as needed. See the new runner plugin classes for more details.
    Note: the Q_INTERFACES() macro in implementing classes has to be updated, too.
    
    REVIEW: 104840
    55b040cd