diff --git a/Modules/Bundles/org.mitk.gui.qt.dicom/files.cmake b/Modules/Bundles/org.mitk.gui.qt.dicom/files.cmake index f2bc518cd8..e02ec31a8b 100644 --- a/Modules/Bundles/org.mitk.gui.qt.dicom/files.cmake +++ b/Modules/Bundles/org.mitk.gui.qt.dicom/files.cmake @@ -1,51 +1,53 @@ set(SRC_CPP_FILES ) set(INTERNAL_CPP_FILES mitkPluginActivator.cpp QmitkDicomEditor.cpp QmitkDicomDirectoryListener.cpp QmitkStoreSCPLauncher.cpp QmitkStoreSCPLauncherBuilder.cpp QmitkDicomDataEventPublisher.cpp + DicomEventHandler.cpp ) set(UI_FILES src/internal/QmitkDicomEditorControls.ui ) set(MOC_H_FILES src/internal/mitkPluginActivator.h src/internal/QmitkDicomEditor.h src/internal/QmitkDicomDirectoryListener.h src/internal/QmitkStoreSCPLauncher.h src/internal/QmitkStoreSCPLauncherBuilder.h src/internal/QmitkDicomDataEventPublisher.h + src/internal/DicomEventHandler.h ) # list of resource files which can be used by the plug-in # system without loading the plug-ins shared library, # for example the icon used in the menu and tabs for the # plug-in views in the workbench set(CACHED_RESOURCE_FILES resources/icon.xpm plugin.xml ) # list of Qt .qrc files which contain additional resources # specific to this plugin set(QRC_FILES ) set(CPP_FILES ) foreach(file ${SRC_CPP_FILES}) set(CPP_FILES ${CPP_FILES} src/${file}) endforeach(file ${SRC_CPP_FILES}) foreach(file ${INTERNAL_CPP_FILES}) set(CPP_FILES ${CPP_FILES} src/internal/${file}) endforeach(file ${INTERNAL_CPP_FILES}) diff --git a/Modules/Bundles/org.mitk.gui.qt.dicom/src/internal/DicomEventHandler.cpp b/Modules/Bundles/org.mitk.gui.qt.dicom/src/internal/DicomEventHandler.cpp new file mode 100644 index 0000000000..4fec2b3ce8 --- /dev/null +++ b/Modules/Bundles/org.mitk.gui.qt.dicom/src/internal/DicomEventHandler.cpp @@ -0,0 +1,25 @@ +/*========================================================================= + +Program: Medical Imaging & Interaction Toolkit +Language: C++ +Date: $Date$ +Version: $Revision$ + +Copyright (c) German Cancer Research Center, Division of Medical and +Biological Informatics. All rights reserved. +See MITKCopyright.txt or http://www.mitk.org/copyright.html for details. + +This software is distributed WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ +#include "DicomEventHandler.h" + +DicomEventHandler::DicomEventHandler() +{ +} + +DicomEventHandler::~DicomEventHandler() +{ +} diff --git a/Modules/Bundles/org.mitk.gui.qt.dicom/src/internal/DicomEventHandler.h b/Modules/Bundles/org.mitk.gui.qt.dicom/src/internal/DicomEventHandler.h new file mode 100644 index 0000000000..69c370574b --- /dev/null +++ b/Modules/Bundles/org.mitk.gui.qt.dicom/src/internal/DicomEventHandler.h @@ -0,0 +1,37 @@ +/*========================================================================= + +Program: Medical Imaging & Interaction Toolkit +Language: C++ +Date: $Date$ +Version: $Revision$ + +Copyright (c) German Cancer Research Center, Division of Medical and +Biological Informatics. All rights reserved. +See MITKCopyright.txt or http://www.mitk.org/copyright.html for details. + +This software is distributed WITHOUT ANY WARRANTY; without even +the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ + + +#ifndef DicomEventHandler_h +#define DicomEventHandler_h + +#include +#include +#include + +class DicomEventHandler : public QObject, public ctkEventHandler +{ + Q_OBJECT + Q_INTERFACES(ctkEventHandler) + public: + + DicomEventHandler(); + + virtual ~DicomEventHandler(); + +}; +#endif // QmitkDicomEventHandlerBuilder_h \ No newline at end of file