13 #ifndef mitkIMimeTypeProvider_h
14 #define mitkIMimeTypeProvider_h
Immutable, value-type wrapper for a registered mime-type.
Provides the MITK_DECLARE_SERVICE_INTERFACE macro for registering C++ interfaces with both the CppMic...
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Declare a C++ interface for use with CppMicroServices (Qt not available).
Find image slices visible on a given plane.
Service interface for querying all registered mime-types.
virtual MimeType GetMimeTypeForName(const std::string &name) const =0
Get the mime-type registered under the given name.
virtual std::vector< std::string > GetCategories() const =0
Get a sorted and unique list of all registered mime-type categories.
virtual std::vector< MimeType > GetMimeTypesForCategory(const std::string &category) const =0
Get all mime-types in a specific category.
virtual ~IMimeTypeProvider()
virtual std::vector< MimeType > GetMimeTypes() const =0
Get all registered mime-types.
virtual std::vector< MimeType > GetMimeTypesForFile(const std::string &filePath) const =0
Get all mime-types that apply to the given file path.