summaryrefslogtreecommitdiff
path: root/core/apps/oapp/oappinterface.h
Unidiff
Diffstat (limited to 'core/apps/oapp/oappinterface.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/oapp/oappinterface.h24
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 @@
1#ifndef __OPIEAPPINTERFACE_H
2#define __OPIEAPPINTERFACE_H
3
4#include <qlist.h>
5#include <qpe/qcom.h>
6
7class QWidget;
8
9#ifndef QT_NO_COMPONENT
10// {16556BFC-891D-46A9-BE59-DBa158C3A266}
11#ifndef IID_OAppInterface
12#define IID_OAppInterface QUuid( 0x16556bfc, 0x891d, 0x46a9, 0xbe, 0x59, 0xdb, 0xa1, 0x58, 0xc3, 0xa2, 0x66)
13#endif
14#endif
15
16enum OAppPos { leftPos, midPos, rightPos };
17
18struct OAppInterface : public QUnknownInterface
19{
20 virtual QList<QWidget> widgets() = 0;
21 virtual OAppPos position() const = 0;
22};
23
24#endif // __OPIEAPPINTERFACE_H