summaryrefslogtreecommitdiff
path: root/core/apps/oapp/oappplugin.h
authorkergoth <kergoth>2003-05-13 20:02:32 (UTC)
committer kergoth <kergoth>2003-05-13 20:02:32 (UTC)
commit4dd58bba07b8bf3a52c3a0464675c39cc5153c85 (patch) (unidiff)
treea9031549d675f3c108f05b06d2fcdd62f2433c7e /core/apps/oapp/oappplugin.h
parentad81c3ef20399c22663e67c5ac09aae4d0aeda21 (diff)
downloadopie-4dd58bba07b8bf3a52c3a0464675c39cc5153c85.zip
opie-4dd58bba07b8bf3a52c3a0464675c39cc5153c85.tar.gz
opie-4dd58bba07b8bf3a52c3a0464675c39cc5153c85.tar.bz2
Add beginnings of a new plugin interface.
Diffstat (limited to 'core/apps/oapp/oappplugin.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/oapp/oappplugin.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/core/apps/oapp/oappplugin.h b/core/apps/oapp/oappplugin.h
new file mode 100644
index 0000000..698d171
--- a/dev/null
+++ b/core/apps/oapp/oappplugin.h
@@ -0,0 +1,30 @@
1#ifndef __OAPPPLUGIN_H
2#define __OAPPPLUGIN_H
3
4#include "oappinterface.h"
5#include <qlist.h>
6#include <qpe/quuid.h>
7
8class QWidget;
9
10class OAppPlugin : public OAppInterface
11{
12public:
13 OAppPlugin(OAppPos pos = midPos);
14 OAppPlugin(QWidget *widget, OAppPos pos = midPos);
15 virtual ~OAppPlugin();
16
17 QList<QWidget> widgets();
18 OAppPos position() const;
19
20#ifndef QT_NO_COMPONENT
21 QRESULT queryInterface( const QUuid &uuid, QUnknownInterface **iface );
22 Q_REFCOUNT
23#endif
24
25private:
26 QList<QWidget> m_widgets;
27 OAppPos m_position;
28};
29
30#endif // __OAPPPLUGIN_H