From 4dd58bba07b8bf3a52c3a0464675c39cc5153c85 Mon Sep 17 00:00:00 2001 From: kergoth Date: Tue, 13 May 2003 20:02:32 +0000 Subject: Add beginnings of a new plugin interface. --- (limited to 'core/apps/oapp/oappplugin.h') diff --git a/core/apps/oapp/oappplugin.h b/core/apps/oapp/oappplugin.h new file mode 100644 index 0000000..698d171 --- a/dev/null +++ b/core/apps/oapp/oappplugin.h @@ -0,0 +1,30 @@ +#ifndef __OAPPPLUGIN_H +#define __OAPPPLUGIN_H + +#include "oappinterface.h" +#include +#include + +class QWidget; + +class OAppPlugin : public OAppInterface +{ +public: + OAppPlugin(OAppPos pos = midPos); + OAppPlugin(QWidget *widget, OAppPos pos = midPos); + virtual ~OAppPlugin(); + + QList widgets(); + OAppPos position() const; + +#ifndef QT_NO_COMPONENT + QRESULT queryInterface( const QUuid &uuid, QUnknownInterface **iface ); + Q_REFCOUNT +#endif + +private: + QList m_widgets; + OAppPos m_position; +}; + +#endif // __OAPPPLUGIN_H -- cgit v0.9.0.2