You're breathtaking!
This commit is contained in:
22
Source/Engine/Platform/Unix/UnixPlatform.h
Normal file
22
Source/Engine/Platform/Unix/UnixPlatform.h
Normal file
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2012-2020 Wojciech Figat. All rights reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#if PLATFORM_UNIX
|
||||
|
||||
#include "Engine/Platform/Base/PlatformBase.h"
|
||||
|
||||
/// <summary>
|
||||
/// The Unix platform implementation and application management utilities.
|
||||
/// </summary>
|
||||
class FLAXENGINE_API UnixPlatform : public PlatformBase
|
||||
{
|
||||
public:
|
||||
|
||||
// [PlatformBase]
|
||||
static void* Allocate(uint64 size, uint64 alignment);
|
||||
static void Free(void* ptr);
|
||||
static uint64 GetCurrentProcessId();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user