| 1 | /* |
| 2 | * Copyright (C) 2023 Team Kodi |
| 3 | * This file is part of Kodi - https://kodi.tv |
| 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0-or-later |
| 6 | * See LICENSES/README.md for more information. |
| 7 | */ |
| 8 | |
| 9 | #pragma once |
| 10 | |
| 11 | namespace VIDEO |
| 12 | { |
| 13 | namespace GUILIB |
| 14 | { |
| 15 | // Note: Do not change the numerical values of the elements. Some of them are used as values for |
| 16 | // the integer settings SETTING_MYVIDEOS_SELECTACTION and SETTING_MYVIDEOS_PLAYACTION. |
| 17 | enum Action |
| 18 | { |
| 19 | ACTION_CHOOSE = 0, |
| 20 | ACTION_PLAY_OR_RESUME = 1, // if resume is possible, ask user. play from beginning otherwise |
| 21 | ACTION_RESUME = 2, // resume if possibly, play from beginning otherwise |
| 22 | ACTION_INFO = 3, |
| 23 | // 4 unused |
| 24 | ACTION_PLAY_FROM_BEGINNING = 5, // play from beginning, also if resume would be possible |
| 25 | ACTION_PLAYPART = 6, |
| 26 | ACTION_QUEUE = 7, |
| 27 | }; |
| 28 | } // namespace GUILIB |
| 29 | } // namespace VIDEO |