32 lines
965 B
C++
32 lines
965 B
C++
////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (c) Ubisoft Entertainment. All rights reserved.
|
|
//
|
|
// ProjectFolder: network
|
|
// BelongsToModule: gearsystemdetectionhardware
|
|
// ScanFlags: Ignore
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
#ifndef GEAR_SYSTEMDETECTIONNETWORK__INCLUDED
|
|
#define GEAR_SYSTEMDETECTIONNETWORK__INCLUDED
|
|
|
|
GEAR_BEGIN_MODULE(systemdetection, gearsystemdetectionhardware)
|
|
|
|
namespace SystemDetection
|
|
{
|
|
class GEAR_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
|
|
|
|
GEAR_END_MODULE()
|
|
|
|
#endif
|