Re: __CGEvent structure
Re: __CGEvent structure
- Subject: Re: __CGEvent structure
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 26 Jun 2008 15:40:24 +0200
Le 26 juin 08 à 14:53, Stefan Hafeneger a écrit :
Hi,
I would like to know how the __CGEvent (CGEventRef) struct is
defined, so if there is any possibility to attach some more data to
an low level event than through the functions defined CGEvent.h. Any
ideas?
With best wishes,
Stefan_______________________________________________
An opaque struct mean… it is opaque. Struct layout is private, can
change at any time and relying of such implementation details can
result in executables that are binary incompatible with some OS
versions. That's to prevent such compatibility issues that struct are
opaque (and that ivar are all privates in classes).
If there is not accessor to add additional data, so there is no way to
attach something to a CGEvent.
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden