Add public keyword to enum Terminal type

Add public keyword to enum Terminal type, thus enables other plugins to
import GraphCut class.