From 619926647605b809f6443a271d0c65c3ae8ba48d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sundstr=C3=B6m?= Date: Tue, 25 Aug 2009 22:05:47 +0000 Subject: [PATCH] Patch by Fredrik Ekdahl, slightly modified. Added Fredrik to list of Contributors. +alphabranch git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32677 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/aboutsystem/AboutSystem.cpp | 1 + src/data/beos_mime/audio/ogg | 2 ++ src/data/beos_mime/text/css | 12 ++++++++++++ src/data/beos_mime/text/csv | 14 ++++++++++++++ src/data/beos_mime/video/3gpp | 13 +++++++++++++ src/data/beos_mime/video/3gpp2 | 13 +++++++++++++ src/data/beos_mime/video/ogg | 2 ++ 7 files changed, 57 insertions(+) create mode 100644 src/data/beos_mime/text/css create mode 100644 src/data/beos_mime/text/csv create mode 100644 src/data/beos_mime/video/3gpp create mode 100644 src/data/beos_mime/video/3gpp2 diff --git a/src/apps/aboutsystem/AboutSystem.cpp b/src/apps/aboutsystem/AboutSystem.cpp index d2d7ecb970..33332ddf28 100644 --- a/src/apps/aboutsystem/AboutSystem.cpp +++ b/src/apps/aboutsystem/AboutSystem.cpp @@ -790,6 +790,7 @@ AboutView::_CreateCreditsView() "David Dengg\n" "John Drinkwater\n" "Cian Duffy\n" + "Fredrik Ekdahl\n" "Mark Erben\n" "Christian Fasshauer\n" "Andreas Färber\n" diff --git a/src/data/beos_mime/audio/ogg b/src/data/beos_mime/audio/ogg index 0345f3f1c5..2b71ba5e86 100644 --- a/src/data/beos_mime/audio/ogg +++ b/src/data/beos_mime/audio/ogg @@ -14,3 +14,5 @@ resource(4, "META:EXTENS") message(234) { "type" = "audio/ogg" }; +resource(5, "META:SNIFF_RULE") "0.50 (\"OggS\")"; + diff --git a/src/data/beos_mime/text/css b/src/data/beos_mime/text/css new file mode 100644 index 0000000000..6082506168 --- /dev/null +++ b/src/data/beos_mime/text/css @@ -0,0 +1,12 @@ + +resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; + +resource(1, "META:TYPE") "text/css"; + +resource(2, "META:S:DESC") #'MSDC' "Cascading Style Sheet"; + +resource(3, "META:EXTENS") message(234) { + "extensions" = "css", + "type" = "text/css" +}; + diff --git a/src/data/beos_mime/text/csv b/src/data/beos_mime/text/csv new file mode 100644 index 0000000000..bafd8cf3ad --- /dev/null +++ b/src/data/beos_mime/text/csv @@ -0,0 +1,14 @@ + +resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; + +resource(1, "META:TYPE") "text/csv"; + +resource(2, "META:S:DESC") #'MSDC' "CSV Text File"; + +resource(3, "META:L:DESC") #'MLDC' "Comma-Separated Values Text File"; + +resource(4, "META:EXTENS") message(234) { + "extensions" = "csv", + "type" = "text/csv" +}; + diff --git a/src/data/beos_mime/video/3gpp b/src/data/beos_mime/video/3gpp new file mode 100644 index 0000000000..c6e055b199 --- /dev/null +++ b/src/data/beos_mime/video/3gpp @@ -0,0 +1,13 @@ + +resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; + +resource(1, "META:TYPE") "video/3gpp"; + +resource(2, "META:S:DESC") #'MSDC' "3GPP Multimedia File"; + +resource(3, "META:EXTENS") message(234) { + "extensions" = "3gp", + "extensions" = "3gpp", + "type" = "video/3gpp" +}; + diff --git a/src/data/beos_mime/video/3gpp2 b/src/data/beos_mime/video/3gpp2 new file mode 100644 index 0000000000..85869c1db9 --- /dev/null +++ b/src/data/beos_mime/video/3gpp2 @@ -0,0 +1,13 @@ + +resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; + +resource(1, "META:TYPE") "video/3gpp2"; + +resource(2, "META:S:DESC") #'MSDC' "3GPP2 Multimedia File"; + +resource(3, "META:EXTENS") message(234) { + "extensions" = "3g2", + "extensions" = "3gpp2", + "type" = "video/3gpp2" +}; + diff --git a/src/data/beos_mime/video/ogg b/src/data/beos_mime/video/ogg index 32d6504989..cc3790665f 100644 --- a/src/data/beos_mime/video/ogg +++ b/src/data/beos_mime/video/ogg @@ -12,3 +12,5 @@ resource(4, "META:EXTENS") message(234) { "type" = "video/ogg" }; +resource(5, "META:SNIFF_RULE") "0.50 (\"OggS\")"; +