mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Removed all short enums comments as they're now properly solved by AllowShortEnumsOnASingleLine.
This commit is contained in:
parent
57f3cb7614
commit
0008e44294
|
@ -34,7 +34,7 @@ class Window;
|
||||||
struct SystemEnvironmentData;
|
struct SystemEnvironmentData;
|
||||||
|
|
||||||
enum CollectionSystemType {
|
enum CollectionSystemType {
|
||||||
AUTO_ALL_GAMES, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
AUTO_ALL_GAMES,
|
||||||
AUTO_LAST_PLAYED,
|
AUTO_LAST_PLAYED,
|
||||||
AUTO_FAVORITES,
|
AUTO_FAVORITES,
|
||||||
CUSTOM_COLLECTION
|
CUSTOM_COLLECTION
|
||||||
|
|
|
@ -56,7 +56,7 @@ struct MetaDataDecl {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum MetaDataListType {
|
enum MetaDataListType {
|
||||||
GAME_METADATA, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
GAME_METADATA,
|
||||||
FOLDER_METADATA
|
FOLDER_METADATA
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -67,14 +67,14 @@ namespace
|
||||||
bool settingsNeedSaving {false};
|
bool settingsNeedSaving {false};
|
||||||
|
|
||||||
enum loadSystemsReturnCode {
|
enum loadSystemsReturnCode {
|
||||||
LOADING_OK, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
LOADING_OK,
|
||||||
INVALID_FILE,
|
INVALID_FILE,
|
||||||
NO_ROMS
|
NO_ROMS
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
enum win64ConsoleType {
|
enum win64ConsoleType {
|
||||||
NO_CONSOLE, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
NO_CONSOLE,
|
||||||
PARENT_CONSOLE,
|
PARENT_CONSOLE,
|
||||||
ALLOCATED_CONSOLE
|
ALLOCATED_CONSOLE
|
||||||
};
|
};
|
||||||
|
|
|
@ -28,7 +28,7 @@ class FileData;
|
||||||
class SystemData;
|
class SystemData;
|
||||||
|
|
||||||
enum downloadStatus {
|
enum downloadStatus {
|
||||||
NOT_STARTED, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
NOT_STARTED,
|
||||||
IN_PROGRESS,
|
IN_PROGRESS,
|
||||||
COMPLETED
|
COMPLETED
|
||||||
};
|
};
|
||||||
|
|
|
@ -86,14 +86,14 @@ public:
|
||||||
void render(const glm::mat4& parentTrans) override;
|
void render(const glm::mat4& parentTrans) override;
|
||||||
|
|
||||||
enum ViewMode {
|
enum ViewMode {
|
||||||
NOTHING, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
NOTHING,
|
||||||
START_SCREEN,
|
START_SCREEN,
|
||||||
SYSTEM_SELECT,
|
SYSTEM_SELECT,
|
||||||
GAMELIST
|
GAMELIST
|
||||||
};
|
};
|
||||||
|
|
||||||
enum GamelistViewStyle {
|
enum GamelistViewStyle {
|
||||||
AUTOMATIC, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
AUTOMATIC,
|
||||||
BASIC,
|
BASIC,
|
||||||
DETAILED,
|
DETAILED,
|
||||||
VIDEO
|
VIDEO
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
enum AsyncHandleStatus {
|
enum AsyncHandleStatus {
|
||||||
ASYNC_IN_PROGRESS, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
ASYNC_IN_PROGRESS,
|
||||||
ASYNC_ERROR,
|
ASYNC_ERROR,
|
||||||
ASYNC_DONE
|
ASYNC_DONE
|
||||||
};
|
};
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#define DEVICE_CEC -2
|
#define DEVICE_CEC -2
|
||||||
|
|
||||||
enum InputType {
|
enum InputType {
|
||||||
TYPE_AXIS, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
TYPE_AXIS,
|
||||||
TYPE_BUTTON,
|
TYPE_BUTTON,
|
||||||
TYPE_KEY,
|
TYPE_KEY,
|
||||||
TYPE_CEC_BUTTON,
|
TYPE_CEC_BUTTON,
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
Log().get(level)
|
Log().get(level)
|
||||||
|
|
||||||
enum LogLevel {
|
enum LogLevel {
|
||||||
LogError, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
LogError,
|
||||||
LogWarning,
|
LogWarning,
|
||||||
LogInfo,
|
LogInfo,
|
||||||
LogDebug
|
LogDebug
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
namespace GridFlags
|
namespace GridFlags
|
||||||
{
|
{
|
||||||
enum UpdateType {
|
enum UpdateType {
|
||||||
UPDATE_ALWAYS, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
UPDATE_ALWAYS,
|
||||||
UPDATE_WHEN_SELECTED,
|
UPDATE_WHEN_SELECTED,
|
||||||
UPDATE_NEVER
|
UPDATE_NEVER
|
||||||
};
|
};
|
||||||
|
|
|
@ -62,7 +62,7 @@ public:
|
||||||
ComponentList();
|
ComponentList();
|
||||||
|
|
||||||
enum ScrollIndicator {
|
enum ScrollIndicator {
|
||||||
SCROLL_NONE, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
SCROLL_NONE,
|
||||||
SCROLL_UP,
|
SCROLL_UP,
|
||||||
SCROLL_UP_DOWN,
|
SCROLL_UP_DOWN,
|
||||||
SCROLL_DOWN
|
SCROLL_DOWN
|
||||||
|
|
|
@ -20,7 +20,7 @@ class DateTimeEditComponent : public GuiComponent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum DisplayMode {
|
enum DisplayMode {
|
||||||
DISP_DATE, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
DISP_DATE,
|
||||||
DISP_DATE_TIME,
|
DISP_DATE_TIME,
|
||||||
DISP_RELATIVE_TO_NOW
|
DISP_RELATIVE_TO_NOW
|
||||||
};
|
};
|
||||||
|
|
|
@ -34,7 +34,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class GameSelection {
|
enum class GameSelection {
|
||||||
RANDOM, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
RANDOM,
|
||||||
LAST_PLAYED,
|
LAST_PLAYED,
|
||||||
MOST_PLAYED
|
MOST_PLAYED
|
||||||
};
|
};
|
||||||
|
|
|
@ -14,12 +14,12 @@
|
||||||
#include "utils/StringUtil.h"
|
#include "utils/StringUtil.h"
|
||||||
|
|
||||||
enum class CursorState {
|
enum class CursorState {
|
||||||
CURSOR_STOPPED, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
CURSOR_STOPPED,
|
||||||
CURSOR_SCROLLING
|
CURSOR_SCROLLING
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class ListLoopType {
|
enum class ListLoopType {
|
||||||
LIST_ALWAYS_LOOP, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
LIST_ALWAYS_LOOP,
|
||||||
LIST_PAUSE_AT_END,
|
LIST_PAUSE_AT_END,
|
||||||
LIST_PAUSE_AT_END_ON_JUMP,
|
LIST_PAUSE_AT_END_ON_JUMP,
|
||||||
LIST_NEVER_LOOP
|
LIST_NEVER_LOOP
|
||||||
|
|
|
@ -18,12 +18,12 @@
|
||||||
#define EXTRAITEMS 2
|
#define EXTRAITEMS 2
|
||||||
|
|
||||||
enum ScrollDirection {
|
enum ScrollDirection {
|
||||||
SCROLL_VERTICALLY, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
SCROLL_VERTICALLY,
|
||||||
SCROLL_HORIZONTALLY
|
SCROLL_HORIZONTALLY
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ImageSource {
|
enum ImageSource {
|
||||||
THUMBNAIL, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
THUMBNAIL,
|
||||||
IMAGE,
|
IMAGE,
|
||||||
MIXIMAGE,
|
MIXIMAGE,
|
||||||
SCREENSHOT,
|
SCREENSHOT,
|
||||||
|
|
|
@ -40,7 +40,7 @@ public:
|
||||||
using Entry = typename IList<CarouselEntry, T>::Entry;
|
using Entry = typename IList<CarouselEntry, T>::Entry;
|
||||||
|
|
||||||
enum class CarouselType {
|
enum class CarouselType {
|
||||||
HORIZONTAL, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
HORIZONTAL,
|
||||||
VERTICAL,
|
VERTICAL,
|
||||||
VERTICAL_WHEEL,
|
VERTICAL_WHEEL,
|
||||||
HORIZONTAL_WHEEL,
|
HORIZONTAL_WHEEL,
|
||||||
|
|
|
@ -13,12 +13,12 @@ template <typename T> class PrimaryComponent : public virtual GuiComponent
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum class PrimaryType {
|
enum class PrimaryType {
|
||||||
CAROUSEL, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
CAROUSEL,
|
||||||
TEXTLIST
|
TEXTLIST
|
||||||
};
|
};
|
||||||
|
|
||||||
enum class PrimaryAlignment {
|
enum class PrimaryAlignment {
|
||||||
ALIGN_LEFT, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
ALIGN_LEFT,
|
||||||
ALIGN_CENTER,
|
ALIGN_CENTER,
|
||||||
ALIGN_RIGHT
|
ALIGN_RIGHT
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,7 +22,7 @@ class Renderer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum class TextureType {
|
enum class TextureType {
|
||||||
RGBA, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
RGBA,
|
||||||
BGRA,
|
BGRA,
|
||||||
RED
|
RED
|
||||||
};
|
};
|
||||||
|
|
|
@ -20,7 +20,7 @@ namespace Utils
|
||||||
namespace Platform
|
namespace Platform
|
||||||
{
|
{
|
||||||
enum QuitMode {
|
enum QuitMode {
|
||||||
QUIT = 0, // Replace with AllowShortEnumsOnASingleLine: false (clang-format >=11.0).
|
QUIT = 0,
|
||||||
REBOOT = 1,
|
REBOOT = 1,
|
||||||
POWEROFF = 2
|
POWEROFF = 2
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue