Lines Matching defs:Type
125 enum Type {
134 Type fType;
583 if (Type() != NULL)
584 throw Error("mime signature already specified: '%s'", Type());
668 if (Type() != NULL && InitCheck() != B_OK)
670 Type(), strerror(InitCheck()));
683 if (Type() == NULL)
687 throw Error("mime for '%s' is not valid", Type());
690 if (Type() != NULL) {
692 throw Error("mime for '%s' is not valid", Type());
695 throw Error("mime for '%s' is not installed", Type());
700 _SetTo(Type());
886 if (Type() == NULL || strcasecmp(Type(), mimetype) != 0)
964 throw Error("could not install mimetype '%s'", Type());
969 throw Error("cannot set %s to %s for '%s'", kShort, value, Type());
974 throw Error("cannot set %s to %s for '%s'", kLong, value, Type());
981 kPreferredApp, value, Type());
985 kPreferredApp, value, Type());
992 kPreferredAppSig, value, Type());
998 kSniffRule, value, Type());
1005 kMiniIcon, Type(), iconSize);
1015 kLargeIcon, Type(), iconSize);
1025 kVectorIcon, Type(), iconSize);
1113 if (Type() != NULL) {
1114 _Dump(Type());