diff --git a/Modules/DiffusionImaging/DiffusionIO/mitkDiffusionModuleActivator.cpp b/Modules/DiffusionImaging/DiffusionIO/mitkDiffusionModuleActivator.cpp index a2b3f7c1a9..a8f3a1f1c8 100644 --- a/Modules/DiffusionImaging/DiffusionIO/mitkDiffusionModuleActivator.cpp +++ b/Modules/DiffusionImaging/DiffusionIO/mitkDiffusionModuleActivator.cpp @@ -1,54 +1,50 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ - -#include #include -#include -#include #include #include namespace mitk { /** \brief Registers services for segmentation module. */ class DiffusionModuleActivator : public us::ModuleActivator { public: void Load(us::ModuleContext* /*context*/) { m_FiberBundleXReader = new FiberBundleXReader(); m_FiberBundleXWriter = new FiberBundleXWriter(); } void Unload(us::ModuleContext*) { delete m_FiberBundleXReader; delete m_FiberBundleXWriter; } private: FiberBundleXReader * m_FiberBundleXReader; FiberBundleXWriter * m_FiberBundleXWriter; }; } US_EXPORT_MODULE_ACTIVATOR(mitk::DiffusionModuleActivator)