Hi, On Thu, Jul 30, 2009 at 12:46 AM, Gustavo Sverzut Barbieri<[email protected]> wrote: > = Solution = > I would like to avoid breaking current code, so changing things > drastically is a no go. I could also propose a new system with signal > inheritance and index access to speed up dispatching and all, but I > guess the best is to build on top of existing stuff as it's "fine" for > our use cases. > > The proposal is to add an array/list of signals-types to > Evas_Smart_Class. This array would be defined when class is created > and should not be changed afterwards. Types would be DBus-like type > strings > (http://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-signatures), > for example "iis" is accessed as a struct with two leading integers32 > followed by a string.
Hum, why not EET_DATA for that ? We have EET_DATA_DESCRIPTOR for the description. We should be able to generate from/to object script too. > USERS: We could write a script to extract such information from C > files and generate documentation. I was thinking about this using EET_DATA_DESCRIPTOR, we should be able to generate doc. Or we could do the other way around with a simplified syntax, we could generate C file that provide EET_DATA_DESCRIPTOR alongside with documentation (based on the same idea as bison, flex or gperf). This way it would be easier to use EET_DATA for more thing like network traffic (it's way faster to process eet_data than xml), IPC. What do you think about this addition to your proposal ? Note, that I like the idea you are proposing for some kind of object inheritance with evas_smart, this would bring some usefull capability to the EFL. And I would just use the ->parent mecanism for almost every thing including signal inheritence. -- Cedric BAIL ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
