mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-22 10:42:29 +01:00
Formatting
This commit is contained in:
parent
e17e2abd9d
commit
716397ce3a
@ -49,11 +49,11 @@ set(HEADER
|
||||
set(QML
|
||||
# cmake-format: sort
|
||||
main.qml
|
||||
qml/Community/CommunityView.qml
|
||||
qml/Community/CommunityNavItem.qml
|
||||
qml/Community/CommunityView.qml
|
||||
qml/Community/XMLNewsfeed.qml
|
||||
qml/Create/CreateView.qml
|
||||
qml/Create/CreateSidebar.qml
|
||||
qml/Create/CreateView.qml
|
||||
qml/Create/StartInfo.qml
|
||||
qml/Create/StartInfoLinkImage.qml
|
||||
qml/Create/Wizard.qml
|
||||
@ -75,28 +75,28 @@ set(QML
|
||||
qml/Create/Wizards/QMLWidget.qml
|
||||
qml/Create/Wizards/WebsiteWallpaper.qml
|
||||
qml/Create/Wizards/WizardPage.qml
|
||||
qml/Installed/InstalledView.qml
|
||||
qml/Installed/InstalledNavigation.qml
|
||||
qml/Installed/InstalledView.qml
|
||||
qml/Installed/InstalledWelcomeScreen.qml
|
||||
qml/Installed/ScreenPlayItem.qml
|
||||
qml/Installed/ScreenPlayItemImage.qml
|
||||
qml/Installed/Sidebar.qml
|
||||
qml/Monitors/DefaultVideoControls.qml
|
||||
qml/Monitors/MonitorsView.qml
|
||||
qml/Monitors/MonitorSelection.qml
|
||||
qml/Monitors/MonitorSelectionItem.qml
|
||||
qml/Monitors/MonitorsProjectSettingItem.qml
|
||||
qml/Monitors/MonitorsView.qml
|
||||
qml/Monitors/SaveNotification.qml
|
||||
qml/Navigation/ExitPopup.qml
|
||||
qml/Navigation/Navigation.qml
|
||||
qml/Settings/SettingBool.qml
|
||||
qml/Settings/SettingsView.qml
|
||||
qml/Settings/SettingsButton.qml
|
||||
qml/Settings/SettingsComboBox.qml
|
||||
qml/Settings/SettingsExpander.qml
|
||||
qml/Settings/SettingsHeader.qml
|
||||
qml/Settings/SettingsHorizontalSeperator.qml
|
||||
qml/Settings/SettingsPage.qml
|
||||
qml/Settings/SettingsView.qml
|
||||
qml/TrayIcon.qml
|
||||
qml/Workshop/WorkshopView.qml)
|
||||
|
||||
@ -280,14 +280,11 @@ target_include_directories(
|
||||
PUBLIC inc/public/
|
||||
PRIVATE src/)
|
||||
|
||||
# Note making this public is so that *_qmltyperegistrations.cpp
|
||||
# can find the needed include
|
||||
# Note making this public is so that *_qmltyperegistrations.cpp can find the needed include
|
||||
target_include_directories(ScreenPlayApp PUBLIC src/ inc/public/ScreenPlay)
|
||||
|
||||
# ScreenPlayApp is our qml module needed for compiling
|
||||
# of all classes and most importanly for QML_ELEMENT.
|
||||
# So our app is mostly a module that then link to
|
||||
# ScreenPlay executable.
|
||||
# ScreenPlayApp is our qml module needed for compiling of all classes and most importanly for QML_ELEMENT. So our app is mostly a module
|
||||
# that then link to ScreenPlay executable.
|
||||
qt_add_qml_module(
|
||||
ScreenPlayApp
|
||||
URI
|
||||
@ -410,7 +407,6 @@ if(APPLE)
|
||||
XCODE_ATTRIBUTE_ENABLE_HARDENED_RUNTIME TRUE
|
||||
XCODE_ATTRIBUTE_EXECUTABLE_NAME ${PROJECT_NAME})
|
||||
|
||||
|
||||
add_custom_command(
|
||||
TARGET ${PROJECT_NAME}
|
||||
POST_BUILD
|
||||
@ -437,8 +433,7 @@ if(APPLE)
|
||||
|
||||
endif()
|
||||
|
||||
# Must be called here, because we need to change the
|
||||
# OUTPUT_LOCATION for macos
|
||||
# Must be called here, because we need to change the OUTPUT_LOCATION for macos
|
||||
qt_add_lrelease(${PROJECT_NAME} TS_FILES ${TS_FILES})
|
||||
|
||||
# Note: We need the variables in the lib and exe!
|
||||
|
@ -25,8 +25,8 @@
|
||||
#include "ScreenPlay/globalvariables.h"
|
||||
#include "ScreenPlay/profilelistmodel.h"
|
||||
#include "ScreenPlay/settings.h"
|
||||
#include "ScreenPlayUtil/util.h"
|
||||
#include "ScreenPlayUtil/projectfile.h"
|
||||
#include "ScreenPlayUtil/util.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
#include "ScreenPlay/globalvariables.h"
|
||||
#include "ScreenPlayUtil/util.h"
|
||||
#include "ScreenPlayUtil/util.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
|
@ -104,7 +104,7 @@ ApplicationWindow {
|
||||
}
|
||||
|
||||
Component.onCompleted: {
|
||||
print("Settings.Language.Pl_PL",Settings.Language.Pl_PL)
|
||||
print("Settings.Language.Pl_PL", Settings.Language.Pl_PL);
|
||||
print(App.settings.theme, Settings.Theme.Light);
|
||||
setTheme(App.settings.theme);
|
||||
stackView.push("qrc:/qml/ScreenPlayApp/qml/Installed/InstalledView.qml", {
|
||||
|
@ -6,7 +6,6 @@ import Qt5Compat.GraphicalEffects
|
||||
import QtQuick.Controls.Material.impl
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
import ScreenPlayUtil
|
||||
|
||||
Rectangle {
|
||||
|
@ -6,7 +6,6 @@ import Qt5Compat.GraphicalEffects
|
||||
import QtQuick.Controls.Material.impl
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
import ScreenPlayUtil
|
||||
|
||||
Item {
|
||||
|
@ -6,7 +6,6 @@ import Qt5Compat.GraphicalEffects
|
||||
import QtQuick.Controls.Material.impl
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
import ScreenPlayUtil as Util
|
||||
|
||||
Item {
|
||||
|
@ -6,7 +6,6 @@ import Qt5Compat.GraphicalEffects
|
||||
import QtQuick.Controls.Material.impl
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
import ScreenPlayUtil
|
||||
|
||||
Item {
|
||||
|
@ -5,7 +5,6 @@ import QtQuick.Controls.Material
|
||||
import QtQuick.Layouts
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
import ScreenPlayUtil
|
||||
|
||||
Item {
|
||||
|
@ -5,7 +5,6 @@ import QtQuick.Controls.Material
|
||||
import QtQuick.Layouts
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
import ScreenPlayUtil as Util
|
||||
|
||||
WizardPage {
|
||||
|
@ -5,7 +5,6 @@ import QtQuick.Controls.Material
|
||||
import QtQuick.Layouts
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
import ScreenPlayUtil as Util
|
||||
|
||||
WizardPage {
|
||||
|
@ -6,7 +6,6 @@ import QtQuick.Layouts
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
|
@ -6,7 +6,6 @@ import Qt5Compat.GraphicalEffects
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
|
||||
Item {
|
||||
id: wrapperError
|
||||
|
||||
|
@ -5,7 +5,6 @@ import QtQuick.Controls.Material
|
||||
import QtQuick.Layouts
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
import ScreenPlayUtil as Util
|
||||
|
||||
Item {
|
||||
|
@ -6,7 +6,6 @@ import QtQuick.Layouts
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
|
@ -6,7 +6,6 @@ import QtQuick.Layouts
|
||||
import QtQuick.Dialogs
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
import ScreenPlayUtil as Util
|
||||
import "../../"
|
||||
|
||||
|
@ -6,7 +6,6 @@ import QtQuick.Layouts
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
|
@ -5,8 +5,6 @@ import QtQuick.Controls.Material
|
||||
import QtQuick.Layouts
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
|
||||
import ScreenPlayUtil as Util
|
||||
|
||||
Item {
|
||||
|
@ -6,7 +6,6 @@ import QtQuick.Layouts
|
||||
import QtQuick.Dialogs
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
import ScreenPlayUtil as Util
|
||||
import "../../"
|
||||
|
||||
|
@ -5,7 +5,6 @@ import QtQuick.Controls.Material
|
||||
import QtQuick.Layouts
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
import ScreenPlayUtil as Util
|
||||
|
||||
WizardPage {
|
||||
|
@ -5,7 +5,6 @@ import QtQuick.Controls.Material
|
||||
import QtQuick.Layouts
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
import ScreenPlayUtil as Util
|
||||
|
||||
WizardPage {
|
||||
|
@ -7,7 +7,6 @@ import QtQuick.Window
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
|
||||
|
||||
FocusScope {
|
||||
id: root
|
||||
|
||||
|
@ -7,7 +7,6 @@ import QtQuick.Controls.Material.impl
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
import ScreenPlayUtil
|
||||
|
||||
import "../Monitors"
|
||||
|
||||
Item {
|
||||
|
@ -4,6 +4,7 @@ import QtQuick.Controls.Material
|
||||
import ScreenPlayApp
|
||||
import ScreenPlay
|
||||
import ScreenPlayUtil
|
||||
|
||||
Item {
|
||||
id: root
|
||||
|
||||
|
@ -14,7 +14,6 @@ Item {
|
||||
|
||||
property Item modalSource
|
||||
|
||||
|
||||
Flickable {
|
||||
id: flickableWrapper
|
||||
|
||||
@ -147,19 +146,58 @@ Item {
|
||||
Component.onCompleted: comboBox.currentIndex = comboBox.indexOfValue(App.settings.language)
|
||||
model: ListModel {
|
||||
id: lmLangauge
|
||||
ListElement { value: Settings.Language.En_US; text: "English" }
|
||||
ListElement { value: Settings.Language.De_DE; text: "German" }
|
||||
ListElement { value: Settings.Language.Pl_PL; text: "Polish" }
|
||||
ListElement { value: Settings.Language.It_IT; text: "Italian" }
|
||||
ListElement { value: Settings.Language.Zh_CN; text: "Chinese - Simplified" }
|
||||
ListElement { value: Settings.Language.Ru_RU; text: "Russian" }
|
||||
ListElement { value: Settings.Language.Fr_FR; text: "French" }
|
||||
ListElement { value: Settings.Language.Es_ES; text: "Spanish" }
|
||||
ListElement { value: Settings.Language.Ko_KR; text: "Korean" }
|
||||
ListElement { value: Settings.Language.Vi_VN; text: "Vietnamese" }
|
||||
ListElement { value: Settings.Language.Pt_BR; text: "Portuguese (Brazil)" }
|
||||
ListElement { value: Settings.Language.Tr_TR; text: "Turkish" }
|
||||
ListElement { value: Settings.Language.Nl_NL; text: "Dutch" }
|
||||
ListElement {
|
||||
value: Settings.Language.En_US
|
||||
text: "English"
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Language.De_DE
|
||||
text: "German"
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Language.Pl_PL
|
||||
text: "Polish"
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Language.It_IT
|
||||
text: "Italian"
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Language.Zh_CN
|
||||
text: "Chinese - Simplified"
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Language.Ru_RU
|
||||
text: "Russian"
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Language.Fr_FR
|
||||
text: "French"
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Language.Es_ES
|
||||
text: "Spanish"
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Language.Ko_KR
|
||||
text: "Korean"
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Language.Vi_VN
|
||||
text: "Vietnamese"
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Language.Pt_BR
|
||||
text: "Portuguese (Brazil)"
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Language.Tr_TR
|
||||
text: "Turkish"
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Language.Nl_NL
|
||||
text: "Dutch"
|
||||
}
|
||||
}
|
||||
onActivated: {
|
||||
App.settings.setLanguage(settingsLanguage.comboBox.currentValue);
|
||||
@ -179,9 +217,18 @@ Item {
|
||||
comboBox {
|
||||
Component.onCompleted: comboBox.currentIndex = comboBox.indexOfValue(App.settings.theme)
|
||||
model: ListModel {
|
||||
ListElement { value: Settings.Theme.System; text: qsTr("System Default") }
|
||||
ListElement { value: Settings.Theme.Dark; text: qsTr("Dark") }
|
||||
ListElement { value: Settings.Theme.Light; text: qsTr("Light") }
|
||||
ListElement {
|
||||
value: Settings.Theme.System
|
||||
text: qsTr("System Default")
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Theme.Dark
|
||||
text: qsTr("Dark")
|
||||
}
|
||||
ListElement {
|
||||
value: Settings.Theme.Light
|
||||
text: qsTr("Light")
|
||||
}
|
||||
}
|
||||
onActivated: {
|
||||
App.settings.setTheme(settingsTheme.comboBox.currentValue);
|
||||
@ -225,16 +272,30 @@ Item {
|
||||
comboBox {
|
||||
Component.onCompleted: comboBox.currentIndex = comboBox.indexOfValue(App.settings.videoFillMode)
|
||||
model: ListModel {
|
||||
ListElement { value: Video.FillMode.Stretch; text: qsTr("Stretch") }
|
||||
ListElement { value: Video.FillMode.Fill; text: qsTr("Fill") }
|
||||
ListElement { value: Video.FillMode.Contain; text: qsTr("Contain") }
|
||||
ListElement { value: Video.FillMode.Cover; text: qsTr("Cover") }
|
||||
ListElement { value: Video.FillMode.Scale_Down; text: qsTr("Scale-Down") }
|
||||
ListElement {
|
||||
value: Video.FillMode.Stretch
|
||||
text: qsTr("Stretch")
|
||||
}
|
||||
ListElement {
|
||||
value: Video.FillMode.Fill
|
||||
text: qsTr("Fill")
|
||||
}
|
||||
ListElement {
|
||||
value: Video.FillMode.Contain
|
||||
text: qsTr("Contain")
|
||||
}
|
||||
ListElement {
|
||||
value: Video.FillMode.Cover
|
||||
text: qsTr("Cover")
|
||||
}
|
||||
ListElement {
|
||||
value: Video.FillMode.Scale_Down
|
||||
text: qsTr("Scale-Down")
|
||||
}
|
||||
}
|
||||
onActivated: {
|
||||
App.settings.setVideoFillMode(cbVideoFillMode.comboBox.currentValue)
|
||||
App.settings.setVideoFillMode(cbVideoFillMode.comboBox.currentValue);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -462,7 +523,4 @@ Item {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@ -72,6 +72,7 @@ if(${SCREENPLAY_TESTS})
|
||||
qt_add_executable(tst_ScreenPlayShader src/TestMain.cpp)
|
||||
target_link_libraries(tst_ScreenPlayShader PRIVATE Qt::Quick ${PROJECT_NAME}plugin)
|
||||
if(APPLE)
|
||||
set_target_properties(tst_ScreenPlayShader PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ScreenPlay.app/Contents/MacOS/")
|
||||
set_target_properties(tst_ScreenPlayShader PROPERTIES RUNTIME_OUTPUT_DIRECTORY
|
||||
"${CMAKE_BINARY_DIR}/bin/ScreenPlay.app/Contents/MacOS/")
|
||||
endif()
|
||||
endif()
|
||||
|
@ -42,27 +42,27 @@ set(QML
|
||||
|
||||
set(SOURCES
|
||||
# cmake-format: sort
|
||||
src/httpfileserver.cpp
|
||||
src/archive.cpp
|
||||
src/contenttypes.cpp
|
||||
src/exitcodes.cpp
|
||||
src/httpfileserver.cpp
|
||||
src/logginghandler.cpp
|
||||
src/projectfile.cpp
|
||||
src/exitcodes.cpp
|
||||
src/steamenumsgenerated.cpp
|
||||
src/util.cpp
|
||||
src/archive.cpp)
|
||||
src/util.cpp)
|
||||
|
||||
set(HEADER
|
||||
# cmake-format: sort
|
||||
inc/public/ScreenPlayUtil/archive.h
|
||||
inc/public/ScreenPlayUtil/contenttypes.h
|
||||
inc/public/ScreenPlayUtil/steamenumsgenerated.h
|
||||
inc/public/ScreenPlayUtil/exitcodes.h
|
||||
inc/public/ScreenPlayUtil/HelpersCommon.h
|
||||
inc/public/ScreenPlayUtil/httpfileserver.h
|
||||
inc/public/ScreenPlayUtil/ListPropertyHelper.h
|
||||
inc/public/ScreenPlayUtil/logginghandler.h
|
||||
inc/public/ScreenPlayUtil/projectfile.h
|
||||
inc/public/ScreenPlayUtil/PropertyHelpers.h
|
||||
inc/public/ScreenPlayUtil/ListPropertyHelper.h
|
||||
inc/public/ScreenPlayUtil/HelpersCommon.h
|
||||
inc/public/ScreenPlayUtil/archive.h
|
||||
inc/public/ScreenPlayUtil/steamenumsgenerated.h
|
||||
inc/public/ScreenPlayUtil/util.h)
|
||||
|
||||
if(APPLE)
|
||||
@ -77,8 +77,7 @@ qt_add_library(
|
||||
${PROJECT_NAME}
|
||||
STATIC
|
||||
${SOURCES}
|
||||
${HEADER}
|
||||
)
|
||||
${HEADER})
|
||||
|
||||
qt_add_qml_module(
|
||||
${PROJECT_NAME}
|
||||
@ -103,15 +102,13 @@ target_include_directories(
|
||||
PUBLIC inc/public/
|
||||
PRIVATE src/)
|
||||
|
||||
# Note making this public is so thatscreenplayutil_qmltyperegistrations.cpp
|
||||
# can find the #include <contenttypes.h> include
|
||||
# Note making this public is so thatscreenplayutil_qmltyperegistrations.cpp can find the #include <contenttypes.h> include
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC inc/public/ScreenPlayUtil)
|
||||
target_include_directories(${PROJECT_NAME}plugin PUBLIC inc/public/ScreenPlayUtil)
|
||||
|
||||
target_link_libraries(
|
||||
${PROJECT_NAME}
|
||||
PUBLIC
|
||||
Qt6::Core
|
||||
PUBLIC Qt6::Core
|
||||
Qt6::Quick
|
||||
Qt6::Gui
|
||||
fmt::fmt-header-only
|
||||
|
@ -17,15 +17,13 @@ class Steam : public QObject {
|
||||
public:
|
||||
explicit Steam();
|
||||
|
||||
enum class ESteamIPType
|
||||
{
|
||||
enum class ESteamIPType {
|
||||
K_ESteamIPTypeIPv4 = 0,
|
||||
K_ESteamIPTypeIPv6 = 1,
|
||||
};
|
||||
Q_ENUM(ESteamIPType)
|
||||
|
||||
enum class EUniverse
|
||||
{
|
||||
enum class EUniverse {
|
||||
K_EUniverseInvalid = 0,
|
||||
K_EUniversePublic = 1,
|
||||
K_EUniverseBeta = 2,
|
||||
@ -35,8 +33,7 @@ enum class EUniverse
|
||||
};
|
||||
Q_ENUM(EUniverse)
|
||||
|
||||
enum class EResult
|
||||
{
|
||||
enum class EResult {
|
||||
K_EResultNone = 0,
|
||||
K_EResultOK = 1,
|
||||
K_EResultFail = 2,
|
||||
@ -167,8 +164,7 @@ enum class EResult
|
||||
};
|
||||
Q_ENUM(EResult)
|
||||
|
||||
enum class EVoiceResult
|
||||
{
|
||||
enum class EVoiceResult {
|
||||
K_EVoiceResultOK = 0,
|
||||
K_EVoiceResultNotInitialized = 1,
|
||||
K_EVoiceResultNotRecording = 2,
|
||||
@ -182,8 +178,7 @@ enum class EVoiceResult
|
||||
};
|
||||
Q_ENUM(EVoiceResult)
|
||||
|
||||
enum class EDenyReason
|
||||
{
|
||||
enum class EDenyReason {
|
||||
K_EDenyInvalid = 0,
|
||||
K_EDenyInvalidVersion = 1,
|
||||
K_EDenyGeneric = 2,
|
||||
@ -203,8 +198,7 @@ enum class EDenyReason
|
||||
};
|
||||
Q_ENUM(EDenyReason)
|
||||
|
||||
enum class EBeginAuthSessionResult
|
||||
{
|
||||
enum class EBeginAuthSessionResult {
|
||||
K_EBeginAuthSessionResultOK = 0,
|
||||
K_EBeginAuthSessionResultInvalidTicket = 1,
|
||||
K_EBeginAuthSessionResultDuplicateRequest = 2,
|
||||
@ -214,8 +208,7 @@ enum class EBeginAuthSessionResult
|
||||
};
|
||||
Q_ENUM(EBeginAuthSessionResult)
|
||||
|
||||
enum class EAuthSessionResponse
|
||||
{
|
||||
enum class EAuthSessionResponse {
|
||||
K_EAuthSessionResponseOK = 0,
|
||||
K_EAuthSessionResponseUserNotConnectedToSteam = 1,
|
||||
K_EAuthSessionResponseNoLicenseOrExpired = 2,
|
||||
@ -230,16 +223,14 @@ enum class EAuthSessionResponse
|
||||
};
|
||||
Q_ENUM(EAuthSessionResponse)
|
||||
|
||||
enum class EUserHasLicenseForAppResult
|
||||
{
|
||||
enum class EUserHasLicenseForAppResult {
|
||||
K_EUserHasLicenseResultHasLicense = 0,
|
||||
K_EUserHasLicenseResultDoesNotHaveLicense = 1,
|
||||
K_EUserHasLicenseResultNoAuth = 2,
|
||||
};
|
||||
Q_ENUM(EUserHasLicenseForAppResult)
|
||||
|
||||
enum class EAccountType
|
||||
{
|
||||
enum class EAccountType {
|
||||
K_EAccountTypeInvalid = 0,
|
||||
K_EAccountTypeIndividual = 1,
|
||||
K_EAccountTypeMultiseat = 2,
|
||||
@ -255,8 +246,7 @@ enum class EAccountType
|
||||
};
|
||||
Q_ENUM(EAccountType)
|
||||
|
||||
enum class EChatEntryType
|
||||
{
|
||||
enum class EChatEntryType {
|
||||
K_EChatEntryTypeInvalid = 0,
|
||||
K_EChatEntryTypeChatMsg = 1,
|
||||
K_EChatEntryTypeTyping = 2,
|
||||
@ -272,8 +262,7 @@ enum class EChatEntryType
|
||||
};
|
||||
Q_ENUM(EChatEntryType)
|
||||
|
||||
enum class EChatRoomEnterResponse
|
||||
{
|
||||
enum class EChatRoomEnterResponse {
|
||||
K_EChatRoomEnterResponseSuccess = 1,
|
||||
K_EChatRoomEnterResponseDoesntExist = 2,
|
||||
K_EChatRoomEnterResponseNotAllowed = 3,
|
||||
@ -289,8 +278,7 @@ enum class EChatRoomEnterResponse
|
||||
};
|
||||
Q_ENUM(EChatRoomEnterResponse)
|
||||
|
||||
enum class EChatSteamIDInstanceFlags
|
||||
{
|
||||
enum class EChatSteamIDInstanceFlags {
|
||||
K_EChatAccountInstanceMask = 4095,
|
||||
K_EChatInstanceFlagClan = 524288,
|
||||
K_EChatInstanceFlagLobby = 262144,
|
||||
@ -298,8 +286,7 @@ enum class EChatSteamIDInstanceFlags
|
||||
};
|
||||
Q_ENUM(EChatSteamIDInstanceFlags)
|
||||
|
||||
enum class ENotificationPosition
|
||||
{
|
||||
enum class ENotificationPosition {
|
||||
K_EPositionInvalid = -1,
|
||||
K_EPositionTopLeft = 0,
|
||||
K_EPositionTopRight = 1,
|
||||
@ -308,8 +295,7 @@ enum class ENotificationPosition
|
||||
};
|
||||
Q_ENUM(ENotificationPosition)
|
||||
|
||||
enum class EBroadcastUploadResult
|
||||
{
|
||||
enum class EBroadcastUploadResult {
|
||||
K_EBroadcastUploadResultNone = 0,
|
||||
K_EBroadcastUploadResultOK = 1,
|
||||
K_EBroadcastUploadResultInitFailed = 2,
|
||||
@ -337,8 +323,7 @@ enum class EBroadcastUploadResult
|
||||
};
|
||||
Q_ENUM(EBroadcastUploadResult)
|
||||
|
||||
enum class EMarketNotAllowedReasonFlags
|
||||
{
|
||||
enum class EMarketNotAllowedReasonFlags {
|
||||
K_EMarketNotAllowedReason_None = 0,
|
||||
K_EMarketNotAllowedReason_TemporaryFailure = 1,
|
||||
K_EMarketNotAllowedReason_AccountDisabled = 2,
|
||||
@ -359,8 +344,7 @@ enum class EMarketNotAllowedReasonFlags
|
||||
};
|
||||
Q_ENUM(EMarketNotAllowedReasonFlags)
|
||||
|
||||
enum class EDurationControlProgress
|
||||
{
|
||||
enum class EDurationControlProgress {
|
||||
K_EDurationControlProgress_Full = 0,
|
||||
K_EDurationControlProgress_Half = 1,
|
||||
K_EDurationControlProgress_None = 2,
|
||||
@ -370,8 +354,7 @@ enum class EDurationControlProgress
|
||||
};
|
||||
Q_ENUM(EDurationControlProgress)
|
||||
|
||||
enum class EDurationControlNotification
|
||||
{
|
||||
enum class EDurationControlNotification {
|
||||
K_EDurationControlNotification_None = 0,
|
||||
K_EDurationControlNotification_1Hour = 1,
|
||||
K_EDurationControlNotification_3Hours = 2,
|
||||
@ -383,8 +366,7 @@ enum class EDurationControlNotification
|
||||
};
|
||||
Q_ENUM(EDurationControlNotification)
|
||||
|
||||
enum class EDurationControlOnlineState
|
||||
{
|
||||
enum class EDurationControlOnlineState {
|
||||
K_EDurationControlOnlineState_Invalid = 0,
|
||||
K_EDurationControlOnlineState_Offline = 1,
|
||||
K_EDurationControlOnlineState_Online = 2,
|
||||
@ -392,8 +374,7 @@ enum class EDurationControlOnlineState
|
||||
};
|
||||
Q_ENUM(EDurationControlOnlineState)
|
||||
|
||||
enum class EGameSearchErrorCode_t
|
||||
{
|
||||
enum class EGameSearchErrorCode_t {
|
||||
K_EGameSearchErrorCode_OK = 1,
|
||||
K_EGameSearchErrorCode_Failed_Search_Already_In_Progress = 2,
|
||||
K_EGameSearchErrorCode_Failed_No_Search_In_Progress = 3,
|
||||
@ -406,8 +387,7 @@ enum class EGameSearchErrorCode_t
|
||||
};
|
||||
Q_ENUM(EGameSearchErrorCode_t)
|
||||
|
||||
enum class EPlayerResult_t
|
||||
{
|
||||
enum class EPlayerResult_t {
|
||||
K_EPlayerResultFailedToConnect = 1,
|
||||
K_EPlayerResultAbandoned = 2,
|
||||
K_EPlayerResultKicked = 3,
|
||||
@ -416,24 +396,21 @@ enum class EPlayerResult_t
|
||||
};
|
||||
Q_ENUM(EPlayerResult_t)
|
||||
|
||||
enum class ESteamIPv6ConnectivityProtocol
|
||||
{
|
||||
enum class ESteamIPv6ConnectivityProtocol {
|
||||
K_ESteamIPv6ConnectivityProtocol_Invalid = 0,
|
||||
K_ESteamIPv6ConnectivityProtocol_HTTP = 1,
|
||||
K_ESteamIPv6ConnectivityProtocol_UDP = 2,
|
||||
};
|
||||
Q_ENUM(ESteamIPv6ConnectivityProtocol)
|
||||
|
||||
enum class ESteamIPv6ConnectivityState
|
||||
{
|
||||
enum class ESteamIPv6ConnectivityState {
|
||||
K_ESteamIPv6ConnectivityState_Unknown = 0,
|
||||
K_ESteamIPv6ConnectivityState_Good = 1,
|
||||
K_ESteamIPv6ConnectivityState_Bad = 2,
|
||||
};
|
||||
Q_ENUM(ESteamIPv6ConnectivityState)
|
||||
|
||||
enum class EFriendRelationship
|
||||
{
|
||||
enum class EFriendRelationship {
|
||||
K_EFriendRelationshipNone = 0,
|
||||
K_EFriendRelationshipBlocked = 1,
|
||||
K_EFriendRelationshipRequestRecipient = 2,
|
||||
@ -446,8 +423,7 @@ enum class EFriendRelationship
|
||||
};
|
||||
Q_ENUM(EFriendRelationship)
|
||||
|
||||
enum class EPersonaState
|
||||
{
|
||||
enum class EPersonaState {
|
||||
K_EPersonaStateOffline = 0,
|
||||
K_EPersonaStateOnline = 1,
|
||||
K_EPersonaStateBusy = 2,
|
||||
@ -460,8 +436,7 @@ enum class EPersonaState
|
||||
};
|
||||
Q_ENUM(EPersonaState)
|
||||
|
||||
enum class EFriendFlags
|
||||
{
|
||||
enum class EFriendFlags {
|
||||
K_EFriendFlagNone = 0,
|
||||
K_EFriendFlagBlocked = 1,
|
||||
K_EFriendFlagFriendshipRequested = 2,
|
||||
@ -477,8 +452,7 @@ enum class EFriendFlags
|
||||
};
|
||||
Q_ENUM(EFriendFlags)
|
||||
|
||||
enum class EUserRestriction
|
||||
{
|
||||
enum class EUserRestriction {
|
||||
K_nUserRestrictionNone = 0,
|
||||
K_nUserRestrictionUnknown = 1,
|
||||
K_nUserRestrictionAnyChat = 2,
|
||||
@ -490,23 +464,20 @@ enum class EUserRestriction
|
||||
};
|
||||
Q_ENUM(EUserRestriction)
|
||||
|
||||
enum class EOverlayToStoreFlag
|
||||
{
|
||||
enum class EOverlayToStoreFlag {
|
||||
K_EOverlayToStoreFlag_None = 0,
|
||||
K_EOverlayToStoreFlag_AddToCart = 1,
|
||||
K_EOverlayToStoreFlag_AddToCartAndShow = 2,
|
||||
};
|
||||
Q_ENUM(EOverlayToStoreFlag)
|
||||
|
||||
enum class EActivateGameOverlayToWebPageMode
|
||||
{
|
||||
enum class EActivateGameOverlayToWebPageMode {
|
||||
K_EActivateGameOverlayToWebPageMode_Default = 0,
|
||||
K_EActivateGameOverlayToWebPageMode_Modal = 1,
|
||||
};
|
||||
Q_ENUM(EActivateGameOverlayToWebPageMode)
|
||||
|
||||
enum class ECommunityProfileItemType
|
||||
{
|
||||
enum class ECommunityProfileItemType {
|
||||
K_ECommunityProfileItemType_AnimatedAvatar = 0,
|
||||
K_ECommunityProfileItemType_AvatarFrame = 1,
|
||||
K_ECommunityProfileItemType_ProfileModifier = 2,
|
||||
@ -515,8 +486,7 @@ enum class ECommunityProfileItemType
|
||||
};
|
||||
Q_ENUM(ECommunityProfileItemType)
|
||||
|
||||
enum class ECommunityProfileItemProperty
|
||||
{
|
||||
enum class ECommunityProfileItemProperty {
|
||||
K_ECommunityProfileItemProperty_ImageSmall = 0,
|
||||
K_ECommunityProfileItemProperty_ImageLarge = 1,
|
||||
K_ECommunityProfileItemProperty_InternalName = 2,
|
||||
@ -532,8 +502,7 @@ enum class ECommunityProfileItemProperty
|
||||
};
|
||||
Q_ENUM(ECommunityProfileItemProperty)
|
||||
|
||||
enum class EPersonaChange
|
||||
{
|
||||
enum class EPersonaChange {
|
||||
K_EPersonaChangeName = 1,
|
||||
K_EPersonaChangeStatus = 2,
|
||||
K_EPersonaChangeComeOnline = 4,
|
||||
@ -552,8 +521,7 @@ enum class EPersonaChange
|
||||
};
|
||||
Q_ENUM(EPersonaChange)
|
||||
|
||||
enum class ESteamAPICallFailure
|
||||
{
|
||||
enum class ESteamAPICallFailure {
|
||||
K_ESteamAPICallFailureNone = -1,
|
||||
K_ESteamAPICallFailureSteamGone = 0,
|
||||
K_ESteamAPICallFailureNetworkFailure = 1,
|
||||
@ -562,22 +530,19 @@ enum class ESteamAPICallFailure
|
||||
};
|
||||
Q_ENUM(ESteamAPICallFailure)
|
||||
|
||||
enum class EGamepadTextInputMode
|
||||
{
|
||||
enum class EGamepadTextInputMode {
|
||||
K_EGamepadTextInputModeNormal = 0,
|
||||
K_EGamepadTextInputModePassword = 1,
|
||||
};
|
||||
Q_ENUM(EGamepadTextInputMode)
|
||||
|
||||
enum class EGamepadTextInputLineMode
|
||||
{
|
||||
enum class EGamepadTextInputLineMode {
|
||||
K_EGamepadTextInputLineModeSingleLine = 0,
|
||||
K_EGamepadTextInputLineModeMultipleLines = 1,
|
||||
};
|
||||
Q_ENUM(EGamepadTextInputLineMode)
|
||||
|
||||
enum class EFloatingGamepadTextInputMode
|
||||
{
|
||||
enum class EFloatingGamepadTextInputMode {
|
||||
K_EFloatingGamepadTextInputModeModeSingleLine = 0,
|
||||
K_EFloatingGamepadTextInputModeModeMultipleLines = 1,
|
||||
K_EFloatingGamepadTextInputModeModeEmail = 2,
|
||||
@ -585,8 +550,7 @@ enum class EFloatingGamepadTextInputMode
|
||||
};
|
||||
Q_ENUM(EFloatingGamepadTextInputMode)
|
||||
|
||||
enum class ETextFilteringContext
|
||||
{
|
||||
enum class ETextFilteringContext {
|
||||
K_ETextFilteringContextUnknown = 0,
|
||||
K_ETextFilteringContextGameContent = 1,
|
||||
K_ETextFilteringContextChat = 2,
|
||||
@ -594,8 +558,7 @@ enum class ETextFilteringContext
|
||||
};
|
||||
Q_ENUM(ETextFilteringContext)
|
||||
|
||||
enum class ECheckFileSignature
|
||||
{
|
||||
enum class ECheckFileSignature {
|
||||
K_ECheckFileSignatureInvalidSignature = 0,
|
||||
K_ECheckFileSignatureValidSignature = 1,
|
||||
K_ECheckFileSignatureFileNotFound = 2,
|
||||
@ -604,16 +567,14 @@ enum class ECheckFileSignature
|
||||
};
|
||||
Q_ENUM(ECheckFileSignature)
|
||||
|
||||
enum class EMatchMakingServerResponse
|
||||
{
|
||||
enum class EMatchMakingServerResponse {
|
||||
EServerResponded = 0,
|
||||
EServerFailedToRespond = 1,
|
||||
ENoServersListedOnMasterServer = 2,
|
||||
};
|
||||
Q_ENUM(EMatchMakingServerResponse)
|
||||
|
||||
enum class ELobbyType
|
||||
{
|
||||
enum class ELobbyType {
|
||||
K_ELobbyTypePrivate = 0,
|
||||
K_ELobbyTypeFriendsOnly = 1,
|
||||
K_ELobbyTypePublic = 2,
|
||||
@ -622,8 +583,7 @@ enum class ELobbyType
|
||||
};
|
||||
Q_ENUM(ELobbyType)
|
||||
|
||||
enum class ELobbyComparison
|
||||
{
|
||||
enum class ELobbyComparison {
|
||||
K_ELobbyComparisonEqualToOrLessThan = -2,
|
||||
K_ELobbyComparisonLessThan = -1,
|
||||
K_ELobbyComparisonEqual = 0,
|
||||
@ -633,8 +593,7 @@ enum class ELobbyComparison
|
||||
};
|
||||
Q_ENUM(ELobbyComparison)
|
||||
|
||||
enum class ELobbyDistanceFilter
|
||||
{
|
||||
enum class ELobbyDistanceFilter {
|
||||
K_ELobbyDistanceFilterClose = 0,
|
||||
K_ELobbyDistanceFilterDefault = 1,
|
||||
K_ELobbyDistanceFilterFar = 2,
|
||||
@ -642,8 +601,7 @@ enum class ELobbyDistanceFilter
|
||||
};
|
||||
Q_ENUM(ELobbyDistanceFilter)
|
||||
|
||||
enum class EChatMemberStateChange
|
||||
{
|
||||
enum class EChatMemberStateChange {
|
||||
K_EChatMemberStateChangeEntered = 1,
|
||||
K_EChatMemberStateChangeLeft = 2,
|
||||
K_EChatMemberStateChangeDisconnected = 4,
|
||||
@ -652,16 +610,14 @@ enum class EChatMemberStateChange
|
||||
};
|
||||
Q_ENUM(EChatMemberStateChange)
|
||||
|
||||
enum class ESteamPartyBeaconLocationType
|
||||
{
|
||||
enum class ESteamPartyBeaconLocationType {
|
||||
K_ESteamPartyBeaconLocationType_Invalid = 0,
|
||||
K_ESteamPartyBeaconLocationType_ChatGroup = 1,
|
||||
K_ESteamPartyBeaconLocationType_Max = 2,
|
||||
};
|
||||
Q_ENUM(ESteamPartyBeaconLocationType)
|
||||
|
||||
enum class ESteamPartyBeaconLocationData
|
||||
{
|
||||
enum class ESteamPartyBeaconLocationData {
|
||||
K_ESteamPartyBeaconLocationDataInvalid = 0,
|
||||
K_ESteamPartyBeaconLocationDataName = 1,
|
||||
K_ESteamPartyBeaconLocationDataIconURLSmall = 2,
|
||||
@ -670,8 +626,7 @@ enum class ESteamPartyBeaconLocationData
|
||||
};
|
||||
Q_ENUM(ESteamPartyBeaconLocationData)
|
||||
|
||||
enum class ERemoteStoragePlatform
|
||||
{
|
||||
enum class ERemoteStoragePlatform {
|
||||
K_ERemoteStoragePlatformNone = 0,
|
||||
K_ERemoteStoragePlatformWindows = 1,
|
||||
K_ERemoteStoragePlatformOSX = 2,
|
||||
@ -684,8 +639,7 @@ enum class ERemoteStoragePlatform
|
||||
};
|
||||
Q_ENUM(ERemoteStoragePlatform)
|
||||
|
||||
enum class ERemoteStoragePublishedFileVisibility
|
||||
{
|
||||
enum class ERemoteStoragePublishedFileVisibility {
|
||||
K_ERemoteStoragePublishedFileVisibilityPublic = 0,
|
||||
K_ERemoteStoragePublishedFileVisibilityFriendsOnly = 1,
|
||||
K_ERemoteStoragePublishedFileVisibilityPrivate = 2,
|
||||
@ -693,8 +647,7 @@ enum class ERemoteStoragePublishedFileVisibility
|
||||
};
|
||||
Q_ENUM(ERemoteStoragePublishedFileVisibility)
|
||||
|
||||
enum class EWorkshopFileType
|
||||
{
|
||||
enum class EWorkshopFileType {
|
||||
K_EWorkshopFileTypeFirst = 0,
|
||||
K_EWorkshopFileTypeCommunity = 0,
|
||||
K_EWorkshopFileTypeMicrotransaction = 1,
|
||||
@ -716,8 +669,7 @@ enum class EWorkshopFileType
|
||||
};
|
||||
Q_ENUM(EWorkshopFileType)
|
||||
|
||||
enum class EWorkshopVote
|
||||
{
|
||||
enum class EWorkshopVote {
|
||||
K_EWorkshopVoteUnvoted = 0,
|
||||
K_EWorkshopVoteFor = 1,
|
||||
K_EWorkshopVoteAgainst = 2,
|
||||
@ -725,15 +677,13 @@ enum class EWorkshopVote
|
||||
};
|
||||
Q_ENUM(EWorkshopVote)
|
||||
|
||||
enum class EWorkshopFileAction
|
||||
{
|
||||
enum class EWorkshopFileAction {
|
||||
K_EWorkshopFileActionPlayed = 0,
|
||||
K_EWorkshopFileActionCompleted = 1,
|
||||
};
|
||||
Q_ENUM(EWorkshopFileAction)
|
||||
|
||||
enum class EWorkshopEnumerationType
|
||||
{
|
||||
enum class EWorkshopEnumerationType {
|
||||
K_EWorkshopEnumerationTypeRankedByVote = 0,
|
||||
K_EWorkshopEnumerationTypeRecent = 1,
|
||||
K_EWorkshopEnumerationTypeTrending = 2,
|
||||
@ -744,39 +694,34 @@ enum class EWorkshopEnumerationType
|
||||
};
|
||||
Q_ENUM(EWorkshopEnumerationType)
|
||||
|
||||
enum class EWorkshopVideoProvider
|
||||
{
|
||||
enum class EWorkshopVideoProvider {
|
||||
K_EWorkshopVideoProviderNone = 0,
|
||||
K_EWorkshopVideoProviderYoutube = 1,
|
||||
};
|
||||
Q_ENUM(EWorkshopVideoProvider)
|
||||
|
||||
enum class EUGCReadAction
|
||||
{
|
||||
enum class EUGCReadAction {
|
||||
K_EUGCRead_ContinueReadingUntilFinished = 0,
|
||||
K_EUGCRead_ContinueReading = 1,
|
||||
K_EUGCRead_Close = 2,
|
||||
};
|
||||
Q_ENUM(EUGCReadAction)
|
||||
|
||||
enum class ERemoteStorageLocalFileChange
|
||||
{
|
||||
enum class ERemoteStorageLocalFileChange {
|
||||
K_ERemoteStorageLocalFileChange_Invalid = 0,
|
||||
K_ERemoteStorageLocalFileChange_FileUpdated = 1,
|
||||
K_ERemoteStorageLocalFileChange_FileDeleted = 2,
|
||||
};
|
||||
Q_ENUM(ERemoteStorageLocalFileChange)
|
||||
|
||||
enum class ERemoteStorageFilePathType
|
||||
{
|
||||
enum class ERemoteStorageFilePathType {
|
||||
K_ERemoteStorageFilePathType_Invalid = 0,
|
||||
K_ERemoteStorageFilePathType_Absolute = 1,
|
||||
K_ERemoteStorageFilePathType_APIFilename = 2,
|
||||
};
|
||||
Q_ENUM(ERemoteStorageFilePathType)
|
||||
|
||||
enum class ELeaderboardDataRequest
|
||||
{
|
||||
enum class ELeaderboardDataRequest {
|
||||
K_ELeaderboardDataRequestGlobal = 0,
|
||||
K_ELeaderboardDataRequestGlobalAroundUser = 1,
|
||||
K_ELeaderboardDataRequestFriends = 2,
|
||||
@ -784,16 +729,14 @@ enum class ELeaderboardDataRequest
|
||||
};
|
||||
Q_ENUM(ELeaderboardDataRequest)
|
||||
|
||||
enum class ELeaderboardSortMethod
|
||||
{
|
||||
enum class ELeaderboardSortMethod {
|
||||
K_ELeaderboardSortMethodNone = 0,
|
||||
K_ELeaderboardSortMethodAscending = 1,
|
||||
K_ELeaderboardSortMethodDescending = 2,
|
||||
};
|
||||
Q_ENUM(ELeaderboardSortMethod)
|
||||
|
||||
enum class ELeaderboardDisplayType
|
||||
{
|
||||
enum class ELeaderboardDisplayType {
|
||||
K_ELeaderboardDisplayTypeNone = 0,
|
||||
K_ELeaderboardDisplayTypeNumeric = 1,
|
||||
K_ELeaderboardDisplayTypeTimeSeconds = 2,
|
||||
@ -801,16 +744,14 @@ enum class ELeaderboardDisplayType
|
||||
};
|
||||
Q_ENUM(ELeaderboardDisplayType)
|
||||
|
||||
enum class ELeaderboardUploadScoreMethod
|
||||
{
|
||||
enum class ELeaderboardUploadScoreMethod {
|
||||
K_ELeaderboardUploadScoreMethodNone = 0,
|
||||
K_ELeaderboardUploadScoreMethodKeepBest = 1,
|
||||
K_ELeaderboardUploadScoreMethodForceUpdate = 2,
|
||||
};
|
||||
Q_ENUM(ELeaderboardUploadScoreMethod)
|
||||
|
||||
enum class EP2PSessionError
|
||||
{
|
||||
enum class EP2PSessionError {
|
||||
K_EP2PSessionErrorNone = 0,
|
||||
K_EP2PSessionErrorNoRightsToApp = 2,
|
||||
K_EP2PSessionErrorTimeout = 4,
|
||||
@ -820,8 +761,7 @@ enum class EP2PSessionError
|
||||
};
|
||||
Q_ENUM(EP2PSessionError)
|
||||
|
||||
enum class EP2PSend
|
||||
{
|
||||
enum class EP2PSend {
|
||||
K_EP2PSendUnreliable = 0,
|
||||
K_EP2PSendUnreliableNoDelay = 1,
|
||||
K_EP2PSendReliable = 2,
|
||||
@ -829,8 +769,7 @@ enum class EP2PSend
|
||||
};
|
||||
Q_ENUM(EP2PSend)
|
||||
|
||||
enum class ESNetSocketState
|
||||
{
|
||||
enum class ESNetSocketState {
|
||||
K_ESNetSocketStateInvalid = 0,
|
||||
K_ESNetSocketStateConnected = 1,
|
||||
K_ESNetSocketStateInitiated = 10,
|
||||
@ -845,16 +784,14 @@ enum class ESNetSocketState
|
||||
};
|
||||
Q_ENUM(ESNetSocketState)
|
||||
|
||||
enum class ESNetSocketConnectionType
|
||||
{
|
||||
enum class ESNetSocketConnectionType {
|
||||
K_ESNetSocketConnectionTypeNotConnected = 0,
|
||||
K_ESNetSocketConnectionTypeUDP = 1,
|
||||
K_ESNetSocketConnectionTypeUDPRelay = 2,
|
||||
};
|
||||
Q_ENUM(ESNetSocketConnectionType)
|
||||
|
||||
enum class EVRScreenshotType
|
||||
{
|
||||
enum class EVRScreenshotType {
|
||||
K_EVRScreenshotType_None = 0,
|
||||
K_EVRScreenshotType_Mono = 1,
|
||||
K_EVRScreenshotType_Stereo = 2,
|
||||
@ -864,8 +801,7 @@ enum class EVRScreenshotType
|
||||
};
|
||||
Q_ENUM(EVRScreenshotType)
|
||||
|
||||
enum class AudioPlayback_Status
|
||||
{
|
||||
enum class AudioPlayback_Status {
|
||||
AudioPlayback_Undefined = 0,
|
||||
AudioPlayback_Playing = 1,
|
||||
AudioPlayback_Paused = 2,
|
||||
@ -873,8 +809,7 @@ enum class AudioPlayback_Status
|
||||
};
|
||||
Q_ENUM(AudioPlayback_Status)
|
||||
|
||||
enum class EHTTPMethod
|
||||
{
|
||||
enum class EHTTPMethod {
|
||||
K_EHTTPMethodInvalid = 0,
|
||||
K_EHTTPMethodGET = 1,
|
||||
K_EHTTPMethodHEAD = 2,
|
||||
@ -886,8 +821,7 @@ enum class EHTTPMethod
|
||||
};
|
||||
Q_ENUM(EHTTPMethod)
|
||||
|
||||
enum class EHTTPStatusCode
|
||||
{
|
||||
enum class EHTTPStatusCode {
|
||||
K_EHTTPStatusCodeInvalid = 0,
|
||||
K_EHTTPStatusCode100Continue = 100,
|
||||
K_EHTTPStatusCode101SwitchingProtocols = 101,
|
||||
@ -937,8 +871,7 @@ enum class EHTTPStatusCode
|
||||
};
|
||||
Q_ENUM(EHTTPStatusCode)
|
||||
|
||||
enum class EInputSourceMode
|
||||
{
|
||||
enum class EInputSourceMode {
|
||||
K_EInputSourceMode_None = 0,
|
||||
K_EInputSourceMode_Dpad = 1,
|
||||
K_EInputSourceMode_Buttons = 2,
|
||||
@ -959,8 +892,7 @@ enum class EInputSourceMode
|
||||
};
|
||||
Q_ENUM(EInputSourceMode)
|
||||
|
||||
enum class EInputActionOrigin
|
||||
{
|
||||
enum class EInputActionOrigin {
|
||||
K_EInputActionOrigin_None = 0,
|
||||
K_EInputActionOrigin_SteamController_A = 1,
|
||||
K_EInputActionOrigin_SteamController_B = 2,
|
||||
@ -1372,8 +1304,7 @@ enum class EInputActionOrigin
|
||||
};
|
||||
Q_ENUM(EInputActionOrigin)
|
||||
|
||||
enum class EXboxOrigin
|
||||
{
|
||||
enum class EXboxOrigin {
|
||||
K_EXboxOrigin_A = 0,
|
||||
K_EXboxOrigin_B = 1,
|
||||
K_EXboxOrigin_X = 2,
|
||||
@ -1406,31 +1337,27 @@ enum class EXboxOrigin
|
||||
};
|
||||
Q_ENUM(EXboxOrigin)
|
||||
|
||||
enum class ESteamControllerPad
|
||||
{
|
||||
enum class ESteamControllerPad {
|
||||
K_ESteamControllerPad_Left = 0,
|
||||
K_ESteamControllerPad_Right = 1,
|
||||
};
|
||||
Q_ENUM(ESteamControllerPad)
|
||||
|
||||
enum class EControllerHapticLocation
|
||||
{
|
||||
enum class EControllerHapticLocation {
|
||||
K_EControllerHapticLocation_Left = 1,
|
||||
K_EControllerHapticLocation_Right = 2,
|
||||
K_EControllerHapticLocation_Both = 3,
|
||||
};
|
||||
Q_ENUM(EControllerHapticLocation)
|
||||
|
||||
enum class EControllerHapticType
|
||||
{
|
||||
enum class EControllerHapticType {
|
||||
K_EControllerHapticType_Off = 0,
|
||||
K_EControllerHapticType_Tick = 1,
|
||||
K_EControllerHapticType_Click = 2,
|
||||
};
|
||||
Q_ENUM(EControllerHapticType)
|
||||
|
||||
enum class ESteamInputType
|
||||
{
|
||||
enum class ESteamInputType {
|
||||
K_ESteamInputType_Unknown = 0,
|
||||
K_ESteamInputType_SteamController = 1,
|
||||
K_ESteamInputType_XBox360Controller = 2,
|
||||
@ -1451,8 +1378,7 @@ enum class ESteamInputType
|
||||
};
|
||||
Q_ENUM(ESteamInputType)
|
||||
|
||||
enum class ESteamInputConfigurationEnableType
|
||||
{
|
||||
enum class ESteamInputConfigurationEnableType {
|
||||
K_ESteamInputConfigurationEnableType_None = 0,
|
||||
K_ESteamInputConfigurationEnableType_Playstation = 1,
|
||||
K_ESteamInputConfigurationEnableType_Xbox = 2,
|
||||
@ -1461,15 +1387,13 @@ enum class ESteamInputConfigurationEnableType
|
||||
};
|
||||
Q_ENUM(ESteamInputConfigurationEnableType)
|
||||
|
||||
enum class ESteamInputLEDFlag
|
||||
{
|
||||
enum class ESteamInputLEDFlag {
|
||||
K_ESteamInputLEDFlag_SetColor = 0,
|
||||
K_ESteamInputLEDFlag_RestoreUserDefault = 1,
|
||||
};
|
||||
Q_ENUM(ESteamInputLEDFlag)
|
||||
|
||||
enum class ESteamInputGlyphSize
|
||||
{
|
||||
enum class ESteamInputGlyphSize {
|
||||
K_ESteamInputGlyphSize_Small = 0,
|
||||
K_ESteamInputGlyphSize_Medium = 1,
|
||||
K_ESteamInputGlyphSize_Large = 2,
|
||||
@ -1477,8 +1401,7 @@ enum class ESteamInputGlyphSize
|
||||
};
|
||||
Q_ENUM(ESteamInputGlyphSize)
|
||||
|
||||
enum class ESteamInputGlyphStyle
|
||||
{
|
||||
enum class ESteamInputGlyphStyle {
|
||||
ESteamInputGlyphStyle_Knockout = 0,
|
||||
ESteamInputGlyphStyle_Light = 1,
|
||||
ESteamInputGlyphStyle_Dark = 2,
|
||||
@ -1487,15 +1410,13 @@ enum class ESteamInputGlyphStyle
|
||||
};
|
||||
Q_ENUM(ESteamInputGlyphStyle)
|
||||
|
||||
enum class ESteamInputActionEventType
|
||||
{
|
||||
enum class ESteamInputActionEventType {
|
||||
ESteamInputActionEventType_DigitalAction = 0,
|
||||
ESteamInputActionEventType_AnalogAction = 1,
|
||||
};
|
||||
Q_ENUM(ESteamInputActionEventType)
|
||||
|
||||
enum class EControllerActionOrigin
|
||||
{
|
||||
enum class EControllerActionOrigin {
|
||||
K_EControllerActionOrigin_None = 0,
|
||||
K_EControllerActionOrigin_A = 1,
|
||||
K_EControllerActionOrigin_B = 2,
|
||||
@ -1887,15 +1808,13 @@ enum class EControllerActionOrigin
|
||||
};
|
||||
Q_ENUM(EControllerActionOrigin)
|
||||
|
||||
enum class ESteamControllerLEDFlag
|
||||
{
|
||||
enum class ESteamControllerLEDFlag {
|
||||
K_ESteamControllerLEDFlag_SetColor = 0,
|
||||
K_ESteamControllerLEDFlag_RestoreUserDefault = 1,
|
||||
};
|
||||
Q_ENUM(ESteamControllerLEDFlag)
|
||||
|
||||
enum class EUGCMatchingUGCType
|
||||
{
|
||||
enum class EUGCMatchingUGCType {
|
||||
K_EUGCMatchingUGCType_Items = 0,
|
||||
K_EUGCMatchingUGCType_Items_Mtx = 1,
|
||||
K_EUGCMatchingUGCType_Items_ReadyToUse = 2,
|
||||
@ -1913,8 +1832,7 @@ enum class EUGCMatchingUGCType
|
||||
};
|
||||
Q_ENUM(EUGCMatchingUGCType)
|
||||
|
||||
enum class EUserUGCList
|
||||
{
|
||||
enum class EUserUGCList {
|
||||
K_EUserUGCList_Published = 0,
|
||||
K_EUserUGCList_VotedOn = 1,
|
||||
K_EUserUGCList_VotedUp = 2,
|
||||
@ -1927,8 +1845,7 @@ enum class EUserUGCList
|
||||
};
|
||||
Q_ENUM(EUserUGCList)
|
||||
|
||||
enum class EUserUGCListSortOrder
|
||||
{
|
||||
enum class EUserUGCListSortOrder {
|
||||
K_EUserUGCListSortOrder_CreationOrderDesc = 0,
|
||||
K_EUserUGCListSortOrder_CreationOrderAsc = 1,
|
||||
K_EUserUGCListSortOrder_TitleAsc = 2,
|
||||
@ -1939,8 +1856,7 @@ enum class EUserUGCListSortOrder
|
||||
};
|
||||
Q_ENUM(EUserUGCListSortOrder)
|
||||
|
||||
enum class EUGCQuery
|
||||
{
|
||||
enum class EUGCQuery {
|
||||
K_EUGCQuery_RankedByVote = 0,
|
||||
K_EUGCQuery_RankedByPublicationDate = 1,
|
||||
K_EUGCQuery_AcceptedForGameRankedByAcceptanceDate = 2,
|
||||
@ -1964,8 +1880,7 @@ enum class EUGCQuery
|
||||
};
|
||||
Q_ENUM(EUGCQuery)
|
||||
|
||||
enum class EItemUpdateStatus
|
||||
{
|
||||
enum class EItemUpdateStatus {
|
||||
K_EItemUpdateStatusInvalid = 0,
|
||||
K_EItemUpdateStatusPreparingConfig = 1,
|
||||
K_EItemUpdateStatusPreparingContent = 2,
|
||||
@ -1975,8 +1890,7 @@ enum class EItemUpdateStatus
|
||||
};
|
||||
Q_ENUM(EItemUpdateStatus)
|
||||
|
||||
enum class EItemState
|
||||
{
|
||||
enum class EItemState {
|
||||
K_EItemStateNone = 0,
|
||||
K_EItemStateSubscribed = 1,
|
||||
K_EItemStateLegacyItem = 2,
|
||||
@ -1987,8 +1901,7 @@ enum class EItemState
|
||||
};
|
||||
Q_ENUM(EItemState)
|
||||
|
||||
enum class EItemStatistic
|
||||
{
|
||||
enum class EItemStatistic {
|
||||
K_EItemStatistic_NumSubscriptions = 0,
|
||||
K_EItemStatistic_NumFavorites = 1,
|
||||
K_EItemStatistic_NumFollowers = 2,
|
||||
@ -2005,8 +1918,7 @@ enum class EItemStatistic
|
||||
};
|
||||
Q_ENUM(EItemStatistic)
|
||||
|
||||
enum class EItemPreviewType
|
||||
{
|
||||
enum class EItemPreviewType {
|
||||
K_EItemPreviewType_Image = 0,
|
||||
K_EItemPreviewType_YouTubeVideo = 1,
|
||||
K_EItemPreviewType_Sketchfab = 2,
|
||||
@ -2016,8 +1928,7 @@ enum class EItemPreviewType
|
||||
};
|
||||
Q_ENUM(EItemPreviewType)
|
||||
|
||||
enum class EUGCContentDescriptorID
|
||||
{
|
||||
enum class EUGCContentDescriptorID {
|
||||
K_EUGCContentDescriptor_NudityOrSexualContent = 1,
|
||||
K_EUGCContentDescriptor_FrequentViolenceOrGore = 2,
|
||||
K_EUGCContentDescriptor_AdultOnlySexualContent = 3,
|
||||
@ -2026,16 +1937,14 @@ enum class EUGCContentDescriptorID
|
||||
};
|
||||
Q_ENUM(EUGCContentDescriptorID)
|
||||
|
||||
enum class ESteamItemFlags
|
||||
{
|
||||
enum class ESteamItemFlags {
|
||||
K_ESteamItemNoTrade = 1,
|
||||
K_ESteamItemRemoved = 256,
|
||||
K_ESteamItemConsumed = 512,
|
||||
};
|
||||
Q_ENUM(ESteamItemFlags)
|
||||
|
||||
enum class EParentalFeature
|
||||
{
|
||||
enum class EParentalFeature {
|
||||
K_EFeatureInvalid = 0,
|
||||
K_EFeatureStore = 1,
|
||||
K_EFeatureCommunity = 2,
|
||||
@ -2055,8 +1964,7 @@ enum class EParentalFeature
|
||||
};
|
||||
Q_ENUM(EParentalFeature)
|
||||
|
||||
enum class ESteamDeviceFormFactor
|
||||
{
|
||||
enum class ESteamDeviceFormFactor {
|
||||
K_ESteamDeviceFormFactorUnknown = 0,
|
||||
K_ESteamDeviceFormFactorPhone = 1,
|
||||
K_ESteamDeviceFormFactorTablet = 2,
|
||||
@ -2065,8 +1973,7 @@ enum class ESteamDeviceFormFactor
|
||||
};
|
||||
Q_ENUM(ESteamDeviceFormFactor)
|
||||
|
||||
enum class ESteamNetworkingAvailability
|
||||
{
|
||||
enum class ESteamNetworkingAvailability {
|
||||
K_ESteamNetworkingAvailability_CannotTry = -102,
|
||||
K_ESteamNetworkingAvailability_Failed = -101,
|
||||
K_ESteamNetworkingAvailability_Previously = -100,
|
||||
@ -2080,8 +1987,7 @@ enum class ESteamNetworkingAvailability
|
||||
};
|
||||
Q_ENUM(ESteamNetworkingAvailability)
|
||||
|
||||
enum class ESteamNetworkingIdentityType
|
||||
{
|
||||
enum class ESteamNetworkingIdentityType {
|
||||
K_ESteamNetworkingIdentityType_Invalid = 0,
|
||||
K_ESteamNetworkingIdentityType_SteamID = 16,
|
||||
K_ESteamNetworkingIdentityType_XboxPairwiseID = 17,
|
||||
@ -2095,8 +2001,7 @@ enum class ESteamNetworkingIdentityType
|
||||
};
|
||||
Q_ENUM(ESteamNetworkingIdentityType)
|
||||
|
||||
enum class ESteamNetworkingFakeIPType
|
||||
{
|
||||
enum class ESteamNetworkingFakeIPType {
|
||||
K_ESteamNetworkingFakeIPType_Invalid = 0,
|
||||
K_ESteamNetworkingFakeIPType_NotFake = 1,
|
||||
K_ESteamNetworkingFakeIPType_GlobalIPv4 = 2,
|
||||
@ -2105,8 +2010,7 @@ enum class ESteamNetworkingFakeIPType
|
||||
};
|
||||
Q_ENUM(ESteamNetworkingFakeIPType)
|
||||
|
||||
enum class ESteamNetworkingConnectionState
|
||||
{
|
||||
enum class ESteamNetworkingConnectionState {
|
||||
K_ESteamNetworkingConnectionState_None = 0,
|
||||
K_ESteamNetworkingConnectionState_Connecting = 1,
|
||||
K_ESteamNetworkingConnectionState_FindingRoute = 2,
|
||||
@ -2120,8 +2024,7 @@ enum class ESteamNetworkingConnectionState
|
||||
};
|
||||
Q_ENUM(ESteamNetworkingConnectionState)
|
||||
|
||||
enum class ESteamNetConnectionEnd
|
||||
{
|
||||
enum class ESteamNetConnectionEnd {
|
||||
K_ESteamNetConnectionEnd_Invalid = 0,
|
||||
K_ESteamNetConnectionEnd_App_Min = 1000,
|
||||
K_ESteamNetConnectionEnd_App_Generic = 1000,
|
||||
@ -2158,8 +2061,7 @@ enum class ESteamNetConnectionEnd
|
||||
};
|
||||
Q_ENUM(ESteamNetConnectionEnd)
|
||||
|
||||
enum class ESteamNetworkingConfigScope
|
||||
{
|
||||
enum class ESteamNetworkingConfigScope {
|
||||
K_ESteamNetworkingConfig_Global = 1,
|
||||
K_ESteamNetworkingConfig_SocketsInterface = 2,
|
||||
K_ESteamNetworkingConfig_ListenSocket = 3,
|
||||
@ -2168,8 +2070,7 @@ enum class ESteamNetworkingConfigScope
|
||||
};
|
||||
Q_ENUM(ESteamNetworkingConfigScope)
|
||||
|
||||
enum class ESteamNetworkingConfigDataType
|
||||
{
|
||||
enum class ESteamNetworkingConfigDataType {
|
||||
K_ESteamNetworkingConfig_Int32 = 1,
|
||||
K_ESteamNetworkingConfig_Int64 = 2,
|
||||
K_ESteamNetworkingConfig_Float = 3,
|
||||
@ -2179,8 +2080,7 @@ enum class ESteamNetworkingConfigDataType
|
||||
};
|
||||
Q_ENUM(ESteamNetworkingConfigDataType)
|
||||
|
||||
enum class ESteamNetworkingConfigValue
|
||||
{
|
||||
enum class ESteamNetworkingConfigValue {
|
||||
K_ESteamNetworkingConfig_Invalid = 0,
|
||||
K_ESteamNetworkingConfig_TimeoutInitial = 24,
|
||||
K_ESteamNetworkingConfig_TimeoutConnected = 25,
|
||||
@ -2246,8 +2146,7 @@ enum class ESteamNetworkingConfigValue
|
||||
};
|
||||
Q_ENUM(ESteamNetworkingConfigValue)
|
||||
|
||||
enum class ESteamNetworkingGetConfigValueResult
|
||||
{
|
||||
enum class ESteamNetworkingGetConfigValueResult {
|
||||
K_ESteamNetworkingGetConfigValue_BadValue = -1,
|
||||
K_ESteamNetworkingGetConfigValue_BadScopeObj = -2,
|
||||
K_ESteamNetworkingGetConfigValue_BufferTooSmall = -3,
|
||||
@ -2257,8 +2156,7 @@ enum class ESteamNetworkingGetConfigValueResult
|
||||
};
|
||||
Q_ENUM(ESteamNetworkingGetConfigValueResult)
|
||||
|
||||
enum class ESteamNetworkingSocketsDebugOutputType
|
||||
{
|
||||
enum class ESteamNetworkingSocketsDebugOutputType {
|
||||
K_ESteamNetworkingSocketsDebugOutputType_None = 0,
|
||||
K_ESteamNetworkingSocketsDebugOutputType_Bug = 1,
|
||||
K_ESteamNetworkingSocketsDebugOutputType_Error = 2,
|
||||
@ -2272,16 +2170,12 @@ enum class ESteamNetworkingSocketsDebugOutputType
|
||||
};
|
||||
Q_ENUM(ESteamNetworkingSocketsDebugOutputType)
|
||||
|
||||
enum class EServerMode
|
||||
{
|
||||
enum class EServerMode {
|
||||
EServerModeInvalid = 0,
|
||||
EServerModeNoAuthentication = 1,
|
||||
EServerModeAuthentication = 2,
|
||||
EServerModeAuthenticationAndSecure = 3,
|
||||
};
|
||||
Q_ENUM(EServerMode)
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
@ -5,4 +5,3 @@ Steam::Steam()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@ Rectangle {
|
||||
|
||||
// macOS only supports h264 via the native Qt MM
|
||||
if (Qt.platform.os === "osx") {
|
||||
print(ContentTypes.InstalledType.VideoWallpaper )
|
||||
print(ContentTypes.InstalledType.VideoWallpaper);
|
||||
if ((Wallpaper.videoCodec === Video.VideoCodec.VP8 || Wallpaper.videoCodec === Video.VideoCodec.VP9)) {
|
||||
loader.source = "qrc:/qml/ScreenPlayWallpaper/qml/MultimediaWebView.qml";
|
||||
} else {
|
||||
|
@ -269,6 +269,7 @@ if(${SCREENPLAY_TESTS})
|
||||
target_link_libraries(tst_ScreenPlayWeather PRIVATE Qt6::Quick ${PROJECT_NAME}plugin)
|
||||
|
||||
if(APPLE)
|
||||
set_target_properties(tst_ScreenPlayWeather PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ScreenPlay.app/Contents/MacOS/")
|
||||
set_target_properties(tst_ScreenPlayWeather PROPERTIES RUNTIME_OUTPUT_DIRECTORY
|
||||
"${CMAKE_BINARY_DIR}/bin/ScreenPlay.app/Contents/MacOS/")
|
||||
endif()
|
||||
endif()
|
||||
|
@ -2,7 +2,6 @@ import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtWebEngine
|
||||
import ScreenPlayWidget
|
||||
|
||||
import ScreenPlayUtil as Util
|
||||
|
||||
Item {
|
||||
|
@ -140,7 +140,8 @@ if(${SCREENPLAY_STEAM})
|
||||
SteamSDK)
|
||||
|
||||
if(APPLE)
|
||||
set_target_properties(tst_ScreenPlayWorkshop PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/ScreenPlay.app/Contents/MacOS/")
|
||||
set_target_properties(tst_ScreenPlayWorkshop PROPERTIES RUNTIME_OUTPUT_DIRECTORY
|
||||
"${CMAKE_BINARY_DIR}/bin/ScreenPlay.app/Contents/MacOS/")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
@ -11,10 +11,10 @@
|
||||
|
||||
#include "workshopitem.h"
|
||||
// Steam
|
||||
#include "ScreenPlayUtil/steamenumsgenerated.h"
|
||||
#include "cstring"
|
||||
#include "stdlib.h"
|
||||
#include "steam/steam_api.h"
|
||||
#include "ScreenPlayUtil/steamenumsgenerated.h"
|
||||
|
||||
/*!
|
||||
\class Steam Workshop List Model
|
||||
|
Loading…
Reference in New Issue
Block a user