SyncTk/classes/enums.py

34 lines
685 B
Python
Raw Normal View History

2023-01-26 14:29:30 +02:00
from enum import Enum
class SavesPreference(Enum):
LATEST_UPLOAD = "latest upload"
LATEST_PROGRESS = "latest progress"
class SavesPreferenceButton(Enum):
LATEST_UPLOAD = "Latest upload "
LATEST_PROGRESS = "Latest progress "
class Theme(Enum):
AUTO = "auto"
LIGHT = "light"
DARK = "dark"
class ThemeButton(Enum):
AUTO = "Auto "
LIGHT = "Light "
DARK = "Dark "
class ConnectionState(Enum):
OK = "ok"
BAD = "bad"
2023-01-26 17:27:32 +02:00
UNAUTHORIZED = "unauthorized"
class SaveType(Enum):
LOCAL = "local"
REMOTE = "remote"
BOTH = "both"
class SaveState(Enum):
OUTDATED = "outdated"
RECENT = "recent"
CURRENT = "current"