contextframework/cfwplugins/cenrepsourceplugin/inc/cenrepattributesnonmasked.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 2007-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:  CCenRepAttributesNonMasked class declaration.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_CENREPATTRIBUTESNONMASKED_H
       
    21 #define C_CENREPATTRIBUTESNONMASKED_H
       
    22 
       
    23 #include "cenrepattributes.h"
       
    24 
       
    25 /**
       
    26  *  Handles non masked attributes
       
    27  *
       
    28  *  @lib CenRepSourcePlugIn.dll
       
    29  *  @since S60 5.0
       
    30  */
       
    31 
       
    32 NONSHARABLE_CLASS( CCenRepAttributesNonMasked ) : public CCenRepAttributes
       
    33     {
       
    34 
       
    35 public:
       
    36 
       
    37     /**
       
    38      * Two-phased constructors.
       
    39      *
       
    40      * @since S60 5.0
       
    41      * @param aCF Interface for contexts
       
    42      * @param aSettings Sensor source settings
       
    43      */
       
    44     static CCenRepAttributesNonMasked* NewL(
       
    45                MCFContextInterface& aCF,
       
    46                CCFContextSourceSettingArray& aSettings );
       
    47 
       
    48     static CCenRepAttributesNonMasked* NewLC(
       
    49                MCFContextInterface& aCF,
       
    50                CCFContextSourceSettingArray& aSettings );
       
    51 
       
    52     virtual ~CCenRepAttributesNonMasked();
       
    53 
       
    54 // from base class CenRepAttributes
       
    55 
       
    56     /**
       
    57     * From CenRepAttributes
       
    58     * Search context values from parameter array and updates context
       
    59     *
       
    60     * @since S60 5.0
       
    61     * @param aKeyValue Parameter key value for context values to search
       
    62     * @return void
       
    63     */
       
    64     void UpdateContextL( const TInt aKeyValue );
       
    65 
       
    66 protected:
       
    67 
       
    68 private:
       
    69 
       
    70     CCenRepAttributesNonMasked( MCFContextInterface& aCF,
       
    71                                 CCFContextSourceSettingArray& aSettings );
       
    72     void ConstructL();
       
    73 
       
    74 public:    // Data
       
    75 
       
    76 protected: // Data
       
    77 
       
    78 private:   // Data
       
    79 
       
    80     };
       
    81 
       
    82 #endif // C_CENREPATTRIBUTESNONMASKED_H