summaryrefslogtreecommitdiffstats
path: root/xbmc/application/ApplicationEnums.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/application/ApplicationEnums.h')
-rw-r--r--xbmc/application/ApplicationEnums.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/xbmc/application/ApplicationEnums.h b/xbmc/application/ApplicationEnums.h
new file mode 100644
index 0000000..3afa41e
--- /dev/null
+++ b/xbmc/application/ApplicationEnums.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2005-2018 Team Kodi
+ * This file is part of Kodi - https://kodi.tv
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ * See LICENSES/README.md for more information.
+ */
+
+#pragma once
+
+enum StartupAction
+{
+ STARTUP_ACTION_NONE = 0,
+ STARTUP_ACTION_PLAY_TV,
+ STARTUP_ACTION_PLAY_RADIO
+};
+
+// Do not change the numbers; external scripts depend on them
+enum
+{
+ EXITCODE_QUIT = 0,
+ EXITCODE_POWERDOWN = 64,
+ EXITCODE_RESTARTAPP = 65,
+ EXITCODE_REBOOT = 66,
+};