Configurable.java 632 Bytes
/*
 * This file is part of LiteLoader.
 * Copyright (C) 2012-16 Adam Mummery-Smith
 * All Rights Reserved.
 */
package com.mumfrey.liteloader;

import com.mumfrey.liteloader.modconfig.ConfigPanel;

/**
 * Interface for mods which want to provide a configuration panel inside the
 * "mod info" screen.
 *
 * @author Adam Mummery-Smith
 */
public interface Configurable
{
    /**
     * Get the class of the configuration panel to use, the returned class must
     * have a default (no-arg) constructor
     * 
     * @return configuration panel class
     */
    public abstract Class<? extends ConfigPanel> getConfigPanelClass();
}