sensorservices/sensorserver/src/util/sensrvchannelconditionset.cpp
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 2006-2008 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:  Channel condition set object
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "sensrvchannelconditionset.h"
       
    20 #include "sensrvchannelconditionsetimpl.h"
       
    21 
       
    22 // ---------------------------------------------------------------------------
       
    23 // Default constructor
       
    24 // ---------------------------------------------------------------------------
       
    25 //
       
    26 CSensrvChannelConditionSet::CSensrvChannelConditionSet()
       
    27     {
       
    28     }
       
    29 
       
    30 
       
    31 // ---------------------------------------------------------------------------
       
    32 // 2-phase constructor
       
    33 // ---------------------------------------------------------------------------
       
    34 //
       
    35 EXPORT_C CSensrvChannelConditionSet* CSensrvChannelConditionSet::NewL
       
    36         ( TSensrvConditionSetType aConditionSetType )
       
    37     {
       
    38     CSensrvChannelConditionSet* self = CSensrvChannelConditionSet::NewLC( aConditionSetType );
       
    39     CleanupStack::Pop( self );
       
    40     return self;
       
    41     }
       
    42 
       
    43 
       
    44 // ---------------------------------------------------------------------------
       
    45 // 2-phase constructor
       
    46 // ---------------------------------------------------------------------------
       
    47 //
       
    48 EXPORT_C CSensrvChannelConditionSet* CSensrvChannelConditionSet::NewLC
       
    49         ( TSensrvConditionSetType aConditionSetType )
       
    50     {
       
    51     CSensrvChannelConditionSetImpl* self = 
       
    52         new( ELeave ) CSensrvChannelConditionSetImpl(aConditionSetType);
       
    53     CleanupStack::PushL( self );
       
    54     self->ConstructL();
       
    55     return self;
       
    56     }
       
    57 
       
    58 
       
    59