17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFString.h"
OF_ASSUME_NONNULL_BEGIN
@class OFDictionary OF_GENERIC(KeyType, ObjectType);
@class OFIRI;
#if defined(OF_HAVE_SOCKETS) && defined(OF_HAVE_GETIFADDRS)
/**
* @brief A key in the per-interface dictionary returned by
* @ref networkInterfaces.
*
* Possible keys are:
*
* * @ref OFNetworkInterfaceAddresses
|
|
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#import "OFString.h"
OF_ASSUME_NONNULL_BEGIN
@class OFDictionary OF_GENERIC(KeyType, ObjectType);
@class OFIRI;
#ifdef OF_SYSTEM_INFO_HAS_NETWORK_INTERFACES
/**
* @brief A key in the per-interface dictionary returned by
* @ref networkInterfaces.
*
* Possible keys are:
*
* * @ref OFNetworkInterfaceAddresses
|
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
# endif
# if defined(OF_POWERPC) || defined(OF_POWERPC64) || defined(DOXYGEN)
@property (class, readonly, nonatomic) bool supportsAltiVec;
# endif
# ifdef OF_WINDOWS
@property (class, readonly, nonatomic, getter=isWindowsNT) bool windowsNT;
# endif
# if defined(OF_HAVE_SOCKETS) && defined(OF_HAVE_GETIFADDRS)
@property (class, readonly, nonatomic) OFDictionary OF_GENERIC(OFString *,
OFDictionary OF_GENERIC(OFNetworkInterfaceInfoKey, id) *)
*networkInterfaces;
# endif
#endif
/**
|
|
|
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
# endif
# if defined(OF_POWERPC) || defined(OF_POWERPC64) || defined(DOXYGEN)
@property (class, readonly, nonatomic) bool supportsAltiVec;
# endif
# ifdef OF_WINDOWS
@property (class, readonly, nonatomic, getter=isWindowsNT) bool windowsNT;
# endif
# ifdef OF_SYSTEM_INFO_HAS_NETWORK_INTERFACES
@property (class, readonly, nonatomic) OFDictionary OF_GENERIC(OFString *,
OFDictionary OF_GENERIC(OFNetworkInterfaceInfoKey, id) *)
*networkInterfaces;
# endif
#endif
/**
|
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
|
* @note This method is only available on Windows.
*
* @return Whether the application is running on Windows NT
*/
+ (bool)isWindowsNT;
#endif
#if defined(OF_HAVE_SOCKETS) && defined(OF_HAVE_GETIFADDRS)
/**
* @brief Returns the available (though not necessarily configured) network
* interfaces and information about them.
*
* @return The available network interfaces and information about them
*/
+ (OFDictionary OF_GENERIC(OFString *, OFDictionary
|
|
|
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
|
* @note This method is only available on Windows.
*
* @return Whether the application is running on Windows NT
*/
+ (bool)isWindowsNT;
#endif
#ifdef OF_SYSTEM_INFO_HAS_NETWORK_INTERFACES
/**
* @brief Returns the available (though not necessarily configured) network
* interfaces and information about them.
*
* @return The available network interfaces and information about them
*/
+ (OFDictionary OF_GENERIC(OFString *, OFDictionary
|