diff options
author | deva <deva> | 2005-03-27 10:18:02 +0000 |
---|---|---|
committer | deva <deva> | 2005-03-27 10:18:02 +0000 |
commit | 29ff2e254871ebc359af344d6ee453047e8ad2ec (patch) | |
tree | e2c24aa35e16fb612f3715d8a272b3cd4520537f /src/camera.cc | |
parent | 63ac729b32331438a607ec5b8be046143c7592e6 (diff) |
Reimplemented the error object as a stack.
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 */ |