author | dwmw2 <dwmw2> | 2002-04-01 21:41:04 (UTC) |
---|---|---|
committer | dwmw2 <dwmw2> | 2002-04-01 21:41:04 (UTC) |
commit | 22183e22f3d1776c6c73219bd1a07ddf6bb8d670 (patch) (side-by-side diff) | |
tree | 82712ae6199ba31dbf826d2ded63e866a05373e6 /core/applets/irdaapplet/irdaappletimpl.h | |
parent | 5c8abf28f5c839d1af9565b58b9f01aa54378eab (diff) | |
download | opie-22183e22f3d1776c6c73219bd1a07ddf6bb8d670.zip opie-22183e22f3d1776c6c73219bd1a07ddf6bb8d670.tar.gz opie-22183e22f3d1776c6c73219bd1a07ddf6bb8d670.tar.bz2 |
Import basic applet to allow switching IrDA on and off.
Diffstat (limited to 'core/applets/irdaapplet/irdaappletimpl.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/applets/irdaapplet/irdaappletimpl.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/core/applets/irdaapplet/irdaappletimpl.h b/core/applets/irdaapplet/irdaappletimpl.h new file mode 100644 index 0000000..abedb07 --- a/dev/null +++ b/core/applets/irdaapplet/irdaappletimpl.h @@ -0,0 +1,44 @@ +/********************************************************************** +** Copyright (C) 2000 Trolltech AS. All rights reserved. +** +** This file is part of Qtopia Environment. +** +** This file may be distributed and/or modified under the terms of the +** GNU General Public License version 2 as published by the Free Software +** Foundation and appearing in the file LICENSE.GPL included in the +** packaging of this file. +** +** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE +** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +** +** See http://www.trolltech.com/gpl/ for GPL licensing information. +** +** Contact info@trolltech.com if any conditions of this licensing are +** not clear to you. +** +**********************************************************************/ +#ifndef SCREENSHOTAPPLETIMPL_H +#define SCREENSHOTAPPLETIMPL_H + +#include <qpe/taskbarappletinterface.h> + +class IrdaApplet; + +class IrdaAppletImpl : public TaskbarAppletInterface +{ +public: + IrdaAppletImpl(); + virtual ~IrdaAppletImpl(); + + QRESULT queryInterface( const QUuid&, QUnknownInterface** ); + Q_REFCOUNT + + virtual QWidget *applet( QWidget *parent ); + virtual int position() const; + +private: + IrdaApplet *irda; + ulong ref; +}; + +#endif |