Diffstat (limited to 'noncore/multimedia/camera/zcameraio.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/camera/zcameraio.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/noncore/multimedia/camera/zcameraio.h b/noncore/multimedia/camera/zcameraio.h index edce143..3352a5e 100644 --- a/noncore/multimedia/camera/zcameraio.h +++ b/noncore/multimedia/camera/zcameraio.h | |||
@@ -35,3 +35,4 @@ class ZCameraIO : public QObject | |||
35 | XNOFLIP = 0, XFLIP = 4, | 35 | XNOFLIP = 0, XFLIP = 4, |
36 | YNOFLIP = 0, YFLIP = 8 | 36 | YNOFLIP = 0, YFLIP = 8, |
37 | AUTOMATICFLIP = -1 | ||
37 | }; | 38 | }; |
@@ -43,2 +44,3 @@ class ZCameraIO : public QObject | |||
43 | void setReadMode( int = IMAGE | XFLIP | YFLIP ); | 44 | void setReadMode( int = IMAGE | XFLIP | YFLIP ); |
45 | void setFlip( int flip ); | ||
44 | 46 | ||
@@ -49,4 +51,4 @@ class ZCameraIO : public QObject | |||
49 | 51 | ||
50 | bool snapshot( unsigned char* ); | 52 | bool snapshot( QImage* image ); |
51 | bool snapshot( QImage* ); | 53 | bool snapshot( unsigned char* buf ); |
52 | 54 | ||
@@ -56,2 +58,3 @@ class ZCameraIO : public QObject | |||
56 | void captureFrame( int w, int h, int zoom, QImage* image ); | 58 | void captureFrame( int w, int h, int zoom, QImage* image ); |
59 | void captureFrame( int w, int h, int zoom, unsigned char* buf ); | ||
57 | 60 | ||
@@ -70,2 +73,3 @@ class ZCameraIO : public QObject | |||
70 | char _status[4]; | 73 | char _status[4]; |
74 | bool _pressed; | ||
71 | static ZCameraIO* _instance; | 75 | static ZCameraIO* _instance; |
@@ -74,2 +78,3 @@ class ZCameraIO : public QObject | |||
74 | int _zoom; | 78 | int _zoom; |
79 | int _flip; | ||
75 | bool _rot; | 80 | bool _rot; |