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/oappinterface.h | |
parent | ad81c3ef20399c22663e67c5ac09aae4d0aeda21 (diff) | |
download | opie-4dd58bba07b8bf3a52c3a0464675c39cc5153c85.zip opie-4dd58bba07b8bf3a52c3a0464675c39cc5153c85.tar.gz opie-4dd58bba07b8bf3a52c3a0464675c39cc5153c85.tar.bz2 |
Add beginnings of a new plugin interface.
Diffstat (limited to 'core/apps/oapp/oappinterface.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/oapp/oappinterface.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/core/apps/oapp/oappinterface.h b/core/apps/oapp/oappinterface.h new file mode 100644 index 0000000..6474852 --- a/dev/null +++ b/core/apps/oapp/oappinterface.h @@ -0,0 +1,24 @@ +#ifndef __OPIEAPPINTERFACE_H +#define __OPIEAPPINTERFACE_H + +#include <qlist.h> +#include <qpe/qcom.h> + +class QWidget; + +#ifndef QT_NO_COMPONENT +// {16556BFC-891D-46A9-BE59-DBa158C3A266} +#ifndef IID_OAppInterface +#define IID_OAppInterface QUuid( 0x16556bfc, 0x891d, 0x46a9, 0xbe, 0x59, 0xdb, 0xa1, 0x58, 0xc3, 0xa2, 0x66) +#endif +#endif + +enum OAppPos { leftPos, midPos, rightPos }; + +struct OAppInterface : public QUnknownInterface +{ + virtual QList<QWidget> widgets() = 0; + virtual OAppPos position() const = 0; +}; + +#endif // __OPIEAPPINTERFACE_H |