camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakeautofocuscontrol.h
changeset 39 c5025ea871a1
parent 38 0f0b4c1d7744
equal deleted inserted replaced
38:0f0b4c1d7744 39:c5025ea871a1
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    34 
    34 
    35     CxeError::Id start(bool soundEnabled = true);
    35     CxeError::Id start(bool soundEnabled = true);
    36     void cancel();
    36     void cancel();
    37     void setMode(CxeAutoFocusControl::Mode newMode);
    37     void setMode(CxeAutoFocusControl::Mode newMode);
    38     CxeAutoFocusControl::Mode mode() const;
    38     CxeAutoFocusControl::Mode mode() const;
       
    39     bool isFixedFocusMode(Mode mode) const;
    39     CxeAutoFocusControl::State state() const;
    40     CxeAutoFocusControl::State state() const;
    40     bool supported() const;
    41     bool supported() const;
    41     bool isSoundEnabled() const;
    42     bool isSoundEnabled() const;
    42 
    43 
    43 public: // methods for testing
    44 public: // methods for testing