diff options
Diffstat (limited to 'src/camera.cc')
-rw-r--r-- | src/camera.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/camera.cc b/src/camera.cc index ac23fc9..0ba3da9 100644 --- a/src/camera.cc +++ b/src/camera.cc @@ -142,14 +142,9 @@ void Camera::snapshot() encoder->shoot(); } -bool Camera::hasError() +Error *Camera::errorObject() { - return errorstatus->hasError(); -} - -string Camera::getErrorString() -{ - return errorstatus->getErrorString(); + return errorstatus; } #endif/* USE_GUI */ |