author | mickeyl <mickeyl> | 2003-04-01 23:19:16 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-04-01 23:19:16 (UTC) |
commit | 911a05806c4cce85750f3bd9bca84e18162cb739 (patch) (unidiff) | |
tree | d5bbed42b991968852aa30e702deda95fa7b1393 /noncore/multimedia/camera/zcameraio.h | |
parent | 3497616220db68ea4105880c40c4c542d9b5228d (diff) | |
download | opie-911a05806c4cce85750f3bd9bca84e18162cb739.zip opie-911a05806c4cce85750f3bd9bca84e18162cb739.tar.gz opie-911a05806c4cce85750f3bd9bca84e18162cb739.tar.bz2 |
figured out how to get binary RAW data into a QImage
actual capturing is now only a footstep away :-D
Diffstat (limited to 'noncore/multimedia/camera/zcameraio.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/camera/zcameraio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/multimedia/camera/zcameraio.h b/noncore/multimedia/camera/zcameraio.h index 817d3b4..1690aa6 100644 --- a/noncore/multimedia/camera/zcameraio.h +++ b/noncore/multimedia/camera/zcameraio.h | |||
@@ -25,11 +25,12 @@ class ZCameraIO | |||
25 | virtual ~ZCameraIO(); | 25 | virtual ~ZCameraIO(); |
26 | 26 | ||
27 | bool isOpen() const { return _driver != -1; }; | 27 | bool isOpen() const { return _driver != -1; }; |
28 | |||
29 | bool snapshot( QImage* ); | 28 | bool snapshot( QImage* ); |
29 | static ZCameraIO* instance() { return _instance; }; | ||
30 | 30 | ||
31 | private: | 31 | private: |
32 | int _driver; | 32 | int _driver; |
33 | static ZCameraIO* _instance; | ||
33 | }; | 34 | }; |
34 | 35 | ||
35 | #endif | 36 | #endif |