Qtopia library API Documentation

applicationinterface.h

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
KDE Logo
This file is part of the documentation for OPIE Version 1.5.5.
Documentation copyright © 1997-2003 the KDE developers. 2003 OPIE developers
Generated on Tue Feb 10 20:24:03 2004 by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2001