diff --git a/Modules/IGTBase/include/mitkIGTMimeTypes.h b/Modules/IGTBase/include/mitkIGTMimeTypes.h new file mode 100644 index 0000000000..5ff8d05c41 --- /dev/null +++ b/Modules/IGTBase/include/mitkIGTMimeTypes.h @@ -0,0 +1,31 @@ +/*=================================================================== + +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. + +===================================================================*/ + +#ifndef MITKIOMIMETYPE_H_HEADER_INCLUDED_ +#define MITKIOMIMETYPE_H_HEADER_INCLUDED_ + +#include +#include + +namespace mitk { + class IOBaseMimeTypes + { + Custom + }; +} + + +#endif // MITKIOMIMETYPE_H_HEADER_INCLUDED_ \ No newline at end of file diff --git a/Modules/IGTBase/src/mitkIGTMimeTypes.cpp b/Modules/IGTBase/src/mitkIGTMimeTypes.cpp new file mode 100644 index 0000000000..aacc4b1b06 --- /dev/null +++ b/Modules/IGTBase/src/mitkIGTMimeTypes.cpp @@ -0,0 +1,28 @@ +/*=================================================================== + +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. + +===================================================================*/ + +// MITK +#include "mitkIGTMimeTypes.h" + +mitk::CustomMimeType mitk::IOBaseMimeTypes::NAVIGATIONDATASETXML_MIMETYPE() +{ + mitk::CustomMimeType mimeType(IOMimeTypes::DEFAULT_BASE_NAME() + ".NavigationDataSet.xml"); + std::string category = "NavigationDataSet"; + mimeType.SetComment("NavigationDataSet (XML)"); + mimeType.SetCategory(category); + mimeType.AddExtension("xml"); + return mimeType; +} \ No newline at end of file