Diffstat (limited to 'noncore/multimedia/camera/cmd/capture.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/camera/cmd/capture.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/noncore/multimedia/camera/cmd/capture.h b/noncore/multimedia/camera/cmd/capture.h new file mode 100644 index 0000000..f23aca0 --- a/dev/null +++ b/noncore/multimedia/camera/cmd/capture.h | |||
@@ -0,0 +1,45 @@ | |||
1 | /********************************************************************** | ||
2 | ** Copyright (C) 2003 Michael 'Mickey' Lauer. All rights reserved. | ||
3 | ** | ||
4 | ** This file is part of Opie Environment. | ||
5 | ** | ||
6 | ** This file may be distributed and/or modified under the terms of the | ||
7 | ** GNU General Public License version 2 as published by the Free Software | ||
8 | ** Foundation and appearing in the file LICENSE.GPL included in the | ||
9 | ** packaging of this file. | ||
10 | ** | ||
11 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | ||
12 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | ||
13 | ** | ||
14 | **********************************************************************/ | ||
15 | |||
16 | #include "zcameraio.h" | ||
17 | #include "imageio.h" | ||
18 | #include "avi.h" | ||
19 | |||
20 | #include <qfile.h> | ||
21 | #include <qframe.h> | ||
22 | #include <qimage.h> | ||
23 | |||
24 | class Capturer: public QFrame | ||
25 | { | ||
26 | Q_OBJECT | ||
27 | |||
28 | public: | ||
29 | Capturer(); | ||
30 | virtual ~Capturer(); | ||
31 | |||
32 | int height; | ||
33 | int width; | ||
34 | int zoom; | ||
35 | int quality; | ||
36 | QString flip; | ||
37 | QString format; | ||
38 | QString name; | ||
39 | QImage image; | ||
40 | |||
41 | public slots: | ||
42 | void capture(); | ||
43 | void checkSettings(); | ||
44 | }; | ||
45 | |||