author | kergoth <kergoth> | 2003-05-13 20:02:32 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2003-05-13 20:02:32 (UTC) |
commit | 4dd58bba07b8bf3a52c3a0464675c39cc5153c85 (patch) (side-by-side diff) | |
tree | a9031549d675f3c108f05b06d2fcdd62f2433c7e /core/apps/oapp/oappplugin.h | |
parent | ad81c3ef20399c22663e67c5ac09aae4d0aeda21 (diff) | |
download | opie-4dd58bba07b8bf3a52c3a0464675c39cc5153c85.zip opie-4dd58bba07b8bf3a52c3a0464675c39cc5153c85.tar.gz opie-4dd58bba07b8bf3a52c3a0464675c39cc5153c85.tar.bz2 |
Add beginnings of a new plugin interface.
-rw-r--r-- | core/apps/oapp/oappplugin.h | 30 |
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 @@ +#ifndef __OAPPPLUGIN_H +#define __OAPPPLUGIN_H + +#include "oappinterface.h" +#include <qlist.h> +#include <qpe/quuid.h> + +class QWidget; + +class OAppPlugin : public OAppInterface +{ +public: + OAppPlugin(OAppPos pos = midPos); + OAppPlugin(QWidget *widget, OAppPos pos = midPos); + virtual ~OAppPlugin(); + + QList<QWidget> widgets(); + OAppPos position() const; + +#ifndef QT_NO_COMPONENT + QRESULT queryInterface( const QUuid &uuid, QUnknownInterface **iface ); + Q_REFCOUNT +#endif + +private: + QList<QWidget> m_widgets; + OAppPos m_position; +}; + +#endif // __OAPPPLUGIN_H |