* Updated references to StyledEdit.
* Added some more types we got contributed on the mailing list (sorry, don't remember right now from whom...), since Ingo didn't do it yet. All usable text and video types are imported and cleaned where useful. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17462 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a45ebf0c79
commit
9c20789426
@ -3,9 +3,8 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||
|
||||
resource(1, "META:TYPE") "text/html";
|
||||
|
||||
resource(2, "META:SNIFF_RULE") #'CSTR' array
|
||||
{
|
||||
"0.40 [0:64]( -i \"<HTML\" | \"<HEAD\" | \"<TITLE\" | \""
|
||||
resource(2, "META:SNIFF_RULE") #'CSTR' array {
|
||||
"0.40 [0:64]( -i \"<HTML\" | \"<HEAD\" | \"<TITLE\" | \""
|
||||
"<BODY\" | \"<TABLE\" | \"<!--\" | \"<META\" | \"<CENTER\")"
|
||||
};
|
||||
|
||||
@ -13,8 +12,7 @@ resource(3, "META:S:DESC") #'MSDC' "HTML File";
|
||||
|
||||
resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.Be-NPOS";
|
||||
|
||||
resource(5, "META:EXTENS") message(234)
|
||||
{
|
||||
resource(5, "META:EXTENS") message(234) {
|
||||
"extensions" = "htm",
|
||||
"extensions" = "html",
|
||||
"type" = "text/html"
|
||||
|
@ -10,7 +10,7 @@ resource(3, "META:EXTENS") message(234) {
|
||||
"type" = "text/plain"
|
||||
};
|
||||
|
||||
resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.obos.styled-edit";
|
||||
resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.haiku.styled-edit";
|
||||
|
||||
resource(5, "META:L:STD_ICON") #'ICON' array {
|
||||
$"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
|
||||
|
15
src/data/beos_mime/text/rtf
Normal file
15
src/data/beos_mime/text/rtf
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||
|
||||
resource(1, "META:TYPE") "text/rtf";
|
||||
|
||||
resource(2, "META:S:DESC") #'MSDC' "RTF File";
|
||||
|
||||
resource(3, "META:EXTENS") message(234) {
|
||||
"extensions" = "rtf",
|
||||
"type" = "text/rtf"
|
||||
};
|
||||
|
||||
resource(4, "META:SNIFF_RULE") "0.50 (\"\\173\\134rtf\")";
|
||||
|
||||
resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.haiku.styled-edit";
|
@ -3,24 +3,25 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||
|
||||
resource(1, "META:TYPE") "text/x-source-code";
|
||||
|
||||
resource(2, "META:SNIFF_RULE") #'CSTR' array
|
||||
{
|
||||
resource(2, "META:SNIFF_RULE") #'CSTR' array {
|
||||
"0.20 ([0]\"//\" | [0]\"/*\" | [0:32]\"#include\" | [0:3"
|
||||
"2]\"#ifndef\" | [0:32]\"#ifdef\")"
|
||||
};
|
||||
|
||||
resource(3, "META:S:DESC") #'MSDC' "Source Code";
|
||||
|
||||
resource(4, "META:EXTENS") message(234)
|
||||
{
|
||||
resource(4, "META:EXTENS") message(234) {
|
||||
"extensions" = "asm",
|
||||
"extensions" = "c",
|
||||
"extensions" = "cc",
|
||||
"extensions" = "cpp",
|
||||
"extensions" = "h",
|
||||
"extensions" = "h++",
|
||||
"extensions" = "java",
|
||||
"extensions" = "pl",
|
||||
"extensions" = "py",
|
||||
"extensions" = "S",
|
||||
"type" = "text/x-source-code"
|
||||
};
|
||||
|
||||
resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.obos.styled-edit";
|
||||
resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.haiku.styled-edit";
|
||||
|
13
src/data/beos_mime/text/xml
Normal file
13
src/data/beos_mime/text/xml
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||
|
||||
resource(1, "META:TYPE") "text/xml";
|
||||
|
||||
resource(2, "META:S:DESC") #'MSDC' "XML File";
|
||||
|
||||
resource(3, "META:EXTENS") message(234) {
|
||||
"extensions" = "xml",
|
||||
"type" = "text/xml"
|
||||
};
|
||||
|
||||
resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.haiku.styled-edit";
|
13
src/data/beos_mime/video/mp4
Normal file
13
src/data/beos_mime/video/mp4
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||
|
||||
resource(1, "META:TYPE") "video/mp4";
|
||||
|
||||
resource(2, "META:S:DESC") #'MSDC' "MP4 Movie";
|
||||
|
||||
resource(3, "META:EXTENS") message(234) {
|
||||
"extensions" = "mp4",
|
||||
"type" = "video/mp4"
|
||||
};
|
||||
|
||||
resource(4, "META:PREF_APP") #'MSIG' "application/x-vnd.videolan-vlc";
|
16
src/data/beos_mime/video/quicktime
Normal file
16
src/data/beos_mime/video/quicktime
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||
|
||||
resource(1, "META:TYPE") "video/quicktime";
|
||||
|
||||
resource(2, "META:S:DESC") #'MSDC' "Quicktime Movie";
|
||||
|
||||
resource(3, "META:SNIFF_RULE") "0.50 (\"[4]\"mdat\" | [4]\"moov\"\")";
|
||||
|
||||
resource(4, "META:EXTENS") message(234) {
|
||||
"extensions" = "mov",
|
||||
"extensions" = "qt",
|
||||
"type" = "video/quicktime"
|
||||
};
|
||||
|
||||
resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.videolan-vlc";
|
15
src/data/beos_mime/video/x-ms-asf
Normal file
15
src/data/beos_mime/video/x-ms-asf
Normal file
@ -0,0 +1,15 @@
|
||||
|
||||
resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
|
||||
|
||||
resource(1, "META:TYPE") "video/x-ms-asf";
|
||||
|
||||
resource(2, "META:SNIFF_RULE") "0.50 (\"\\060\\046\\262\\165\")";
|
||||
|
||||
resource(3, "META:S:DESC") #'MSDC' "Microsoft ASF Movie";
|
||||
|
||||
resource(4, "META:EXTENS") message(234) {
|
||||
"extensions" = "asf",
|
||||
"type" = "video/x-ms-asf"
|
||||
};
|
||||
|
||||
resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.videolan-vlc";
|
Loading…
Reference in New Issue
Block a user