locationdataharvester/geocodeupdate/inc/geocodeupdate.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: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __GEOCODEUPDATE_H__
       
    19 #define __GEOCODEUPDATE_H__
       
    20 
       
    21 #include <e32def.h> 
       
    22 
       
    23 // CLASS DECLARATION
       
    24 
       
    25 /**
       
    26  * CntGeocodeUpdate, a class to update latitude and longtude into contact database
       
    27  * for a perticular contact.
       
    28  */
       
    29 class GeocodeUpdate 
       
    30 {
       
    31 public:    
       
    32     /**
       
    33      * Request to create contactmanager ,
       
    34      * contactmanager will create contact db.    
       
    35      */
       
    36     IMPORT_C static void CreateContactdb();
       
    37     
       
    38     /**
       
    39      * Request to update latitude and longitude.    *
       
    40      * @param aCntId contact unique id
       
    41      * @param aLatitude Latitude to be saved
       
    42      * @param aLongitude longitude to be saved
       
    43      * @return Status code (0 is failure,1 success)
       
    44      */
       
    45 
       
    46     IMPORT_C static void UpDate(const TInt32 aCntId,
       
    47             const TInt32 aCntAddressType, const TReal aLatitude,
       
    48             const TReal aLongitude);
       
    49 };
       
    50 
       
    51 #endif // __GEOCODEUPDATE_H__