Diffstat (limited to 'noncore/multimedia/camera/zcameraio.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/multimedia/camera/zcameraio.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/multimedia/camera/zcameraio.cpp b/noncore/multimedia/camera/zcameraio.cpp index 51771a5..b37ae8c 100644 --- a/noncore/multimedia/camera/zcameraio.cpp +++ b/noncore/multimedia/camera/zcameraio.cpp @@ -72,38 +72,38 @@ ZCameraIO::~ZCameraIO() setReadMode( 0 ); ::close( _driver ); } } -inline bool ZCameraIO::isOpen() const +bool ZCameraIO::isOpen() const { return _driver != -1; } -inline bool ZCameraIO::isShutterPressed() +bool ZCameraIO::isShutterPressed() { return _status[0] == 'S'; clearShutterLatch(); } -inline bool ZCameraIO::isFinderReversed() const +bool ZCameraIO::isFinderReversed() const { return _status[1] == 'M'; } -inline bool ZCameraIO::isCapturing() const +bool ZCameraIO::isCapturing() const { return _status[2] == 'C'; } -inline bool ZCameraIO::isAvailable() const +bool ZCameraIO::isAvailable() const { return _status[3] == 'A'; } bool ZCameraIO::setCaptureFrame( int width, int height, int zoom, bool rot ) |