Hi Niclas, 

plugins are not meant for this kind of dependency relationship, as they are 
supposed to be loosely coupled and kind of dynamic regarding runtime loading. 
Depending on your use case we recommend to use modules for these things and let 
your plugins both depend on a common module.

Best,
Stefan


-----Original Message-----
From: nhagen [mailto:nha...@stud.hs-heilbronn.de] 
Sent: Dienstag, 28. Juni 2016 17:10
To: mitk-users@lists.sourceforge.net
Subject: [mitk-users] Plugin communication

Dear all,

I have two independent plugins and want them to communicate with each other. I 
want do something like PluginOne call the method PluginTwo::doSomething().

In the "manifest_headers.cmake" of PluginOne I added PluginTwo to the
require-plugins: set(Require-Plugin org.mitk.gui.qt.common org.mitk.plugintwo). 
But I can't include the header-files of PluginTwo in PluginOne.

Is there somthing else missing?

Best,
Niclas

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San 
Francisco, CA to explore cutting-edge tech and listen to tech luminaries 
present their vision of the future. This family event has something for 
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to