Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

applicationinterface.h

Go to the documentation of this file.
00001 /*
00002  * GPLv2 (C) 2002-2003 Trolltech
00003  *       (C) 2003 zecke@handhelds.org
00004  */
00005 
00006 
00007 #ifndef APPLICATIONINTERFACE_H
00008 #define APPLICATIONINTERFACE_H
00009 
00010 #include <qstringlist.h>
00011 #include <qtopia/qcom.h>
00012 
00013 #ifndef QT_NO_COMPONENT
00014 // {07E15B48-B947-4334-B866-D2AD58157D8C}
00015 #ifndef IID_QtopiaApplication
00016 #define IID_QtopiaApplication QUuid( 0x07e15b48, 0xb947, 0x4334, 0xb8, 0x66, 0xd2, 0xad, 0x58, 0x15, 0x7d, 0x8c)
00017 #endif
00018 #endif
00019 
00020 
00037 struct ApplicationInterface : public QUnknownInterface
00038 {
00039 public:
00040 
00052     virtual QWidget *createMainWindow( const QString &appName, QWidget *parent=0,
00053                                        const char *name=0, Qt::WFlags f=0 ) = 0;
00054 
00058     virtual QStringList applications() const = 0;
00059 };
00060 
00061 /*
00062  * Use an extended interface for QObejct, Opie::Part in the future
00063  */
00064 
00065 #endif

Generated on Sat Nov 5 16:16:31 2005 for OPIE by  doxygen 1.4.2