camerauis/cameraapp/generic/inc/CamPropertyObserver.h
branchRCL_3
changeset 54 bac7acad7cb3
parent 0 1ddebce53859
child 57 2c87b2808fd7
equal deleted inserted replaced
53:61bc0f252b2b 54:bac7acad7cb3
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Callback interface for CCamPropertyWatcher
       
    15 *
       
    16 *  Copyright © 2007 Nokia.  All rights reserved.
       
    17 *  This material, including documentation and any related computer
       
    18 *  programs, is protected by copyright controlled by Nokia.  All
       
    19 *  rights are reserved.  Copying, including reproducing, storing,
       
    20 *  adapting or translating, any or all of this material requires the
       
    21 *  prior written consent of Nokia.  This material also contains
       
    22 *  confidential information which may not be disclosed to others
       
    23 *  without the prior written consent of Nokia.
       
    24 
       
    25 *
       
    26 *  
       
    27 *
       
    28 * ---------------------------------------------------------------------------
       
    29 *
       
    30 */
       
    31 
       
    32 #ifndef CAMPROPERTYOBSERVER_H
       
    33 #define CAMPROPERTYOBSERVER_H
       
    34 
       
    35 // CLASS DECLARATION
       
    36 
       
    37 /**
       
    38 * Abstract API for property observer. 
       
    39 * Derived classes receive notification when the value of a watched property change
       
    40 *
       
    41 *  @since 2.8
       
    42 */
       
    43 class MPropertyObserver
       
    44     {
       
    45 public:
       
    46     /**
       
    47     * The value of a watched property has changed
       
    48     * @since 2.8
       
    49     * @param aCategory the category of the property
       
    50     * @param aKey the identifier of the property
       
    51     */
       
    52     virtual void HandlePropertyChangedL( const TUid& aCategory, const TUint aKey ) = 0;
       
    53     };
       
    54 
       
    55 #endif // CAMPROPERTYOBSERVER_H
       
    56 
       
    57 // End of File