13 #ifndef mitkCustomMimeType_h
14 #define mitkCustomMimeType_h
60 std::string GetName()
const;
65 std::string GetCategory()
const;
70 std::vector<std::string> GetExtensions()
const;
75 std::string GetComment()
const;
83 virtual bool AppliesTo(
const std::string &path)
const;
90 bool MatchesExtension(
const std::string &path)
const;
98 std::string GetExtension(
const std::string &path)
const;
106 std::string GetFilenameWithoutExtension(
const std::string &path)
const;
108 void SetName(
const std::string &name);
109 void SetCategory(
const std::string &category);
110 void SetExtension(
const std::string &extension);
111 void AddExtension(
const std::string &extension);
112 void SetComment(
const std::string &comment);
120 bool ParsePathForExtension(
const std::string &path, std::string &extension, std::string &filename)
const;