summaryrefslogtreecommitdiff
path: root/core/apps/oapp/oappinterface.h
Side-by-side diff
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 @@
+#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