Parcourir la source

Renamed dah plugins to org_commontk_dah_*

All DICOM application hosting related plugins are now named
consistently and the plugin installation and starting logic
for the example host and app is refined.
Sascha Zelzer il y a 14 ans
Parent
commit
a41d1d3aed
78 fichiers modifiés avec 89 ajouts et 61 suppressions
  1. 18 3
      Applications/ctkExampleHost/ctkExampleHostMain.cpp
  2. 1 1
      Applications/ctkExampleHost/target_libraries.cmake
  3. 17 4
      Applications/ctkExampleHostedApp/ctkExampleHostedAppMain.cpp
  4. 1 1
      Applications/ctkExampleHostedApp/target_libraries.cmake
  5. 5 5
      CMakeLists.txt
  6. 2 2
      Plugins/org.commontk.dicom.wg23.app/CMakeLists.txt
  7. 0 0
      Plugins/org.commontk.dah.app/ctkAppSoapMessageProcessor.cpp
  8. 0 0
      Plugins/org.commontk.dah.app/ctkAppSoapMessageProcessor.h
  9. 0 0
      Plugins/org.commontk.dah.app/ctkDicomAbstractApp.cpp
  10. 0 0
      Plugins/org.commontk.dah.app/ctkDicomAbstractApp.h
  11. 0 0
      Plugins/org.commontk.dah.app/ctkDicomAppServer.cpp
  12. 2 2
      Plugins/org.commontk.dicom.wg23.app/ctkDicomAppServer.h
  13. 0 0
      Plugins/org.commontk.dah.app/ctkDicomAppServerPrivate.cpp
  14. 0 0
      Plugins/org.commontk.dah.app/ctkDicomAppServerPrivate.h
  15. 0 0
      Plugins/org.commontk.dah.app/ctkDicomHostService.cpp
  16. 2 2
      Plugins/org.commontk.dicom.wg23.app/ctkDicomHostService.h
  17. 1 1
      Plugins/org.commontk.dicom.wg23.app/ctkDicomWG23AppPlugin.cpp
  18. 0 0
      Plugins/org.commontk.dah.app/ctkDicomWG23AppPlugin_p.h
  19. 1 0
      Plugins/org.commontk.dah.app/manifest_headers.cmake
  20. 2 2
      Plugins/org.commontk.dicom.wg23.core/CMakeLists.txt
  21. 0 0
      Plugins/org.commontk.dah.core/Resources/ApplicationService.wsdl
  22. 0 0
      Plugins/org.commontk.dah.core/Resources/ApplicationService_schema1.xsd
  23. 0 0
      Plugins/org.commontk.dah.core/Resources/HostService.wsdl
  24. 0 0
      Plugins/org.commontk.dah.core/Resources/HostService_schema1.xsd
  25. 0 0
      Plugins/org.commontk.dah.core/Resources/dah_wsdl.qrc
  26. 2 2
      Plugins/org.commontk.dicom.wg23.core/ctkDicomAppInterface.h
  27. 2 2
      Plugins/org.commontk.dicom.wg23.core/ctkDicomExchangeInterface.h
  28. 0 0
      Plugins/org.commontk.dah.core/ctkDicomExchangeService.cpp
  29. 2 2
      Plugins/org.commontk.dicom.wg23.core/ctkDicomExchangeService.h
  30. 2 2
      Plugins/org.commontk.dicom.wg23.core/ctkDicomHostInterface.h
  31. 0 0
      Plugins/org.commontk.dah.core/ctkDicomServicePrivate.cpp
  32. 2 2
      Plugins/org.commontk.dicom.wg23.core/ctkDicomServicePrivate.h
  33. 1 1
      Plugins/org.commontk.dicom.wg23.core/ctkDicomWG23CorePlugin.cpp
  34. 0 0
      Plugins/org.commontk.dah.core/ctkDicomWG23CorePlugin_p.h
  35. 0 0
      Plugins/org.commontk.dah.core/ctkDicomWG23Types.h
  36. 0 0
      Plugins/org.commontk.dah.core/ctkDicomWG23TypesHelper.h
  37. 0 0
      Plugins/org.commontk.dah.core/ctkExchangeSoapMessageProcessor.cpp
  38. 2 2
      Plugins/org.commontk.dicom.wg23.core/ctkExchangeSoapMessageProcessor.h
  39. 0 0
      Plugins/org.commontk.dah.core/ctkSimpleSoapServer.cpp
  40. 2 2
      Plugins/org.commontk.dicom.wg23.core/ctkSimpleSoapServer.h
  41. 0 0
      Plugins/org.commontk.dah.core/ctkSoapConnectionRunnable.cpp
  42. 0 0
      Plugins/org.commontk.dah.core/ctkSoapConnectionRunnable_p.h
  43. 2 2
      Plugins/org.commontk.dicom.wg23.core/ctkSoapMessageProcessor.h
  44. 0 0
      Plugins/org.commontk.dah.core/ctkSoapMessageProcessorList.cpp
  45. 2 2
      Plugins/org.commontk.dicom.wg23.core/ctkSoapMessageProcessorList.h
  46. 0 0
      Plugins/org.commontk.dah.core/target_libraries.cmake
  47. 1 1
      Plugins/org.commontk.example.dicomapp/CMakeLists.txt
  48. 0 0
      Plugins/org.commontk.dah.exampleapp/ctkExampleDicomAppLogic.cpp
  49. 0 0
      Plugins/org.commontk.dah.exampleapp/ctkExampleDicomAppLogic_p.h
  50. 0 0
      Plugins/org.commontk.dah.exampleapp/ctkExampleDicomAppPlugin.cpp
  51. 0 0
      Plugins/org.commontk.dah.exampleapp/ctkExampleDicomAppPlugin_p.h
  52. 1 0
      Plugins/org.commontk.dah.exampleapp/manifest_headers.cmake
  53. 2 2
      Plugins/org.commontk.dicom.examplehost/CMakeLists.txt
  54. 0 0
      Plugins/org.commontk.dah.examplehost/ctkDicomExampleHost.cpp
  55. 2 2
      Plugins/org.commontk.dicom.examplehost/ctkDicomExampleHost.h
  56. 1 1
      Plugins/org.commontk.dicom.examplehost/ctkDicomExampleHostPlugin.cpp
  57. 0 0
      Plugins/org.commontk.dah.examplehost/ctkDicomExampleHostPlugin_p.h
  58. 0 0
      Plugins/org.commontk.dah.examplehost/ctkHostedAppPlaceholderWidget.cpp
  59. 2 2
      Plugins/org.commontk.dicom.examplehost/ctkHostedAppPlaceholderWidget.h
  60. 1 0
      Plugins/org.commontk.dah.examplehost/manifest_headers.cmake
  61. 2 2
      Plugins/org.commontk.dicom.wg23.host/CMakeLists.txt
  62. 0 0
      Plugins/org.commontk.dah.host/ctkDicomAbstractHost.cpp
  63. 2 2
      Plugins/org.commontk.dicom.wg23.host/ctkDicomAbstractHost.h
  64. 0 0
      Plugins/org.commontk.dah.host/ctkDicomAppService.cpp
  65. 2 2
      Plugins/org.commontk.dicom.wg23.host/ctkDicomAppService.h
  66. 0 0
      Plugins/org.commontk.dah.host/ctkDicomHostServer.cpp
  67. 0 0
      Plugins/org.commontk.dah.host/ctkDicomHostServer.h
  68. 0 0
      Plugins/org.commontk.dah.host/ctkDicomHostServerPrivate.cpp
  69. 0 0
      Plugins/org.commontk.dah.host/ctkDicomHostServerPrivate.h
  70. 1 1
      Plugins/org.commontk.dicom.wg23.host/ctkDicomWG23HostPlugin.cpp
  71. 0 0
      Plugins/org.commontk.dah.host/ctkDicomWG23HostPlugin_p.h
  72. 0 0
      Plugins/org.commontk.dah.host/ctkHostSoapMessageProcessor.cpp
  73. 0 0
      Plugins/org.commontk.dah.host/ctkHostSoapMessageProcessor.h
  74. 1 0
      Plugins/org.commontk.dah.host/manifest_headers.cmake
  75. 0 1
      Plugins/org.commontk.dicom.examplehost/manifest_headers.cmake
  76. 0 1
      Plugins/org.commontk.dicom.wg23.app/manifest_headers.cmake
  77. 0 1
      Plugins/org.commontk.dicom.wg23.host/manifest_headers.cmake
  78. 0 1
      Plugins/org.commontk.example.dicomapp/manifest_headers.cmake

