locationdataharvester/mylocationsengine/inc/addresscomparision.h
changeset 17 0f22fb80ebba
child 20 cd10d5b85554
equal deleted inserted replaced
15:13ae750350c9 17:0f22fb80ebba
       
     1 /*
       
     2 * Copyright (c) 2010 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:  Address comparison header file implementation.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef ADDRESSCOMPARISION_H_
       
    19 #define ADDRESSCOMPARISION_H_
       
    20 #include <epos_cposlandmarkdatabase.h>
       
    21 #include "mylocationslookupdb.h"
       
    22 class CAddressComparision : public CBase
       
    23     {
       
    24 public:
       
    25   
       
    26     static CAddressComparision* NewL(); 
       
    27     /**
       
    28         * Is edited address changed .
       
    29         * @param aLandmarks handle to all type of address
       
    30         * @param aCntId contact id.
       
    31         * @param aAddressType type of address
       
    32         * @return Status code(ETrue address is  changed ,EFalse is not changed)
       
    33         */
       
    34     TBool IsAddressChangedL( const CPosLandmark& aLandmarks, const TInt32 aCntId,
       
    35                              const TUidSourceType aAddressType );
       
    36     
       
    37 private:
       
    38     
       
    39     /**
       
    40      * CAdressComparision.
       
    41      * C++ default constructor. 
       
    42      */
       
    43     CAddressComparision();
       
    44        
       
    45     // Handle to landmarks db
       
    46     CPosLandmarkDatabase* iLandmarkDb;
       
    47 
       
    48     // Handle to the My locations database manager
       
    49     CLookupDatabase *iLookUpDatabase;
       
    50     };
       
    51 #endif /* ADDRESSCOMPARISION_H_ */