xref: /haiku/src/data/mime_db/text/x-source-code (revision 4c8e85b316c35a9161f5a1c50ad70bc91c83a76f)
1
2resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime";
3
4resource(1, "META:TYPE") "text/x-source-code";
5
6resource(2, "META:SNIFF_RULE") #'CSTR' array {
7	"0.30          ([0]\"//\" | [0]\"/*\" | [0:32]\"#include\" | [0:3"
8	"2]\"#ifndef\" | [0:32]\"#ifdef\" | [0]\"SUMMARY=\")"
9};
10
11resource(3, "META:S:DESC") #'MSDC' "Source Code";
12
13resource(4, "META:EXTENS") message(234) {
14	"extensions" = "asm",
15	"extensions" = "bas",
16	"extensions" = "c",
17	"extensions" = "cc",
18	"extensions" = "cpp",
19	"extensions" = "cs",
20	"extensions" = "cxx",
21	"extensions" = "e",
22	"extensions" = "go",
23	"extensions" = "h",
24	"extensions" = "h++",
25	"extensions" = "hpp",
26	"extensions" = "inc",
27	"extensions" = "java",
28	"extensions" = "js",
29	"extensions" = "json",
30	"extensions" = "jsp",
31	"extensions" = "lua",
32	"extensions" = "pas",
33	"extensions" = "m",
34	"extensions" = "php",
35	"extensions" = "pl",
36	"extensions" = "pp",
37	"extensions" = "py",
38	"extensions" = "rb",
39	"extensions" = "recipe",
40	"extensions" = "rexx",
41	"extensions" = "rs",
42	"extensions" = "S",
43	"extensions" = "swift",
44	"extensions" = "sql",
45	"extensions" = "tcl",
46	"extensions" = "toml",
47	"extensions" = "yaml",
48	"type" = "text/x-source-code"
49};
50
51resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.beunited.pe";
52
53resource(6, "META:ICON") #'VICN' array {
54	$"6E6369660505010200060338D2F73CD163BF82B23B84A94B88504870C901BFDE"
55	$"F4BDFFFFFFFFE7EEFB020106023E49240000000000003CAAAA4940004A3000FF"
56	$"CEE5FF7C7588AD040192020006023A55A6BAC2293F0DA33E958646C2EB4870EB"
57	$"00010101FF5296CB0A0606AE0BB40BBF4D33C3AFB75DC173BDEFC607C13EC804"
58	$"CA28BD82C118B920C51BBB40BF07B8083AB6BC0605AE02B57D3EB9B9C3EFB7BB"
59	$"44BBB751BD75C936CA8EC1B1402F0A093B593D5BBFCDC93E455BC516C5F16046"
60	$"5B435D4544510A045A425E3F5A3D574008022E45373C0802364441390802364B"
61	$"463B08023A4E4A3E08032D422E4430450803373839393A3B0C0A03020203000A"
62	$"0001011001178400040A020101000A0001001001178400040A010100000A0403"
63	$"04060738201B16FF01178100040A0402060438201B001601178200040A040105"
64	$"38201B16FF01178100040A000108382B1116FF01178100040A00010938231916"
65	$"FF01178100040A00010838251E16FF01178100040A00010938283116FF011781"
66	$"0004"
67};
68