+ 18 - 3
Applications/ctkExampleHost/ctkExampleHostMain.cpp

@@ -68,15 +68,25 @@ int main(int argv, char** argc)
   QStringList libFilter;
   libFilter << "*.dll" << "*.so" << "*.dylib";
   QDirIterator dirIter(pluginPath, libFilter, QDir::Files);
+
+  QStringList pluginsToInstall;
+  pluginsToInstall << "org_commontk_dah_core" << "org_commontk_dah_host"
+                   << "org_commontk_dah_examplehost";
+
+  QList<ctkPlugin*> installedPlugins;
   while(dirIter.hasNext())
   {
     try
     {
       QString fileLocation = dirIter.next();
-      if (fileLocation.contains("org_commontk_dicom"))
+      foreach(QString pluginToInstall, pluginsToInstall)
       {
-        ctkPlugin* plugin = framework->getPluginContext()->installPlugin(QUrl::fromLocalFile(fileLocation));
-        plugin->start(ctkPlugin::START_TRANSIENT);
+        if (fileLocation.contains(pluginToInstall))
+        {
+          ctkPlugin* plugin = framework->getPluginContext()->installPlugin(QUrl::fromLocalFile(fileLocation));
+          installedPlugins << plugin;
+          break;
+        }
       }
     }
     catch (const ctkPluginException& e)
@@ -85,6 +95,11 @@ int main(int argv, char** argc)
     }
   }
 
