Kawe Mazidjatari b3a68ed095 Add EABase, EAThread and DirtySDK to R5sdk
DirtySDK (EA's Dirty Sockets library) will be used for the LiveAPI implementation, and depends on: EABase, EAThread.
2024-04-05 18:29:03 +02:00

33 lines
707 B
C++

///////////////////////////////////////////////////////////////////////////////
// Copyright (c) Electronic Arts Inc. All rights reserved.
///////////////////////////////////////////////////////////////////////////////
#include "eathread/version.h"
namespace EA
{
namespace Thread
{
const Version gVersion =
{
EATHREAD_VERSION_MAJOR,
EATHREAD_VERSION_MINOR,
EATHREAD_VERSION_PATCH
};
const Version* GetVersion()
{
return &gVersion;
}
bool CheckVersion(int majorVersion, int minorVersion, int patchVersion)
{
return (majorVersion == EATHREAD_VERSION_MAJOR) &&
(minorVersion == EATHREAD_VERSION_MINOR) &&
(patchVersion == EATHREAD_VERSION_PATCH);
}
}
}