1 /***************************************************************************
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id: progressloggerinterface.h 14027 2007-07-27 17:42:49Z domonoky $
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
20 #ifndef PROGRESSLOGGERINTERFACE_H
21 #define PROGRESSLOGGERINTERFACE_H
31 class ProgressloggerInterface
: public QObject
36 ProgressloggerInterface(QObject
* parent
) : QObject(parent
) {}
37 virtual void addItem(QString text
) =0 ; //adds a string to the list
38 virtual void addItem(QString text
,int flag
) =0 ; //adds a string to the list, with icon
40 virtual void setProgressValue(int value
)=0;
41 virtual void setProgressMax(int max
)=0;
42 virtual int getProgressMax()=0;
45 virtual void aborted()=0;
49 virtual void abort()=0;
50 virtual void close()=0;
51 virtual void show()=0;