Implement a new RevertPCB() call, sharing code with LoadPCB()
commit23fdbee2cd45accc1f11856e47508cc49251687e
authorPeter Clifton <pcjc2@cam.ac.uk>
Mon, 5 Sep 2011 21:55:37 +0000 (5 22:55 +0100)
committerPeter Clifton <pcjc2@cam.ac.uk>
Tue, 6 Sep 2011 00:21:28 +0000 (6 01:21 +0100)
treee14e78ced91968ceb0ce9ccc3e3485d97aff1f89
parent84ae26807325c8d2d95cd3ec3c2a6e61c217626e
Implement a new RevertPCB() call, sharing code with LoadPCB()

The RevertPCB() takes no filename parameter, and aside from that,
the only difference to LoadPCB is that when it calls the GUI's
"PCBChanged" action, it passes a new "revert" argument. This should
let the GUIs optionally do less work resetting the view state for a
board being reverted.
src/action.c
src/file.c
src/file.h
src/hid/common/actions.c