Revision: 76209 http://sourceforge.net/p/brlcad/code/76209 Author: starseeker Date: 2020-06-25 22:35:48 +0000 (Thu, 25 Jun 2020) Log Message: ----------- TODO note - we can run ged commands, but this is not a good way to achive that result - need to build on the gsh approach...
Modified Paths: -------------- brlcad/branches/qtged/src/qged/cadapp.h Modified: brlcad/branches/qtged/src/qged/cadapp.h =================================================================== --- brlcad/branches/qtged/src/qged/cadapp.h 2020-06-25 21:48:24 UTC (rev 76208) +++ brlcad/branches/qtged/src/qged/cadapp.h 2020-06-25 22:35:48 UTC (rev 76209) @@ -58,6 +58,10 @@ int opendb(QString filename); void closedb(); + // TODO - need to update this to use the gsh dynamic lookup mechanism. + // Moreover, the command itself really needs to be able to tell the + // application whether it might update the database, view, etc. rather + // than hard-coding that in each GUI... int register_command(QString cmdname, ged_func_ptr func, QString role = QString()); int register_gui_command(QString cmdname, gui_cmd_ptr func, QString role = QString()); int exec_command(QString *command, QString *result); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits