[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.0.0" ) ]
public SystemInfo.template_for_chassis (ChassisKind chassis) throws Error
Creates a new SystemInfo that can be used as a mock system for the given chassis type, reading (mostly) no information from the current system.
This function will try to generate a device most representative of the given chassis class. This can be useful when testing compatibility for other devices on a different device that is not of the same chassis type as the one to be tested.
| chassis |
the ChassisKind to generate a template for |
|
an SystemInfo template |