JD2022-TU1/main/extern/gear4/gear_detection/detection/network.h

37 lines
1,005 B
C++

////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) Ubisoft Entertainment. All rights reserved.
//
////////////////////////////////////////////////////////////////////////////////
#pragma once
#ifndef GEAR_SYSTEMDETECTIONNETWORK__INCLUDED
#define GEAR_SYSTEMDETECTIONNETWORK__INCLUDED
#include <gear_detection/detectionconfig.h>
namespace G4 {
namespace SystemDetection
{
/*! \addtogroup detection detection
@{
\addtogroup network Network
@{
*/
class G4_DETECTION_DLL_ENTRY Network
{
public:
/// Flag that indicates if at least one network adapter is present and connected
bool available;
/// In case an adapter is available and connected, an int containing the nominal bandwidth (in bps) of that adapter.
unsigned int adapterBandwidth;
};
/*! @} */
/*! @} */
}//namespace SystemDetection
} // namespace G4
#endif