Differences From Artifact [d7ddb6bfe4]:
- File
src/OFSystemInfo.h
— part of check-in
[b7a4e61b88]
at
2023-04-22 20:22:08
on branch trunk
— Rename x86_64 to AMD64
It's just a less awkward name and also what the BSDs use. (user: js, size: 11095) [annotate] [blame] [check-ins using]
To Artifact [c58919a56b]:
- File
src/OFSystemInfo.h
— part of check-in
[43c80a7593]
at
2023-05-21 17:47:10
on branch trunk
— Change how +[OFSystemInfo networkInterfaces] works
This removes functionality which will be restored later. (user: js, size: 10224) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
17 18 19 20 21 22 23 | #import "OFString.h" OF_ASSUME_NONNULL_BEGIN @class OFDictionary OF_GENERIC(KeyType, ObjectType); @class OFIRI; | < < < < < < < < < < < < < < < < < < < < < < < < < < < | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #import "OFString.h" OF_ASSUME_NONNULL_BEGIN @class OFDictionary OF_GENERIC(KeyType, ObjectType); @class OFIRI; /** * @class OFSystemInfo OFSystemInfo.h ObjFW/OFSystemInfo.h * * @brief A class for querying information about the system. */ OF_SUBCLASSING_RESTRICTED @interface OFSystemInfo: OFObject |
︙ | ︙ | |||
86 87 88 89 90 91 92 | # 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 | | | < | | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | # 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_HAVE_SOCKETS @property (class, readonly, nullable, nonatomic) OFArray OF_GENERIC(OFString *) *networkInterfaces; # endif #endif /** * @brief Returns the size of a page. * * @return The size of a page |
︙ | ︙ | |||
367 368 369 370 371 372 373 | * @note This method is only available on Windows. * * @return Whether the application is running on Windows NT */ + (bool)isWindowsNT; #endif | | | | | < | 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 | * @note This method is only available on Windows. * * @return Whether the application is running on Windows NT */ + (bool)isWindowsNT; #endif #ifdef OF_HAVE_SOCKETS /** * @brief Returns the available (though not necessarily configured) network * interfaces. * * @return The available network interfaces */ + (nullable OFArray OF_GENERIC(OFString *) *)networkInterfaces; #endif + (instancetype)alloc OF_UNAVAILABLE; - (instancetype)init OF_UNAVAILABLE; @end OF_ASSUME_NONNULL_END |