package com.gmail.nossr50.util.compat.layers;

import com.gmail.nossr50.util.compat.CompatibilityLayer;

/**
 *
 * These classes are a band-aid solution for adding NMS support into 2.1.XXX
 * In 2.2 we are switching to modules and that will clean things up significantly
 *
 */
public abstract class AbstractCompatibilityLayer implements CompatibilityLayer {

    protected boolean noErrorsOnInitialize = true;

    /**
     * Initialize the CompatibilityLayer
     * @return true if the CompatibilityLayer initialized and should be functional
     */
    public abstract boolean initializeLayer();

    @Override
    public boolean noErrorsOnInitialize() {
        return noErrorsOnInitialize;
    }
}
