gidlc working in gephex--main--0.5
Georg Seidel <[email protected]>
| Newsgroups | gmane.comp.video.gephex.devel |
|---|---|
| Message-ID | <[email protected]> |
Yesterday I merged my changes from [email protected]/gephex--georg--0.5 into [email protected]/gephex--main--0.5. I have almost completed the implementation of the interface compiler gidlc. It is integrated into gphxcore (where it creates the c++ wrappers for various interfaces) and into the numbers plugin (where it creates a lot of glue code and c++ wrappers). Since then, I did some more changes in [email protected]/gephex--georg-pluc--0.5 to make pluc work. It is now used in the numbers plugin. What's missing there is the functionality to create automake files from a project specification, to create skeleton code and to create the code that is exported from the plugin (dock, board, unboard). This should be relatively easy. All files in plugins/src/numbers except kalkulonunit.cpp/hn numberlink.cpp/h, and number_export.c/h are auto-generated. At the moment there are very many generated source files - I plan to put most of them in one big cpp file instead, to speed up compilation. The files ending with "wrapper.*" are C++ wrappers of interfaces, the files ending with "glue.*" are C glue code that wraps the C++ classes with c functions. I would be glad if you could review these changes (in [email protected]/gephex--georg-pluc--0.5). Note: at the moment attaching links to units is broken, but that should be fixed soon. Importing LinkFactories and UnitFactories works, as well as creating units and links. Regards, Georg