-
-
Notifications
You must be signed in to change notification settings - Fork 101
/
statics.py
26 lines (22 loc) · 866 Bytes
/
statics.py
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
# -*- coding: utf-8 -*-
#
# gdb-frontend is a easy, flexible and extensionable gui debugger
#
# https://github.com/rohanrhu/gdb-frontend
# https://oguzhaneroglu.com/projects/gdb-frontend/
#
# Licensed under GNU/GPLv3
# Copyright (C) 2019, Oğuzhan Eroğlu (https://oguzhaneroglu.com/) <rohanrhu2@gmail.com>
VERSION = [0, 11, 4, "git"]
VERSION_STRING = "v"+".".join([str(i) for i in VERSION[:-1]])+"-"+VERSION[-1]
"""
GDB-Frontend GUI modes.
GDB-Frontend can run different GUI modes:
WEB : Accessible via http://host:port/ and layout does not contain GDB terminal.
WEB_TMUX : Same as WEB but layout contains GDB terminal on bottom.
GUI : It means layout is being opened from native GUI.
Also in this mode, layout contains GDB terminal at bottom as natively.
"""
GUI_MODE_WEB = 1
GUI_MODE_WEB_TMUX = 2
GUI_MODE_GUI = 3