Hi Jagir, You can use the "Plugin-ActivationPolicy" header in the plugins manifest_headers.cmake file. See for example [1].
Another approach is to call ctkPlugin::start() explicitly from an overridden method in mitk::BaseApplication. In general however, explicitly loading a plugin can often be avoided by using a different technique, depending on what you are trying to achieve. Best, Sascha [1] http://mitk.org/git/?p=MITK.git;a=blob;f=Plugins/org.mitk.planarfigure/manifest_headers.cmake;h=5b2d8e50e355af309d8cda55d4ee233f5230cabb;hb=HEAD#l6 On 08/18/2015 03:27 AM, Jagir Hussan wrote: > Hi, > I would like to launch a plugin, which does not have a view, when > the mitk baseapplication starts. Is there any api similar to > ctkPluginFrameworkLauncher::start that I could use to start the plugin? > > Thanks > Jagir > > ------------------------------------------------------------------------------ > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
