X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fdemoscenemusic%2Fdata%2FTrackDerivative.java;h=895f8565c826b9d7259598af62b74d9bbc52466f;hb=f4edcd899cd868ea5ae57b2e0a01d896fa8a7c53;hp=1a923f531b486b974ce9dbaf12baf166c2741f9a;hpb=bf68ec3a8e29824239452d18adc311362fc49755;p=demoscenemusic.git diff --git a/src/main/java/net/pterodactylus/demoscenemusic/data/TrackDerivative.java b/src/main/java/net/pterodactylus/demoscenemusic/data/TrackDerivative.java index 1a923f5..895f856 100644 --- a/src/main/java/net/pterodactylus/demoscenemusic/data/TrackDerivative.java +++ b/src/main/java/net/pterodactylus/demoscenemusic/data/TrackDerivative.java @@ -17,50 +17,18 @@ package net.pterodactylus.demoscenemusic.data; -import net.pterodactylus.demoscenemusic.core.Core; - /** * A track derivative contains a version of a {@link Track}. Most notable * different derivatives will be an original file (like a MOD or SID file) and a * rendered audio file. + *

+ * This interface only exist to enable us to store custom + * {@link #getProperties() properties} for a track derivative. * * @author David ‘Bombe’ Roden */ public interface TrackDerivative extends Base { - /** - * Returns the version of the derivative. Currently there are five used - * versions: “data.original,” “data.original.executable,” “audio.lossy,” - * “audio.lossless,” and “data.unknown” (for unknown derivatives). - * - * @return The version of the derivative - */ - public String getVersion(); - - /** - * Sets the version of the derivative. - * - * @param version - * The version of the derivative - * @return This derivative - */ - public TrackDerivative setVersion(String version); - - /** - * Returns the path where this derivative is stored. This path is relative - * to the {@link Core#getDataDirectory()}. - * - * @return The path of this derivative - */ - public String getPath(); - - /** - * Sets the path of this derivative. - * - * @param path - * The new path of this derivative - * @return This derivative - */ - public TrackDerivative setPath(String path); + /* nothing here. */ }