Lines Matching defs:supertype

87 	supertype in the pre-allocated \c BMessage pointed to by \c types.
93 InstalledTypes::GetInstalledTypes(const char *supertype, BMessage *types)
95 if (supertype == NULL || types == NULL)
98 // Verify the supertype is valid *and* is a supertype
102 // Make sure the supertype is valid
103 status_t err = mime.SetTo(supertype);
104 // Make sure it's really a supertype
111 // Ask the appropriate supertype for its list
113 std::map<std::string, Supertype>::iterator i = fSupertypes.find(supertype);
180 // Copy the supertype
188 // Add the subtype (which will add the supertype if necessary)
219 // Copy the supertype
232 /*! \brief Adds the given supertype to the supertype map.
234 - B_OK: success, even if the supertype already existed in the map
248 Supertype &supertype = fSupertypes[super];
249 supertype.SetName(super);
260 /*! \brief Adds the given subtype to the given supertype's lists of installed types.
262 If the supertype does not yet exist, it is created.
264 \param super The supertype
265 \param sub The subtype (subtype only; no "supertype/subtype" types please)
286 /*! \brief Adds the given subtype to the given supertype's lists of installed types.
288 \param super The supertype object
289 \param sub The subtype (subtype only; no "supertype/subtype" types please)
311 /*! \brief Removes the given supertype and any corresponding subtypes.
326 /*! \brief Removes the given subtype from the given supertype.
348 //! Clears any cached messages and empties the supertype map
402 char supertype[B_PATH_NAME_LENGTH];
404 && entry.GetName(supertype) == B_OK
405 && BMimeType::IsValid(supertype))
408 BPrivate::Storage::to_lower(supertype);
410 // Add this supertype
412 if (_AddSupertype(supertype, i) != B_OK)
414 " -- Error adding supertype '%s': 0x%" B_PRIx32 "\n",
415 supertype, err));
416 Supertype &supertypeRef = fSupertypes[supertype];
418 // Now iterate through this supertype directory and add
421 if (dir.Init(fDatabaseLocation, supertype) == B_OK) {
445 supertype, type.String() + subStart + 1, err));
452 "Failed opening supertype directory '%s'\n",
453 supertype));