00001 /********************************************************************** 00002 ** Copyright (C) 2003 Michael 'Mickey' Lauer. All rights reserved. 00003 ** 00004 ** This file is part of Opie Environment. 00005 ** 00006 ** This file may be distributed and/or modified under the terms of the 00007 ** GNU General Public License version 2 as published by the Free Software 00008 ** Foundation and appearing in the file LICENSE.GPL included in the 00009 ** packaging of this file. 00010 ** 00011 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00012 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00013 ** 00014 **********************************************************************/ 00015 00016 #include "zcameraio.h" 00017 #include "imageio.h" 00018 #include "avi.h" 00019 00020 #include <qfile.h> 00021 #include <qframe.h> 00022 #include <qimage.h> 00023 00024 class Capturer: public QFrame 00025 { 00026 Q_OBJECT 00027 00028 public: 00029 Capturer(); 00030 virtual ~Capturer(); 00031 00032 int height; 00033 int width; 00034 int zoom; 00035 int quality; 00036 QString flip; 00037 QString format; 00038 QString name; 00039 QImage image; 00040 00041 public slots: 00042 void capture(); 00043 void checkSettings(); 00044 }; 00045
1.4.2