From 29ff2e254871ebc359af344d6ee453047e8ad2ec Mon Sep 17 00:00:00 2001 From: deva Date: Sun, 27 Mar 2005 10:18:02 +0000 Subject: Reimplemented the error object as a stack. --- src/camera.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/camera.cc') 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 */ -- cgit v1.2.3