1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 02:58:12 +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:
Linus Groh 2020-11-13 00:31:34 +00:00 committed by Andreas Kling
parent 5b68ea8dde
commit f0c2ee3c56

View file

@ -33,24 +33,24 @@
namespace GUI { namespace GUI {
#define ENUMERATE_FILETYPES(F) \ #define ENUMERATE_FILETYPES(F) \
F(cplusplus, ".cpp") \ F(cplusplus, ".cpp", ".cxx", ".cc", ".c++") \
F(form, ".frm") \ F(form, ".frm") \
F(hackstudio, ".hsp") \ F(hackstudio, ".hsp") \
F(header, ".h") \ F(header, ".h", ".hpp", ".hxx", ".hh", ".h++") \
F(html, ".html") \ F(html, ".html", ".htm") \
F(image, ".png") \ F(image, ".png") \
F(java, ".java") \ F(java, ".java") \
F(javascript, ".js") \ F(javascript, ".js", ".mjs") \
F(library, ".so", ".a") \ F(library, ".so", ".a") \
F(markdown, ".md") \ F(markdown, ".md") \
F(music, ".midi") \ F(music, ".midi") \
F(object, ".o", ".obj") \ F(object, ".o", ".obj") \
F(pdf, ".pdf") \ F(pdf, ".pdf") \
F(python, ".py") \ F(python, ".py") \
F(sound, ".wav") \ F(sound, ".wav") \
F(ini, ".ini") \ F(ini, ".ini") \
F(text, ".txt") \ F(text, ".txt") \
F(spreadsheet, ".sheets") F(spreadsheet, ".sheets")
#define __ENUMERATE_FILETYPE(filetype_name, ...) \ #define __ENUMERATE_FILETYPE(filetype_name, ...) \