mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
DirtySDK (EA's Dirty Sockets library) will be used for the LiveAPI implementation, and depends on: EABase, EAThread.
33 lines
707 B
C++
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);
|
|
}
|
|
}
|
|
}
|
|
|
|
|