Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can I export multiple user client objects on my kext?



Hi Mike,

That was going to be my next question, but I see that I can do everything I need with the existing UserClient class.

Thanks,
Jim

On Nov 4, 2009, at 8:36 PM, Michael Smith wrote:


On Nov 3, 2009, at 11:12 AM, Jim O'Connor wrote:

If I put an array in my info.plist for IOUserClientClass can I export multiple user client objects so that I can have different interfaces on my kext to support older or different word size interfaces in this way?

Jim,

How would you expect I/O Kit to decide which class to instantiate?

As long as you have some way of differentiating between different client types, it's not hard to use a different method table to dispatch client requests; you don't need multiple client class types for this.

 = Mike

--
True terror is to wake up one morning and discover that your high school class is running the country. -- Kurt Vonnegut








 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden

References: 
 >Can I export multiple user client objects on my kext? (From: Jim O'Connor <email@hidden>)
 >Re: Can I export multiple user client objects on my kext? (From: Michael Smith <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.