locationtriggering/ltclientlib/src/lbtoperation.cpp
changeset 0 667063e416a2
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     1 /*
       
     2 * Copyright (c) 2005 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:  Location Triggering API
       
    15 *    
       
    16 *
       
    17 */
       
    18 
       
    19 #include "lbtoperation.h"
       
    20 #include "lbtcelloperation.h"
       
    21 
       
    22 
       
    23 //----------------------------------------------------------------------------------------------
       
    24 // CLBTOperation::CLBTOperation
       
    25 //----------------------------------------------------------------------------------------------
       
    26 EXPORT_C CLBTOperation*  CLBTOperation::CreateGeoAreaForCurrentLocationL( TRequestStatus &aStatus,
       
    27 						                                                  CLbtGeoAreaBase::TGeoAreaType aTechType,
       
    28 						                                                  CLbtGeoAreaBase ** aArea )
       
    29 	{
       
    30 	*aArea = NULL;
       
    31 	if(aTechType != CLbtGeoAreaBase::ECellular)
       
    32 		{
       
    33 		return NULL;
       
    34 		}
       
    35 	CLbtCellOperation* gsmoperation = CLbtCellOperation::NewL(aStatus, aArea);
       
    36 	gsmoperation->GetCurrentCellInformation();
       
    37 	return gsmoperation;
       
    38 	}
       
    39 	
       
    40 //----------------------------------------------------------------------------------------------
       
    41 // CLBTOperation::CLBTOperation
       
    42 // C++ destructor
       
    43 //----------------------------------------------------------------------------------------------
       
    44 CLBTOperation::~CLBTOperation()
       
    45 	{
       
    46 	
       
    47 	}
       
    48 
       
    49 //----------------------------------------------------------------------------------------------
       
    50 // CLBTOperation::CLBTOperation
       
    51 // C++ destructor
       
    52 //----------------------------------------------------------------------------------------------
       
    53 CLBTOperation::CLBTOperation():CActive(CActive::EPriorityStandard)
       
    54 	{
       
    55 	
       
    56 	}	
       
    57 	
       
    58 // end of file