author | mickeyl <mickeyl> | 2003-04-13 00:11:53 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-04-13 00:11:53 (UTC) |
commit | 33088e3bc0af16b6d000433cb3f73161e86a5bf5 (patch) (unidiff) | |
tree | 4113ab8c293486d7f0438d4fd4ae1037aaeaa519 /noncore/multimedia/camera/zcameraio.cpp | |
parent | 6d62efcd8964194cae47dc3dfe71b7cc41cbf3e2 (diff) | |
download | opie-33088e3bc0af16b6d000433cb3f73161e86a5bf5.zip opie-33088e3bc0af16b6d000433cb3f73161e86a5bf5.tar.gz opie-33088e3bc0af16b6d000433cb3f73161e86a5bf5.tar.bz2 |
add error message of camera is not found
remove inlines (for now) because of link-problems
Diffstat (limited to 'noncore/multimedia/camera/zcameraio.cpp') (more/less context) (show 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 | |||
@@ -75,32 +75,32 @@ ZCameraIO::~ZCameraIO() | |||
75 | } | 75 | } |
76 | 76 | ||
77 | 77 | ||
78 | inline bool ZCameraIO::isOpen() const | 78 | bool ZCameraIO::isOpen() const |
79 | { | 79 | { |
80 | return _driver != -1; | 80 | return _driver != -1; |
81 | } | 81 | } |
82 | 82 | ||
83 | 83 | ||
84 | inline bool ZCameraIO::isShutterPressed() | 84 | bool ZCameraIO::isShutterPressed() |
85 | { | 85 | { |
86 | return _status[0] == 'S'; | 86 | return _status[0] == 'S'; |
87 | clearShutterLatch(); | 87 | clearShutterLatch(); |
88 | } | 88 | } |
89 | 89 | ||
90 | 90 | ||
91 | inline bool ZCameraIO::isFinderReversed() const | 91 | bool ZCameraIO::isFinderReversed() const |
92 | { | 92 | { |
93 | return _status[1] == 'M'; | 93 | return _status[1] == 'M'; |
94 | } | 94 | } |
95 | 95 | ||
96 | 96 | ||
97 | inline bool ZCameraIO::isCapturing() const | 97 | bool ZCameraIO::isCapturing() const |
98 | { | 98 | { |
99 | return _status[2] == 'C'; | 99 | return _status[2] == 'C'; |
100 | } | 100 | } |
101 | 101 | ||
102 | 102 | ||
103 | inline bool ZCameraIO::isAvailable() const | 103 | bool ZCameraIO::isAvailable() const |
104 | { | 104 | { |
105 | return _status[3] == 'A'; | 105 | return _status[3] == 'A'; |
106 | } | 106 | } |