summaryrefslogtreecommitdiffstats
path: root/src/terminal-enums.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 15:21:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 15:21:32 +0000
commitf8a786c8f7878517aa695a69322bc9f2c8b92b6a (patch)
tree0cb8f00f8c10625d5d75244ef9dde521d94f8678 /src/terminal-enums.h
parentInitial commit. (diff)
downloadgnome-terminal-f8a786c8f7878517aa695a69322bc9f2c8b92b6a.tar.xz
gnome-terminal-f8a786c8f7878517aa695a69322bc9f2c8b92b6a.zip
Adding upstream version 3.38.3.upstream/3.38.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/terminal-enums.h')
-rw-r--r--src/terminal-enums.h69
1 files changed, 69 insertions, 0 deletions
diff --git a/src/terminal-enums.h b/src/terminal-enums.h
new file mode 100644
index 0000000..93f1460
--- /dev/null
+++ b/src/terminal-enums.h
@@ -0,0 +1,69 @@
+/*
+ * Copyright © 2001 Havoc Pennington
+ * Copyright © 2002 Mathias Hasselmann
+ * Copyright © 2008, 2010 Christian Persch
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef TERMINAL_ENUMS_H
+#define TERMINAL_ENUMS_H
+
+#include <glib.h>
+
+G_BEGIN_DECLS
+
+typedef enum {
+ TERMINAL_NEW_TERMINAL_MODE_WINDOW,
+ TERMINAL_NEW_TERMINAL_MODE_TAB
+} TerminalNewTerminalMode;
+
+typedef enum {
+ TERMINAL_NEW_TAB_POSITION_LAST,
+ TERMINAL_NEW_TAB_POSITION_NEXT
+} TerminalNewTabPosition;
+
+typedef enum
+{
+ TERMINAL_EXIT_CLOSE,
+ TERMINAL_EXIT_RESTART,
+ TERMINAL_EXIT_HOLD
+} TerminalExitAction;
+
+typedef enum {
+ TERMINAL_SETTINGS_LIST_FLAG_NONE = 0,
+ TERMINAL_SETTINGS_LIST_FLAG_HAS_DEFAULT = 1 << 0,
+ TERMINAL_SETTINGS_LIST_FLAG_ALLOW_EMPTY = 1 << 1
+} TerminalSettingsListFlags;
+
+typedef enum {
+ TERMINAL_CJK_WIDTH_NARROW = 1,
+ TERMINAL_CJK_WIDTH_WIDE = 2
+} TerminalCJKWidth;
+
+typedef enum {
+ TERMINAL_THEME_VARIANT_SYSTEM = 0,
+ TERMINAL_THEME_VARIANT_LIGHT = 1,
+ TERMINAL_THEME_VARIANT_DARK = 2
+} TerminalThemeVariant;
+
+typedef enum {
+ TERMINAL_PRESERVE_WORKING_DIRECTORY_NEVER = 0,
+ TERMINAL_PRESERVE_WORKING_DIRECTORY_SAFE = 1,
+ TERMINAL_PRESERVE_WORKING_DIRECTORY_ALWAYS = 2,
+} TerminalPreserveWorkingDirectory;
+
+G_END_DECLS
+
+#endif /* TERMINAL_ENUMS_H */