CVSROOT:        /cvs/directfb
Module name:    DirectFB
Changes by:     dok     20050830 17:41:37

Modified files:
        include        : directfb.h 
        src/input      : idirectfbinputbuffer.c 

Log message:
Added universal event class for custom usage with variable size.

New structure DFBUniversalEvent has a 'clazz' and a 'size' member. The clazz
is always DFEC_UNIVERSAL and the size is at least sizeof(DFBUniversalEvent).
There are no other members, but any amount of additional data may follow
according to the specified size. Best usage would be to derive from the struct.

The pipe mode currently doesn't support universal events, because the event
size (write()/read() block size) is fixed to sizeof(DFBEvent).


_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs

Reply via email to