[go: up one dir, main page]

Menu

[dfe9bc]: / globals / project.py  Maximize  Restore  History

Download this file

35 lines (24 with data), 783 Bytes

 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
# ******************************************************
# * Copyright © 2016-2023 - Jordan Irwin (AntumDeluge) *
# ******************************************************
# * This software is licensed under the MIT license. *
# * See: LICENSE.txt for details. *
# ******************************************************
## @module globals.project
import wx
from dbr.language import GT
ID_PROJ_L = wx.NewId()
ID_PROJ_T = wx.NewId()
ID_PROJ_M = wx.NewId()
## Default project filename extension.
PROJECT_ext = "dbp"
PROJECT_txt = "txt"
## Filename suffixes that can be opened.
supported_suffixes = (
PROJECT_ext,
PROJECT_txt,
)
PROJ_DEF_L = GT("Debreate project files")
project_wildcards = {
ID_PROJ_L: (PROJ_DEF_L, (PROJECT_ext, PROJECT_txt)),
}