Index: mentor_sch.c =================================================================== --- mentor_sch.c (revision 17436) +++ mentor_sch.c (revision 17437) @@ -96,7 +96,7 @@ } nethlp_elem_done(&ectx); -/* pcb_hid_actionl("ElementList", "Need", null_empty(sattr->refdes), null_empty(sattr->footprint), null_empty(sattr->value), NULL);*/ +/* pcb_actionl("ElementList", "Need", null_empty(sattr->refdes), null_empty(sattr->footprint), null_empty(sattr->value), NULL);*/ return 0; } @@ -177,9 +177,9 @@ return -1; } - pcb_hid_actionl("Netlist", "Freeze", NULL); - pcb_hid_actionl("Netlist", "Clear", NULL); - pcb_hid_actionl("ElementList", "start", NULL); + pcb_actionl("Netlist", "Freeze", NULL); + pcb_actionl("Netlist", "Clear", NULL); + pcb_actionl("ElementList", "start", NULL); for(library = dom->root->children; library != NULL; library = library->next) { if (strcmp(library->str, "library") == 0) { @@ -199,9 +199,9 @@ } } - pcb_hid_actionl("ElementList", "Done", NULL); - pcb_hid_actionl("Netlist", "Sort", NULL); - pcb_hid_actionl("Netlist", "Thaw", NULL); + pcb_actionl("ElementList", "Done", NULL); + pcb_actionl("Netlist", "Sort", NULL); + pcb_actionl("Netlist", "Thaw", NULL); /* for(n = library->children; n != NULL; n = n->next) { printf("n=%s\n", n->str); @@ -291,7 +291,7 @@ void pplg_uninit_import_mentor_sch(void) { - pcb_hid_remove_actions_by_cookie(mentor_sch_cookie); + pcb_remove_actions_by_cookie(mentor_sch_cookie); conf_unreg_fields("plugins/import_mentor_sch/"); } Index: netlist_helper.c =================================================================== --- netlist_helper.c (revision 17436) +++ netlist_helper.c (revision 17437) @@ -256,7 +256,7 @@ if (value == NULL) value = ""; /* create elemet */ - pcb_hid_actionl("ElementList", "Need", refdes, footprint, value, NULL); + pcb_actionl("ElementList", "Need", refdes, footprint, value, NULL); /* printf("Elem '%s' -> %s:%s:%s\n", ectx->id, refdes, footprint, value);*/ } else @@ -296,7 +296,7 @@ pcb_message(PCB_MSG_ERROR, "nethelper: can't resolve refdes of part %s\n", part); } pcb_snprintf(term, sizeof(term), "%s-%s", refdes, pin); - pcb_hid_actionl("Netlist", "Add", nctx->netname, term, NULL); + pcb_actionl("Netlist", "Add", nctx->netname, term, NULL); } void nethlp_net_destroy(nethlp_net_ctx_t *nctx)