/*====================================================================*\ FILE : UtilGroups.c PURPOSE : HISTORY.. DATE BUILD AUTHOR MODIFICATIONS 07 Nov 96 H-01-16 Igor $$1 Created 25 Nov 96 H-01-18 Igor $$2 Fix bug 17-Dec-96 H-01-21 Igor $$3 added possibility to quit from a group 15-Aug-97 H-03-22 Pavel $$4 Replace pro/D on Pro/E 21-Jan-97 H-03-37 aab $$5 Added type casting 07-Oct-98 I-01-23 AKH $$6 Replace pd_proto.h by pd_prototype.h \*====================================================================*/ /*--------------------------------------------------------------------*\ Pro/Toolkit includes -- include this first \*--------------------------------------------------------------------*/ #include "ProToolkit.h" #include "TestError.h" #include "ProMenu.h" #include "ProElemId.h" /*--------------------------------------------------------------------*\ Pro/Develop includes \*--------------------------------------------------------------------*/ #include "prodev_menu.h" /*--------------------------------------------------------------------*\ Application includes \*--------------------------------------------------------------------*/ #include "pd_prototype.h" #include "TestElem.h" #include "UtilGroups.h" /*====================================================================*\ FUNCTION : ProUtilIdToStr PURPOSE : Given the ProElemId, return the corresponding string \*====================================================================*/ ProError ProUtilIdToStr(ProElemId elem_id, char *string_id) { int table_size = sizeof(id_string_table2)/sizeof(ProTestIdToString); int i; ProBool exists = PRO_B_FALSE; strcpy(string_id, "not exist"); for (i=0; i