Kaynağa Gözat

Corrected commented code.

Sascha Zelzer 14 yıl önce
ebeveyn
işleme
42f0da963d

+ 1 - 6
Plugins/org.commontk.dah.exampleapp/ctkExampleDicomAppPlugin.cpp

@@ -45,12 +45,7 @@ void ctkExampleDicomAppPlugin::start(ctkPluginContext* context)
   context->registerService(QStringList("ctkDicomAppInterface"), 
     appLogic = new ctkExampleDicomAppLogic(ServiceAccessor<ctkDicomHostInterface>(context,"ctkDicomHostInterface")));
 
-  //ctkServiceReference* serviceRef = context->getServiceReference("ctkDicomHostInterface");
-  //if (!serviceRef)
-  //{
-  //  // this will change after merging changes from branch plugin_framework
-  //  throw std::runtime_error("No Dicom Host Service found");
-  //}
+  //ctkServiceReference serviceRef = context->getServiceReference("ctkDicomHostInterface");
   //ctkDicomHostInterface*
   //  serviceBinding = qobject_cast<ctkDicomHostInterface*>(context->getService(serviceRef));
 }