Re: How to determine host is a laptop?
Re: How to determine host is a laptop?
- Subject: Re: How to determine host is a laptop?
- From: fletcher sandbeck <email@hidden>
- Date: Sun, 9 Oct 2005 08:31:31 -0700
On 10/9/05 at 8:04 AM by email@hidden (Shaun Wexler):
>What is the Apple-approved method for determining the portability of
>the local host hardware? I need to enforce certain behavior if the
>host is a laptop, and other behavior if the host is a tower/desktop.
>My first thoughts were to parse 'compatible' for "PowerMac" and
>"PowerBook", but I want to remain forward-compatible. Is this the
>correct approach?
Checking the Energy Saver settings for a battery option might work.
[fletcher]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden