I've started reverse engineering a little bit what we have, learning which objects, how it's done and when do they use the library / modules functionality.
http://projects.nbee.es/display/KICAD/Footprint%20libraries%20support%20in%20io_mgr%20and%20plugins I got a few preliminary conclusions: 1) The libraries are don't seem to be stored in memory at all (good for memory), they are always wrote and read from disk, but may be some set of objects that keep them indexed in ram would be nice (if that already doesn't exist) 2) I'm still not sure, but may be PLUGIN function receive some common class instead of BOARD*. MODULE/BOARD/"LIBRARY" could be derived from that class (existing or new "ITEM THAT CAN BE SAVED CLASS"). BOARD_ITEM would be ideal but LIBRARY doesn't look to me like a descendant of BOARD_ITEM or EDA_ITEM. 2012/4/11 Dick Hollenbeck <[email protected]> > > > See if this is do-able from a design standpoint. > > as a patch to pcbnew/io_mgr.h 's class PLUGIN > > > Suggest running Doxygen on it before you contribute it. > > > > _______________________________________________ > Mailing list: https://launchpad.net/~kicad-developers > Post to : [email protected] > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > -- Miguel Angel Ajo Pelayo http://www.nbee.es +34 636 52 25 69 skype: ajoajoajo
_______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

