Add Mac platform
This commit is contained in:
31
Source/Engine/Platform/Mac/MacPlatformSettings.h
Normal file
31
Source/Engine/Platform/Mac/MacPlatformSettings.h
Normal file
@@ -0,0 +1,31 @@
|
||||
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#if PLATFORM_MAC || USE_EDITOR
|
||||
|
||||
#include "Engine/Core/Config/PlatformSettingsBase.h"
|
||||
|
||||
/// <summary>
|
||||
/// Mac platform settings.
|
||||
/// </summary>
|
||||
API_CLASS(sealed, Namespace="FlaxEditor.Content.Settings") class FLAXENGINE_API MacPlatformSettings : public SettingsBase
|
||||
{
|
||||
DECLARE_SCRIPTING_TYPE_MINIMAL(MacPlatformSettings);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the instance of the settings asset (default value if missing). Object returned by this method is always loaded with valid data to use.
|
||||
/// </summary>
|
||||
static MacPlatformSettings* Get();
|
||||
|
||||
// [SettingsBase]
|
||||
void Deserialize(DeserializeStream& stream, ISerializeModifier* modifier) final override
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
#if PLATFORM_MAC
|
||||
typedef MacPlatformSettings PlatformSettings;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user