Diffstat (limited to 'library/taskbarappletinterface.h') (more/less context) (show whitespace changes)
-rw-r--r-- | library/taskbarappletinterface.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/library/taskbarappletinterface.h b/library/taskbarappletinterface.h index 7e20329..705dd9a 100644 --- a/library/taskbarappletinterface.h +++ b/library/taskbarappletinterface.h @@ -1,8 +1,8 @@ /********************************************************************** -** Copyright (C) 2000 Trolltech AS. All rights reserved. +** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. ** -** This file is part of Qtopia Environment. +** This file is part of the Qtopia Environment. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the @@ -21,8 +21,9 @@ #ifndef TASKBARAPPLETINTERFACE_H #define TASKBARAPPLETINTERFACE_H #include <qpe/qcom.h> +#include <qpixmap.h> #ifndef QT_NO_COMPONENT // {6CA34D0B-C637-4865-A667-7D4CD8A70407} # ifndef IID_TaskbarApplet @@ -37,5 +38,16 @@ struct TaskbarAppletInterface : public QUnknownInterface virtual QWidget *applet( QWidget *parent ) = 0; virtual int position() const = 0; }; +// {7505E192-4977-465A-B72F-0A8DD491CF43} +#ifndef IID_TaskbarNamedApplet +#define IID_TaskbarNamedApplet QUuid( 0x7505e192, 0x4977, 0x465a, 0xb7, 0x2f, 0x0a, 0x8d, 0xd4, 0x91, 0xcf, 0x43) +#endif + +struct TaskbarNamedAppletInterface : public TaskbarAppletInterface +{ + virtual QString name() const = 0; + virtual QPixmap icon() const = 0; +}; + #endif |