summaryrefslogtreecommitdiff
path: root/src/bin/extns.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-29 14:59:57 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-29 14:59:57 +0900
commit7f92258ee43d5b3df322dace94f323087e1cfc09 (patch)
tree6540bab8fdea1e4e3f09e560d3279fa5a3616056 /src/bin/extns.c
parentbcdfbbadfbd70c5a7cf1d6eb29e663abe13eeadc (diff)
terminology - make wp display more than basic img formats (edj, scale etc.)
Diffstat (limited to 'src/bin/extns.c')
-rw-r--r--src/bin/extns.c41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/bin/extns.c b/src/bin/extns.c
new file mode 100644
index 0000000..b830589
--- /dev/null
+++ b/src/bin/extns.c
@@ -0,0 +1,41 @@
1#include <stdio.h>
2
3const char *extn_img[] =
4{
5 ".png", ".jpg", ".jpeg", ".jpe", ".jfif", ".tif", ".tiff", ".gif", ".thm",
6 ".bmp", ".ico", ".ppm", ".pgm", ".pbm", ".pnm", ".xpm", ".psd", ".wbmp",
7 ".cur", ".xcf", ".xcf.gz", ".arw", ".cr2", ".crw", ".dcr", ".dng", ".k25",
8 ".kdc", ".erf", ".mrw", ".nef", ".nrf", ".nrw", ".orf", ".raw", ".rw2",
9 ".pef", ".raf", ".sr2", ".srf", ".x3f", ".webp", ".ppt", ".pptx", ".odp",
10 NULL
11};
12
13const char *extn_scale[] =
14{
15 ".svg", ".svgz", ".svg.gz", ".ps", ".ps.gz", ".pdf",
16 NULL
17};
18
19const char *extn_edj[] =
20{
21 ".edj",
22 NULL
23};
24
25const char *extn_mov[] =
26{
27 ".asf", ".avi", ".bdm", ".bdmv", ".clpi", ".cpi", ".dv", ".fla", ".flv",
28 ".m1v", ".m2t", ".m2v", ".m4v", ".mkv", ".mov", ".mp2", ".mp2ts", ".mp4",
29 ".mpe", ".mpeg", ".mpg", ".mpl", ".mpls", ".mts", ".mxf", ".nut", ".nuv",
30 ".ogg", ".ogm", ".ogv", ".qt", ".rm", ".rmj", ".rmm", ".rms", ".rmvb",
31 ".rmx", ".rv", ".swf", ".ts", ".weba", ".webm", ".wmv", ".3g2", ".3gp",
32 ".3gp2", ".3gpp", ".3gpp2", ".3p2", ".264",
33 ".mp3", ".aac", ".wav",
34 NULL
35};
36
37const char *extn_aud[] =
38{
39 ".mp3", ".aac", ".wav",
40 NULL
41};