+  foreach(ctkPlugin* plugin, installedPlugins)
+  {
+    plugin->start(ctkPlugin::START_TRANSIENT);
+  }
+
   framework->start();
 
 

+ 1 - 1
Applications/ctkExampleHost/target_libraries.cmake

@@ -5,6 +5,6 @@
 # 
 
 SET(target_libraries
-  org_commontk_dicom_examplehost
+  org_commontk_dah_examplehost
 
   )

+ 17 - 4
Applications/ctkExampleHostedApp/ctkExampleHostedAppMain.cpp

@@ -111,8 +111,7 @@ int main(int argv, char** argc)
   }
   else
   {
-    pluginName = "org_commontk_dicomhosting_app_";
-    pluginName += QFileInfo(qApp->arguments().at(0)).fileName();
+    pluginName = "org_commontk_dah_exampleapp";
   }
 
   // try to find the plugin and install all plugins available in 
@@ -122,15 +121,17 @@ int main(int argv, char** argc)
   QDirIterator dirIter(pluginPath, libFilter, QDir::Files);
   bool pluginFound = false;
   QString pluginFileLocation;
+  QList<ctkPlugin*> installedPlugins;
   while(dirIter.hasNext())
   {
     try
     {
       QString fileLocation = dirIter.next();
-      if (fileLocation.contains("org_commontk_dicom_wg23"))
+      if (fileLocation.contains("org_commontk_dah") && !fileLocation.contains(pluginName))
       {
         ctkPlugin* plugin = framework->getPluginContext()->installPlugin(QUrl::fromLocalFile(fileLocation));
-        plugin->start(ctkPlugin::START_TRANSIENT);
+        installedPlugins << plugin;
+        //plugin->start(ctkPlugin::START_TRANSIENT);
       }
       if (fileLocation.contains(pluginName))
       {
@@ -144,6 +145,18 @@ int main(int argv, char** argc)
     }
   }
 
+  try
+  {
+    foreach(ctkPlugin* plugin, installedPlugins)
+    {
+      plugin->start(ctkPlugin::START_TRANSIENT);
+    }
+  }
+  catch (const ctkPluginException& e)
+  {
+    qCritical() << e.what();
+  }
+
   // if we did not find the business logic: abort
   if(!pluginFound)
   {

+ 1 - 1
Applications/ctkExampleHostedApp/target_libraries.cmake

@@ -6,5 +6,5 @@
 
 SET(target_libraries
   CTKPluginFramework
-  org_commontk_dicom_wg23_app
+  org_commontk_dah_app
   )

+ 5 - 5
CMakeLists.txt

@@ -288,11 +288,11 @@ SET(CTK_LIBS
 SET(CTK_PLUGINS
   org.commontk.eventbus:ON
   org.commontk.cli:OFF
-  org.commontk.dicom.wg23.app:OFF
-  org.commontk.dicom.wg23.core:OFF
-  org.commontk.dicom.wg23.host:OFF
-  org.commontk.dicom.examplehost:OFF
-  org.commontk.example.dicomapp:OFF
+  org.commontk.dah.app:OFF
+  org.commontk.dah.core:OFF
+  org.commontk.dah.exampleapp:OFF
+  org.commontk.dah.examplehost:OFF
+  org.commontk.dah.host:OFF
   org.commontk.plugingenerator.core:OFF
   org.commontk.plugingenerator.ui:OFF
   )

+ 2 - 2
Plugins/org.commontk.dicom.wg23.app/CMakeLists.txt

@@ -1,11 +1,11 @@
-PROJECT(org_commontk_dicom_wg23_app)
+PROJECT(org_commontk_dah_app)
 
 FIND_PACKAGE(QtSOAP)
 IF(NOT QtSOAP_FOUND)
   MESSAGE(FATAL_ERROR "error: QtSOAP package is required to build ${PROJECT_NAME}" )
 ENDIF()
 
-SET(PLUGIN_export_directive "org_commontk_dicom_wg23_app_EXPORT")
+SET(PLUGIN_export_directive "org_commontk_dah_app_EXPORT")
 
 SET(PLUGIN_SRCS
   ctkDicomAppServer.cpp

Plugins/org.commontk.dicom.wg23.app/ctkAppSoapMessageProcessor.cpp → Plugins/org.commontk.dah.app/ctkAppSoapMessageProcessor.cpp


Plugins/org.commontk.dicom.wg23.app/ctkAppSoapMessageProcessor.h → Plugins/org.commontk.dah.app/ctkAppSoapMessageProcessor.h


Plugins/org.commontk.dicom.wg23.app/ctkDicomAbstractApp.cpp → Plugins/org.commontk.dah.app/ctkDicomAbstractApp.cpp


Plugins/org.commontk.dicom.wg23.app/ctkDicomAbstractApp.h → Plugins/org.commontk.dah.app/ctkDicomAbstractApp.h


Plugins/org.commontk.dicom.wg23.app/ctkDicomAppServer.cpp → Plugins/org.commontk.dah.app/ctkDicomAppServer.cpp


+ 2 - 2
Plugins/org.commontk.dicom.wg23.app/ctkDicomAppServer.h

@@ -26,11 +26,11 @@
 class ctkDicomAppInterface;
 
 #include <QScopedPointer>
-#include <org_commontk_dicom_wg23_app_Export.h>
+#include <org_commontk_dah_app_Export.h>
 
 class ctkDicomAppServerPrivate;
 
-class org_commontk_dicom_wg23_app_EXPORT ctkDicomAppServer
+class org_commontk_dah_app_EXPORT ctkDicomAppServer
 {
 
 public:

Plugins/org.commontk.dicom.wg23.app/ctkDicomAppServerPrivate.cpp → Plugins/org.commontk.dah.app/ctkDicomAppServerPrivate.cpp


Plugins/org.commontk.dicom.wg23.app/ctkDicomAppServerPrivate.h → Plugins/org.commontk.dah.app/ctkDicomAppServerPrivate.h


Plugins/org.commontk.dicom.wg23.app/ctkDicomHostService.cpp → Plugins/org.commontk.dah.app/ctkDicomHostService.cpp


+ 2 - 2
Plugins/org.commontk.dicom.wg23.app/ctkDicomHostService.h

@@ -25,9 +25,9 @@
 
 #include <ctkDicomHostInterface.h>
 #include <ctkDicomExchangeService.h>
-#include <org_commontk_dicom_wg23_app_Export.h>
+#include <org_commontk_dah_app_Export.h>
 
-class org_commontk_dicom_wg23_app_EXPORT ctkDicomHostService : public ctkDicomHostInterface
+class org_commontk_dah_app_EXPORT ctkDicomHostService : public ctkDicomHostInterface
 {
 
 public:

+ 1 - 1
Plugins/org.commontk.dicom.wg23.app/ctkDicomWG23AppPlugin.cpp

@@ -58,6 +58,6 @@ ctkPluginContext* ctkDicomWG23AppPlugin::getPluginContext() const
   return context;
 }
 
-Q_EXPORT_PLUGIN2(org_commontk_dicom_wg23_app, ctkDicomWG23AppPlugin)
+Q_EXPORT_PLUGIN2(org_commontk_dah_app, ctkDicomWG23AppPlugin)
 
 

Plugins/org.commontk.dicom.wg23.app/ctkDicomWG23AppPlugin_p.h → Plugins/org.commontk.dah.app/ctkDicomWG23AppPlugin_p.h


+ 1 - 0
Plugins/org.commontk.dah.app/manifest_headers.cmake

@@ -0,0 +1 @@
+SET(Require-Plugin org.commontk.dah.core)

+ 2 - 2
Plugins/org.commontk.dicom.wg23.core/CMakeLists.txt

@@ -1,4 +1,4 @@
-PROJECT(org_commontk_dicom_wg23_core)
+PROJECT(org_commontk_dah_core)
 
 FIND_PACKAGE(QtSOAP)
 IF(NOT QtSOAP_FOUND)
@@ -8,7 +8,7 @@ ENDIF()
 # TODO: Fix this after discussing include dependencies with Jc
 SET(CTK_BASE_INCLUDE_DIRS ${CTK_BASE_INCLUDE_DIRS} ${QTSOAP_INCLUDE_DIR} CACHE INTERNAL "CTK includes" FORCE)
 
-SET(PLUGIN_export_directive "org_commontk_dicom_wg23_core_EXPORT")
+SET(PLUGIN_export_directive "org_commontk_dah_core_EXPORT")
 
 # Additional directories to include
 SET(PLUGIN_include_directories

Plugins/org.commontk.dicom.wg23.core/Resources/ApplicationService.wsdl → Plugins/org.commontk.dah.core/Resources/ApplicationService.wsdl


Plugins/org.commontk.dicom.wg23.core/Resources/ApplicationService_schema1.xsd → Plugins/org.commontk.dah.core/Resources/ApplicationService_schema1.xsd


Plugins/org.commontk.dicom.wg23.core/Resources/HostService.wsdl → Plugins/org.commontk.dah.core/Resources/HostService.wsdl


Plugins/org.commontk.dicom.wg23.core/Resources/HostService_schema1.xsd → Plugins/org.commontk.dah.core/Resources/HostService_schema1.xsd


Plugins/org.commontk.dicom.wg23.core/Resources/dah_wsdl.qrc → Plugins/org.commontk.dah.core/Resources/dah_wsdl.qrc


+ 2 - 2
Plugins/org.commontk.dicom.wg23.core/ctkDicomAppInterface.h

@@ -29,9 +29,9 @@
 #include "ctkDicomWG23Types.h"
 #include "ctkDicomExchangeInterface.h"
 
-#include <org_commontk_dicom_wg23_core_Export.h>
+#include <org_commontk_dah_core_Export.h>
 
-class org_commontk_dicom_wg23_core_EXPORT ctkDicomAppInterface : public ctkDicomExchangeInterface
+class org_commontk_dah_core_EXPORT ctkDicomAppInterface : public ctkDicomExchangeInterface
 {
   Q_OBJECT
 

+ 2 - 2
Plugins/org.commontk.dicom.wg23.core/ctkDicomExchangeInterface.h

@@ -27,9 +27,9 @@
 #include <QRect>
 
 #include "ctkDicomWG23Types.h"
-#include <org_commontk_dicom_wg23_core_Export.h>
+#include <org_commontk_dah_core_Export.h>
 
-class org_commontk_dicom_wg23_core_EXPORT ctkDicomExchangeInterface : public QObject
+class org_commontk_dah_core_EXPORT ctkDicomExchangeInterface : public QObject
 {
   Q_OBJECT
 

Plugins/org.commontk.dicom.wg23.core/ctkDicomExchangeService.cpp → Plugins/org.commontk.dah.core/ctkDicomExchangeService.cpp


+ 2 - 2
Plugins/org.commontk.dicom.wg23.core/ctkDicomExchangeService.h

@@ -25,11 +25,11 @@
 
 #include <ctkDicomExchangeInterface.h>
 #include <QScopedPointer>
-#include <org_commontk_dicom_wg23_core_Export.h>
+#include <org_commontk_dah_core_Export.h>
 
 class ctkDicomServicePrivate;
 
-class org_commontk_dicom_wg23_core_EXPORT ctkDicomExchangeService : public ctkDicomExchangeInterface
+class org_commontk_dah_core_EXPORT ctkDicomExchangeService : public ctkDicomExchangeInterface
 {
 
 public:

+ 2 - 2
Plugins/org.commontk.dicom.wg23.core/ctkDicomHostInterface.h

@@ -29,9 +29,9 @@
 #include "ctkDicomWG23Types.h"
 #include "ctkDicomExchangeInterface.h"
 
-#include <org_commontk_dicom_wg23_core_Export.h>
+#include <org_commontk_dah_core_Export.h>
 
-class org_commontk_dicom_wg23_core_EXPORT ctkDicomHostInterface: public ctkDicomExchangeInterface
+class org_commontk_dah_core_EXPORT ctkDicomHostInterface: public ctkDicomExchangeInterface
 {
   Q_OBJECT
 

Plugins/org.commontk.dicom.wg23.core/ctkDicomServicePrivate.cpp → Plugins/org.commontk.dah.core/ctkDicomServicePrivate.cpp


+ 2 - 2
Plugins/org.commontk.dicom.wg23.core/ctkDicomServicePrivate.h

@@ -26,10 +26,10 @@
 
 #include <QEventLoop>
 #include <QtSoapHttpTransport>
-#include <org_commontk_dicom_wg23_core_Export.h>
+#include <org_commontk_dah_core_Export.h>
 #include <ctkDicomExchangeInterface.h>
 
-class org_commontk_dicom_wg23_core_EXPORT ctkDicomServicePrivate : public QObject
+class org_commontk_dah_core_EXPORT ctkDicomServicePrivate : public QObject
 {
   Q_OBJECT
 

+ 1 - 1
Plugins/org.commontk.dicom.wg23.core/ctkDicomWG23CorePlugin.cpp

@@ -56,6 +56,6 @@ ctkPluginContext* ctkDicomWG23CorePlugin::getPluginContext() const
   return context;
 }
 
-Q_EXPORT_PLUGIN2(org_commontk_dicom_wg23_core, ctkDicomWG23CorePlugin)
+Q_EXPORT_PLUGIN2(org_commontk_dah_core, ctkDicomWG23CorePlugin)
 
 

Plugins/org.commontk.dicom.wg23.core/ctkDicomWG23CorePlugin_p.h → Plugins/org.commontk.dah.core/ctkDicomWG23CorePlugin_p.h


Plugins/org.commontk.dicom.wg23.core/ctkDicomWG23Types.h → Plugins/org.commontk.dah.core/ctkDicomWG23Types.h


Plugins/org.commontk.dicom.wg23.core/ctkDicomWG23TypesHelper.h → Plugins/org.commontk.dah.core/ctkDicomWG23TypesHelper.h


Plugins/org.commontk.dicom.wg23.core/ctkExchangeSoapMessageProcessor.cpp → Plugins/org.commontk.dah.core/ctkExchangeSoapMessageProcessor.cpp


+ 2 - 2
Plugins/org.commontk.dicom.wg23.core/ctkExchangeSoapMessageProcessor.h

@@ -24,9 +24,9 @@
 
 #include "ctkSoapMessageProcessor.h"
 #include "ctkDicomExchangeInterface.h"
-#include <org_commontk_dicom_wg23_core_Export.h>
+#include <org_commontk_dah_core_Export.h>
 
-class org_commontk_dicom_wg23_core_EXPORT ctkExchangeSoapMessageProcessor : public ctkSoapMessageProcessor
+class org_commontk_dah_core_EXPORT ctkExchangeSoapMessageProcessor : public ctkSoapMessageProcessor
 {
 
 public:

Plugins/org.commontk.dicom.wg23.core/ctkSimpleSoapServer.cpp → Plugins/org.commontk.dah.core/ctkSimpleSoapServer.cpp


+ 2 - 2
Plugins/org.commontk.dicom.wg23.core/ctkSimpleSoapServer.h

@@ -27,10 +27,10 @@
 
 #include <qtsoap.h>
 
-#include <org_commontk_dicom_wg23_core_Export.h>
+#include <org_commontk_dah_core_Export.h>
 #include <ctkDicomWG23Types.h>
 
-class org_commontk_dicom_wg23_core_EXPORT ctkSimpleSoapServer : public QTcpServer
+class org_commontk_dah_core_EXPORT ctkSimpleSoapServer : public QTcpServer
 {
   Q_OBJECT
 

Plugins/org.commontk.dicom.wg23.core/ctkSoapConnectionRunnable.cpp → Plugins/org.commontk.dah.core/ctkSoapConnectionRunnable.cpp


Plugins/org.commontk.dicom.wg23.core/ctkSoapConnectionRunnable_p.h → Plugins/org.commontk.dah.core/ctkSoapConnectionRunnable_p.h


+ 2 - 2
Plugins/org.commontk.dicom.wg23.core/ctkSoapMessageProcessor.h

@@ -24,9 +24,9 @@
 
 #include <qtsoap.h>
 
-#include <org_commontk_dicom_wg23_core_Export.h>
+#include <org_commontk_dah_core_Export.h>
 
-class org_commontk_dicom_wg23_core_EXPORT ctkSoapMessageProcessor
+class org_commontk_dah_core_EXPORT ctkSoapMessageProcessor
 {
 
 public:

Plugins/org.commontk.dicom.wg23.core/ctkSoapMessageProcessorList.cpp → Plugins/org.commontk.dah.core/ctkSoapMessageProcessorList.cpp


+ 2 - 2
Plugins/org.commontk.dicom.wg23.core/ctkSoapMessageProcessorList.h

@@ -25,9 +25,9 @@
 #include <list>
 #include "ctkSoapMessageProcessor.h"
 
-#include <org_commontk_dicom_wg23_core_Export.h>
+#include <org_commontk_dah_core_Export.h>
 
-class org_commontk_dicom_wg23_core_EXPORT ctkSoapMessageProcessorList : public ctkSoapMessageProcessor
+class org_commontk_dah_core_EXPORT ctkSoapMessageProcessorList : public ctkSoapMessageProcessor
 {
 
 public:

Plugins/org.commontk.dicom.wg23.core/target_libraries.cmake → Plugins/org.commontk.dah.core/target_libraries.cmake


+ 1 - 1
Plugins/org.commontk.example.dicomapp/CMakeLists.txt

@@ -1,4 +1,4 @@
-PROJECT(org_commontk_example_dicomapp)
+PROJECT(org_commontk_dah_exampleapp)
 
 SET(PLUGIN_export_directive "org_commontk_example_dicomapp_EXPORT")
 

Plugins/org.commontk.example.dicomapp/ctkExampleDicomAppLogic.cpp → Plugins/org.commontk.dah.exampleapp/ctkExampleDicomAppLogic.cpp


Plugins/org.commontk.example.dicomapp/ctkExampleDicomAppLogic_p.h → Plugins/org.commontk.dah.exampleapp/ctkExampleDicomAppLogic_p.h


Plugins/org.commontk.example.dicomapp/ctkExampleDicomAppPlugin.cpp → Plugins/org.commontk.dah.exampleapp/ctkExampleDicomAppPlugin.cpp


Plugins/org.commontk.example.dicomapp/ctkExampleDicomAppPlugin_p.h → Plugins/org.commontk.dah.exampleapp/ctkExampleDicomAppPlugin_p.h


+ 1 - 0
Plugins/org.commontk.dah.exampleapp/manifest_headers.cmake

@@ -0,0 +1 @@
+SET(Require-Plugin org.commontk.dah.app)

+ 2 - 2
Plugins/org.commontk.dicom.examplehost/CMakeLists.txt

@@ -1,6 +1,6 @@
-PROJECT(org_commontk_dicom_examplehost)
+PROJECT(org_commontk_dah_examplehost)
 
-SET(PLUGIN_export_directive "org_commontk_dicom_examplehost_EXPORT")
+SET(PLUGIN_export_directive "org_commontk_dah_examplehost_EXPORT")
 
 SET(PLUGIN_SRCS
   ctkDicomExampleHostPlugin.cpp

Plugins/org.commontk.dicom.examplehost/ctkDicomExampleHost.cpp → Plugins/org.commontk.dah.examplehost/ctkDicomExampleHost.cpp


+ 2 - 2
Plugins/org.commontk.dicom.examplehost/ctkDicomExampleHost.h

@@ -4,12 +4,12 @@
 #include <ctkDicomAbstractHost.h>
 #include <ctkHostedAppPlaceholderWidget.h>
 
-#include <org_commontk_dicom_examplehost_Export.h>
+#include <org_commontk_dah_examplehost_Export.h>
 
 #include <QUrl>
 #include <QProcess>
 
-class org_commontk_dicom_examplehost_EXPORT ctkDicomExampleHost : public ctkDicomAbstractHost{
+class org_commontk_dah_examplehost_EXPORT ctkDicomExampleHost : public ctkDicomAbstractHost{
     Q_OBJECT
 public:
     ctkDicomExampleHost(ctkHostedAppPlaceholderWidget* placeholderWidget, int hostPort = 8080, int appPort = 8081);

+ 1 - 1
Plugins/org.commontk.dicom.examplehost/ctkDicomExampleHostPlugin.cpp

@@ -56,6 +56,6 @@ ctkPluginContext* ctkDicomExampleHostPlugin::getPluginContext() const
   return context;
 }
 
-Q_EXPORT_PLUGIN2(org_commontk_dicom_examplehost, ctkDicomExampleHostPlugin)
+Q_EXPORT_PLUGIN2(org_commontk_dah_examplehost_Export_Export, ctkDicomExampleHostPlugin)
 
 

Plugins/org.commontk.dicom.examplehost/ctkDicomExampleHostPlugin_p.h → Plugins/org.commontk.dah.examplehost/ctkDicomExampleHostPlugin_p.h


Plugins/org.commontk.dicom.examplehost/ctkHostedAppPlaceholderWidget.cpp → Plugins/org.commontk.dah.examplehost/ctkHostedAppPlaceholderWidget.cpp


+ 2 - 2
Plugins/org.commontk.dicom.examplehost/ctkHostedAppPlaceholderWidget.h

@@ -3,9 +3,9 @@
 
 #include <QFrame>
 #include <QDebug>
-#include <org_commontk_dicom_examplehost_Export.h>
+#include <org_commontk_dah_examplehost_Export.h>
 
-class org_commontk_dicom_examplehost_EXPORT ctkHostedAppPlaceholderWidget : public QFrame
+class org_commontk_dah_examplehost_EXPORT ctkHostedAppPlaceholderWidget : public QFrame
 {
   Q_OBJECT
 public:

+ 1 - 0
Plugins/org.commontk.dah.examplehost/manifest_headers.cmake

@@ -0,0 +1 @@
+SET(Require-Plugin org.commontk.dah.host)

+ 2 - 2
Plugins/org.commontk.dicom.wg23.host/CMakeLists.txt

@@ -1,6 +1,6 @@
-PROJECT(org_commontk_dicom_wg23_host)
+PROJECT(org_commontk_dah_host)
 
-SET(PLUGIN_export_directive "org_commontk_dicom_wg23_host_EXPORT")
+SET(PLUGIN_export_directive "org_commontk_dah_host_EXPORT")
 
 SET(PLUGIN_SRCS
   ctkDicomHostServer.cpp

Plugins/org.commontk.dicom.wg23.host/ctkDicomAbstractHost.cpp → Plugins/org.commontk.dah.host/ctkDicomAbstractHost.cpp


+ 2 - 2
Plugins/org.commontk.dicom.wg23.host/ctkDicomAbstractHost.h

@@ -5,7 +5,7 @@
 #include <ctkDicomAppInterface.h>
 #include <QScopedPointer>
 
-#include <org_commontk_dicom_wg23_host_Export.h>
+#include <org_commontk_dah_host_Export.h>
 
 class ctkDicomAbstractHostPrivate;
 
@@ -18,7 +18,7 @@ class ctkDicomAbstractHostPrivate;
   * The methods of the ctkDicomHostInterface have to be implemented for the business logic,
   *
   */
-class org_commontk_dicom_wg23_host_EXPORT ctkDicomAbstractHost : public ctkDicomHostInterface
+class org_commontk_dah_host_EXPORT ctkDicomAbstractHost : public ctkDicomHostInterface
 {
 public:
     /**

Plugins/org.commontk.dicom.wg23.host/ctkDicomAppService.cpp → Plugins/org.commontk.dah.host/ctkDicomAppService.cpp


+ 2 - 2
Plugins/org.commontk.dicom.wg23.host/ctkDicomAppService.h

@@ -25,9 +25,9 @@
 
 #include <ctkDicomAppInterface.h>
 #include <ctkDicomExchangeService.h>
-#include <org_commontk_dicom_wg23_host_Export.h>
+#include <org_commontk_dah_host_Export.h>
 
-class org_commontk_dicom_wg23_host_EXPORT ctkDicomAppService : public ctkDicomAppInterface
+class org_commontk_dah_host_EXPORT ctkDicomAppService : public ctkDicomAppInterface
 {
 
 public:

Plugins/org.commontk.dicom.wg23.host/ctkDicomHostServer.cpp → Plugins/org.commontk.dah.host/ctkDicomHostServer.cpp


Plugins/org.commontk.dicom.wg23.host/ctkDicomHostServer.h → Plugins/org.commontk.dah.host/ctkDicomHostServer.h


Plugins/org.commontk.dicom.wg23.host/ctkDicomHostServerPrivate.cpp → Plugins/org.commontk.dah.host/ctkDicomHostServerPrivate.cpp


Plugins/org.commontk.dicom.wg23.host/ctkDicomHostServerPrivate.h → Plugins/org.commontk.dah.host/ctkDicomHostServerPrivate.h


+ 1 - 1
Plugins/org.commontk.dicom.wg23.host/ctkDicomWG23HostPlugin.cpp

@@ -56,6 +56,6 @@ ctkPluginContext* ctkDicomWG23HostPlugin::getPluginContext() const
   return context;
 }
 
-Q_EXPORT_PLUGIN2(org_commontk_dicom_wg23_host, ctkDicomWG23HostPlugin)
+Q_EXPORT_PLUGIN2(org_commontk_dah_host, ctkDicomWG23HostPlugin)
 
 

Plugins/org.commontk.dicom.wg23.host/ctkDicomWG23HostPlugin_p.h → Plugins/org.commontk.dah.host/ctkDicomWG23HostPlugin_p.h


Plugins/org.commontk.dicom.wg23.host/ctkHostSoapMessageProcessor.cpp → Plugins/org.commontk.dah.host/ctkHostSoapMessageProcessor.cpp


Plugins/org.commontk.dicom.wg23.host/ctkHostSoapMessageProcessor.h → Plugins/org.commontk.dah.host/ctkHostSoapMessageProcessor.h


+ 1 - 0
Plugins/org.commontk.dah.host/manifest_headers.cmake

@@ -0,0 +1 @@
+SET(Require-Plugin org.commontk.dah.core)

+ 0 - 1
Plugins/org.commontk.dicom.examplehost/manifest_headers.cmake

@@ -1 +0,0 @@
-SET(Require-Plugin org.commontk.dicom.wg23.host)

+ 0 - 1
Plugins/org.commontk.dicom.wg23.app/manifest_headers.cmake

@@ -1 +0,0 @@
-SET(Require-Plugin org.commontk.dicom.wg23.core)

+ 0 - 1
Plugins/org.commontk.dicom.wg23.host/manifest_headers.cmake

@@ -1 +0,0 @@
-SET(Require-Plugin org.commontk.dicom.wg23.core)

+ 0 - 1
Plugins/org.commontk.example.dicomapp/manifest_headers.cmake

@@ -1 +0,0 @@
-SET(Require-Plugin org.commontk.dicom.wg23.app)