----------------------------------------------------------------------------
| 97 | |
| 98 | //---------------------------------------------------------------------------- |
| 99 | QSharedPointer<ctkPlugin> ctkServiceReference::getPlugin() const |
| 100 | { |
| 101 | if (d_func()->registration == 0 || d_func()->registration->plugin == 0) |
| 102 | { |
| 103 | return QSharedPointer<ctkPlugin>(); |
| 104 | } |
| 105 | |
| 106 | return d_func()->registration->plugin->q_func().toStrongRef(); |
| 107 | } |
| 108 | |
| 109 | //---------------------------------------------------------------------------- |
| 110 | QList<QSharedPointer<ctkPlugin> > ctkServiceReference::getUsingPlugins() const |
no test coverage detected