00001 #ifndef __OPIEAPPINTERFACE_H
00002 #define __OPIEAPPINTERFACE_H
00003
00004 #include <qlist.h>
00005 #include <qpe/qcom.h>
00006
00007 class QWidget;
00008
00009 #ifndef QT_NO_COMPONENT
00010
00011 #ifndef IID_OAppInterface
00012 #define IID_OAppInterface QUuid( 0x16556bfc, 0x891d, 0x46a9, 0xbe, 0x59, 0xdb, 0xa1, 0x58, 0xc3, 0xa2, 0x66)
00013 #endif
00014 #endif
00015
00016 enum OAppPos { leftPos, midPos, rightPos };
00017
00018 struct OAppInterface : public QUnknownInterface
00019 {
00020 virtual QList<QWidget> widgets() = 0;
00021 virtual OAppPos position() const = 0;
00022 };
00023
00024 #endif // __OPIEAPPINTERFACE_H