00001 /* 00002 * $Id: viperinz.h,v 1.1.1.1 2005/05/06 17:56:45 akos Exp $ 00003 * 00004 * Copyright (C) 2005 by Akos Polster <akos@pipacs.com> 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, but 00012 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 00013 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00014 * for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License along 00017 * with this program; if not, write to the Free Software Foundation, Inc., 00018 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 */ 00020 00021 #ifndef VIPERINZ_H 00022 #define VIPERINZ_H 00023 00024 #include <qpe/taskbarappletinterface.h> 00025 #include "connectionlist.h" 00026 00027 class Monitor; 00028 00035 class ViperinZ: public TaskbarAppletInterface 00036 { 00037 public: 00038 ViperinZ(); 00039 virtual ~ViperinZ(); 00040 00041 #ifndef QT_NO_COMPONENT 00042 QRESULT queryInterface(const QUuid &, QUnknownInterface **); 00043 Q_REFCOUNT 00044 #endif 00045 00046 virtual QWidget *applet(QWidget *parent); 00047 virtual int position() const; 00048 00049 private: 00050 Monitor *mon; 00051 ulong ref; 00052 00054 ConnectionList connList; 00055 }; 00056 00057 #endif // VIPERINZ_H