Repository navigation
Expand file tree
/
Copy pathconstants.py
More file actions
146 lines (123 loc) · 1.92 KB
/
Copy pathconstants.py
File metadata and controls
146 lines (123 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# -*- coding: utf-8 -*-
#Filer constant values and strings
#Copyright (C) 2019 Yukio Nozawa <personal@nyanchangames.com>
#Note: All comments except these top lines will be written in Japanese.
import win32file
import wx
APP_NAME="Falcon Test"
APP_VERSION="0.01"
APP_COPYRIGHT_YEAR="2019-2020"
APP_DEVELOPERS="Yukio Nozawa and Yuki Kochi"
SUPPORTING_LANGUAGE=("ja-JP","en-US")
SETTING_FILE_NAME="settings.ini"
KEYMAP_FILE_NAME="keymap.ini"
FONT_MIN_SIZE=5
FONT_MAX_SIZE=35
NOT_CHECKED=wx.CHK_UNCHECKED
HALF_CHECKED=wx.CHK_UNDETERMINED
FULL_CHECKED=wx.CHK_CHECKED
ARROW_UP=0
ARROW_RIGHT=1
ARROW_DOWN=2
ARROW_LEFT=3
#menuId
MENU_ID_FROM_FALCON=5000
MENU_ID_SORT_COLUMN=6000
SUPPORTED_DOCUMENT_FORMATS={
#document
'txt',
'pdf',
'rtf',
'tex',
#Microsoft Office
'docx',
'xlsx',
'pptx',
'doc',
'xls',
'ppt',
#datafile
'csv',
'tsv',
#data markup languages
'mht',
'htm',
'html',
'xml',
'yaml',
'md',
#email and adressbook
'vmg',
'vcf',
'eml',
#open Office document
'odt', #open document
'ods', #open document spreadSheet
'odp', #open document presentation
'odg', #open document graphick
#Ichitaro
'jaw',
'jtw',
'jbw',
'juw',
'jfw',
'jvw',
'jtd',
'jtt',
#others
'oas',
'oa2',
'oa3',
'bun',
'wj2',
'wj3',
'wk3',
'wk4',
'123',
'wri',
'sxw',
'sxc',
'sxi',
'sxd',
#programing languages
'c',
'h',
'cpp',
'cs',
'java',
'py',
'hsp',
'as',
'js',
'rb',
'cgi',
'php',
'sql',
'manifest',
#configuration and logs
'ini',
'conf',
'url',
'log',
'json',
"css",
"htaccess", #apache directory configuration
#shell script
'bat', #windows commandPrompt
"ps1", #windows PowerShell
"sh", #Shell Script
#git
'gitconfig',
'gitignore',
}
SUPPORTED_AUDIO_FORMATS={
'wav',
'mp3',
'ogg',
'wma',
'flac',
'aac',
'm4a',
'm4r',
"mp4"
}