Lines Matching defs:signature
382 buffer \a signature. The preferred application is identifief by its
383 signature.
385 \param signature A pointer to a pre-allocated character buffer of size
393 - \c B_BAD_VALUE: \c NULL \a signature or bad app_verb \a verb.
397 BNodeInfo::GetPreferredApp(char *signature, app_verb verb) const
400 status_t error = (signature && verb == B_OPEN ? B_OK : B_BAD_VALUE);
414 0, signature, attrInfo.size);
421 signature[B_MIME_TYPE_LENGTH - 1] = '\0';
431 If \a signature is \c NULL, the respective attribute is removed.
433 \param signature The signature of the preferred application to be set.
441 - \c B_BAD_VALUE: \c NULL \a signature, \a signature is longer than
446 BNodeInfo::SetPreferredApp(const char *signature, app_verb verb)
450 if (error == B_OK && signature && strlen(signature) >= B_MIME_TYPE_LENGTH)
456 if (signature) {
457 size_t toWrite = strlen(signature) + 1;
460 signature, toWrite);
663 char signature[B_MIME_TYPE_LENGTH];
664 if (GetPreferredApp(signature) == B_OK) {
665 // BMimeType type(signature);
681 // char signature[B_MIME_TYPE_LENGTH];
682 // if (nodeType.GetPreferredApp(signature) == B_OK) {
683 // BMimeType type(signature);