1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-29 20:35:13 +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 {
#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, ...) \