package libsidplay.components.printer; public enum PrinterConnection { IEC, USERPORT, BOTH; public boolean hasIEC() { return this != USERPORT; } public boolean hasUserport() { return this != IEC; } }