001package jmri.jmrix.loconet.Intellibox;
002
003/**
004 * Returns a list of valid Intellibox Connection Types
005 *
006 * @author Bob Jacobsen Copyright (C) 2010
007 * @author Kevin Dickerson Copyright (C) 2010
008 */
009public class IbxConnectionTypeList implements jmri.jmrix.ConnectionTypeList {
010
011    @Override
012    public String[] getAvailableProtocolClasses() {
013        String[] masterList = new jmri.jmrix.loconet.LnConnectionTypeList().getAvailableProtocolClasses();
014
015        String[] tempList = new String[masterList.length + 1];
016        tempList[0] = "jmri.jmrix.loconet.Intellibox.ConnectionConfig";
017        int x = 1;
018        for (int i = 0; i < masterList.length; i++) {
019            tempList[x] = masterList[i];
020            x++;
021        }
022        return tempList;
023    }
024
025    @Override
026    public String[] getManufacturers() {
027        // does not appear to be used, so return class name as placeholder
028        return new String[]{IbxConnectionTypeList.class.getCanonicalName()};
029    }
030
031}