13 #ifndef MITKIMIMETYPEPROVIDER_H 14 #define MITKIMIMETYPEPROVIDER_H 50 virtual std::vector<MimeType> GetMimeTypes()
const = 0;
52 virtual std::vector<MimeType> GetMimeTypesForFile(
const std::string &filePath)
const = 0;
54 virtual std::vector<MimeType> GetMimeTypesForCategory(
const std::string &category)
const = 0;
56 virtual MimeType GetMimeTypeForName(
const std::string &name)
const = 0;
62 virtual std::vector<std::string> GetCategories()
const = 0;
68 #endif // MITKIMIMETYPEPROVIDER_H #define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
DataCollection - Class to facilitate loading/accessing structured data.
The IMimeTypeProvider service interface allows to query all registered mime types.
The MimeType class represens a registered mime-type. It is an immutable wrapper for mitk::CustomMimeT...