2014-11-20 13:21:19 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (C) 2010-2013 Laurent CLOUET
|
|
|
|
|
* Author Laurent CLOUET <laurent.clouet@nopnop.net>
|
|
|
|
|
*
|
2020-05-28 13:28:42 +02:00
|
|
|
* This program is free software; you can redistribute it and/or
|
2014-11-20 13:21:19 +00:00
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
|
* as published by the Free Software Foundation; version 2
|
|
|
|
|
* of the License.
|
|
|
|
|
*
|
|
|
|
|
* 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, write to the Free Software
|
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
package com.sheepit.client;
|
|
|
|
|
|
|
|
|
|
public interface Gui {
|
2016-10-12 00:34:51 +02:00
|
|
|
public void start();
|
2014-11-20 13:21:19 +00:00
|
|
|
|
2016-10-12 00:34:51 +02:00
|
|
|
public void stop();
|
2014-11-20 13:21:19 +00:00
|
|
|
|
2016-10-12 00:34:51 +02:00
|
|
|
public void status(String msg_);
|
2020-04-26 23:35:05 +10:00
|
|
|
|
|
|
|
|
public void status(String msg_, boolean overwriteSuspendedMsg);
|
2020-05-28 13:28:42 +02:00
|
|
|
|
2020-06-17 18:24:59 +10:00
|
|
|
public void status(String msg_, int progress);
|
|
|
|
|
|
2020-06-14 20:01:32 +10:00
|
|
|
public void status(String msg_, int progress, long size);
|
|
|
|
|
|
2020-03-19 23:48:06 +01:00
|
|
|
public void updateTrayIcon(Integer percentage_);
|
2020-05-28 13:28:42 +02:00
|
|
|
|
2016-10-12 00:34:51 +02:00
|
|
|
public void setRenderingProjectName(String name_);
|
|
|
|
|
|
|
|
|
|
public void setRemainingTime(String time_);
|
|
|
|
|
|
|
|
|
|
public void setRenderingTime(String time_);
|
|
|
|
|
|
2020-09-12 10:00:24 +10:00
|
|
|
public void displayTransferStats(TransferStats downloads, TransferStats uploads);
|
|
|
|
|
|
2016-10-12 00:34:51 +02:00
|
|
|
public void displayStats(Stats stats);
|
2014-11-20 13:21:19 +00:00
|
|
|
|
2020-04-20 01:01:43 +10:00
|
|
|
public void displayUploadQueueStats(int queueSize, long queueVolume);
|
|
|
|
|
|
2014-11-20 13:21:19 +00:00
|
|
|
public void error(String err_);
|
|
|
|
|
|
|
|
|
|
public void AddFrameRendered();
|
|
|
|
|
|
2019-08-22 21:35:26 +02:00
|
|
|
public void successfulAuthenticationEvent(String publickey);
|
|
|
|
|
|
2015-01-15 23:20:17 +01:00
|
|
|
public void setClient(Client cli);
|
|
|
|
|
|
2017-05-07 21:00:20 +02:00
|
|
|
public void setComputeMethod(String computeMethod_);
|
|
|
|
|
|
2015-01-15 23:20:17 +01:00
|
|
|
public Client getClient();
|
2014-11-20 13:21:19 +00:00
|
|
|
}
|