mirror of
https://github.com/RGBCube/serenity
synced 2025-05-29 06:45:08 +00:00
LibGUI: Add more extensions to FileIconProvider
This adds the following: - cplusplus: .cxx, .cc, .c++ - header: .hpp, .hxx, .hh, .h++ - javascript: .mjs
This commit is contained in:
parent
5b68ea8dde
commit
f0c2ee3c56
1 changed files with 18 additions and 18 deletions
|
@ -33,24 +33,24 @@
|
|||
|
||||
namespace GUI {
|
||||
|
||||
#define ENUMERATE_FILETYPES(F) \
|
||||
F(cplusplus, ".cpp") \
|
||||
F(form, ".frm") \
|
||||
F(hackstudio, ".hsp") \
|
||||
F(header, ".h") \
|
||||
F(html, ".html") \
|
||||
F(image, ".png") \
|
||||
F(java, ".java") \
|
||||
F(javascript, ".js") \
|
||||
F(library, ".so", ".a") \
|
||||
F(markdown, ".md") \
|
||||
F(music, ".midi") \
|
||||
F(object, ".o", ".obj") \
|
||||
F(pdf, ".pdf") \
|
||||
F(python, ".py") \
|
||||
F(sound, ".wav") \
|
||||
F(ini, ".ini") \
|
||||
F(text, ".txt") \
|
||||
#define ENUMERATE_FILETYPES(F) \
|
||||
F(cplusplus, ".cpp", ".cxx", ".cc", ".c++") \
|
||||
F(form, ".frm") \
|
||||
F(hackstudio, ".hsp") \
|
||||
F(header, ".h", ".hpp", ".hxx", ".hh", ".h++") \
|
||||
F(html, ".html", ".htm") \
|
||||
F(image, ".png") \
|
||||
F(java, ".java") \
|
||||
F(javascript, ".js", ".mjs") \
|
||||
F(library, ".so", ".a") \
|
||||
F(markdown, ".md") \
|
||||
F(music, ".midi") \
|
||||
F(object, ".o", ".obj") \
|
||||
F(pdf, ".pdf") \
|
||||
F(python, ".py") \
|
||||
F(sound, ".wav") \
|
||||
F(ini, ".ini") \
|
||||
F(text, ".txt") \
|
||||
F(spreadsheet, ".sheets")
|
||||
|
||||
#define __ENUMERATE_FILETYPE(filetype_name, ...) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue