X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2Fevent%2FImageInsertAbortedEvent.java;fp=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fcore%2Fevent%2FImageInsertAbortedEvent.java;h=2431cf65895ba54b35abee2a24a5a8c6e0e04488;hp=0000000000000000000000000000000000000000;hb=06c97e457ce62ff258d85e6cfb9b4d94f9e9147f;hpb=f29f2dc508c4553c12f1329df213910432612b2a diff --git a/src/main/java/net/pterodactylus/sone/core/event/ImageInsertAbortedEvent.java b/src/main/java/net/pterodactylus/sone/core/event/ImageInsertAbortedEvent.java new file mode 100644 index 0000000..2431cf6 --- /dev/null +++ b/src/main/java/net/pterodactylus/sone/core/event/ImageInsertAbortedEvent.java @@ -0,0 +1,39 @@ +/* + * Sone - ImageInsertAbortedEvent.java - Copyright © 2013 David Roden + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package net.pterodactylus.sone.core.event; + +import net.pterodactylus.sone.data.Image; + +/** + * Event that signals that an {@link Image} insert is aborted. + * + * @author David ‘Bombe’ Roden + */ +public class ImageInsertAbortedEvent extends ImageEvent { + + /** + * Creates a new “image insert aborted” event. + * + * @param image + * The image whose insert aborted + */ + public ImageInsertAbortedEvent(Image image) { + super(image); + } + +}