Diffstat (limited to 'library/taskbarappletinterface.h') (more/less context) (ignore 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 @@ | |||
1 | /********************************************************************** | 1 | /********************************************************************** |
2 | ** Copyright (C) 2000 Trolltech AS. All rights reserved. | 2 | ** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. |
3 | ** | 3 | ** |
4 | ** This file is part of Qtopia Environment. | 4 | ** This file is part of the Qtopia Environment. |
5 | ** | 5 | ** |
6 | ** This file may be distributed and/or modified under the terms of the | 6 | ** This file may be distributed and/or modified under the terms of the |
7 | ** GNU General Public License version 2 as published by the Free Software | 7 | ** GNU General Public License version 2 as published by the Free Software |
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | 8 | ** Foundation and appearing in the file LICENSE.GPL included in the |
@@ -21,8 +21,9 @@ | |||
21 | #ifndef TASKBARAPPLETINTERFACE_H | 21 | #ifndef TASKBARAPPLETINTERFACE_H |
22 | #define TASKBARAPPLETINTERFACE_H | 22 | #define TASKBARAPPLETINTERFACE_H |
23 | 23 | ||
24 | #include <qpe/qcom.h> | 24 | #include <qpe/qcom.h> |
25 | #include <qpixmap.h> | ||
25 | 26 | ||
26 | #ifndef QT_NO_COMPONENT | 27 | #ifndef QT_NO_COMPONENT |
27 | // {6CA34D0B-C637-4865-A667-7D4CD8A70407} | 28 | // {6CA34D0B-C637-4865-A667-7D4CD8A70407} |
28 | # ifndef IID_TaskbarApplet | 29 | # ifndef IID_TaskbarApplet |
@@ -37,5 +38,16 @@ struct TaskbarAppletInterface : public QUnknownInterface | |||
37 | virtual QWidget *applet( QWidget *parent ) = 0; | 38 | virtual QWidget *applet( QWidget *parent ) = 0; |
38 | virtual int position() const = 0; | 39 | virtual int position() const = 0; |
39 | }; | 40 | }; |
40 | 41 | ||
42 | // {7505E192-4977-465A-B72F-0A8DD491CF43} | ||
43 | #ifndef IID_TaskbarNamedApplet | ||
44 | #define IID_TaskbarNamedApplet QUuid( 0x7505e192, 0x4977, 0x465a, 0xb7, 0x2f, 0x0a, 0x8d, 0xd4, 0x91, 0xcf, 0x43) | ||
45 | #endif | ||
46 | |||
47 | struct TaskbarNamedAppletInterface : public TaskbarAppletInterface | ||
48 | { | ||
49 | virtual QString name() const = 0; | ||
50 | virtual QPixmap icon() const = 0; | ||
51 | }; | ||
52 | |||
41 | #endif | 53 | #endif |