Lines Matching refs:extensions
39 \brief Information about file extensions and their associated types
174 /*! \brief Sets the list of file extensions for the given type and
177 All listed extensions will including the given mime type in
180 All extensions previously but no longer associated with this
184 \param app The mime type whose associated file extensions you are setting
186 file extensions in its \c Mime::kExtensionsField field.
189 AssociatedTypes::SetFileExtensions(const char *type, const BMessage *extensions)
191 status_t err = type && extensions ? B_OK : B_BAD_VALUE;
197 // Make a copy of the previous extensions
201 // Read through the list of new extensions, creating the new
202 // file extensions list and adding the type as an associated type
207 extensions->FindString(kTypesField, i, &extension) == B_OK;
214 // Remove any extensions that are still associated from the list
215 // of previously associated extensions
224 // but no longer associated extensions
236 /*! \brief Clears the given types's file extensions list and removes the
237 types from each of said extensions' associated types list.
238 \param app The mime type whose file extensions you are clearing
243 BMessage extensions;
244 return SetFileExtensions(type, &extensions);
433 // file extensions for the mime type and adding the mime type