1 /* 2 * Created on 13 Jul 2006 3 * Created by Paul Gardner 4 * Copyright (C) Azureus Software, Inc, All Rights Reserved. 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version 2 9 * of the License, or (at your option) any later version. 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 17 * 18 */ 19 20 package org.gudy.azureus2.plugins.download; 21 22 public interface 23 DownloadActivationListener 24 { 25 /** 26 * A request has been made to activate the download. Not this is only fired on an increase in the 27 * activation request count, not on a decrease. To get a current snapshot of this use the method 28 * getActivationState in Download 29 * @param event 30 * @return return true if the download will be activated, false otherwise 31 */ 32 33 public boolean activationRequested( DownloadActivationEvent event )34 activationRequested( 35 DownloadActivationEvent event ); 36 } 37