소스 검색

Corrected commented code.

Sascha Zelzer 14 년 전
부모
커밋
42f0da963d
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      Plugins/org.commontk.dah.exampleapp/ctkExampleDicomAppPlugin.cpp

+ 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));
 }