001package org.intellimate.izou.sdk.frameworks.permanentSoundOutput.resource;
002
003import org.intellimate.izou.identification.Identification;
004import org.intellimate.izou.sdk.resource.Resource;
005
006/**
007 * every outputPlugin which is permanently using the sound output provides his identification here
008 * @author LeanderK
009 * @version 1.0
010 */
011public class UsingSoundResource extends Resource<Identification> {
012    @SuppressWarnings("SpellCheckingInspection")
013    public static final String ID = "izou.sound.resources.usingsound";
014    /**
015     * creates a new Resource.
016     * This method is thread-safe.
017     *
018     * @param consumer   the Provider of the Resource
019     */
020    public UsingSoundResource(Identification consumer) {
021        super(ID, null, null, consumer);
022    }
023
024    /**
025     * creates a new Resource.
026     * This method is thread-safe.
027     *
028     * @param provider       the Provider of the Resource
029     * @param consumer       the ID of the Consumer
030     */
031    public UsingSoundResource(Identification provider, Identification consumer) {
032        super(ID, provider, provider, consumer);
033    }
034}