mds_plat/location_manager_api/inc/rlocationgeotagger.h
branchRCL_3
changeset 19 b73252188534
equal deleted inserted replaced
18:63c982fb92f2 19:b73252188534
       
     1 /*
       
     2 * Copyright (c) 2006-2009 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:  An interface to Location Trail.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef R_RLOCATIONGEOTAGGER_H
       
    19 #define R_RLOCATIONGEOTAGGER_H
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <etel3rdparty.h>
       
    23 #include <lbsposition.h>
       
    24 #include <rlocationmanager.h>
       
    25 #include <locationdatatype.h>
       
    26 #include <geotagobserver.h>
       
    27 
       
    28 
       
    29 /**
       
    30  *  RLocationManager class is used for creating a Location Manager session.
       
    31  *  Location Manager is used to start and stop the location trail, retrieve 
       
    32  *  location information and write the location information to images.
       
    33  *
       
    34  *  @lib LocationManager.lib
       
    35  *  @since S60 9.2
       
    36  */
       
    37 NONSHARABLE_CLASS( RLocationGeoTagger ) : public RLocationManager
       
    38     {
       
    39 public:
       
    40         
       
    41 public:
       
    42 	IMPORT_C RLocationGeoTagger();
       
    43 	
       
    44 	IMPORT_C ~RLocationGeoTagger();
       
    45 
       
    46 
       
    47     /**
       
    48      * Is there any geo tag pending state. (Asynchronous call)
       
    49      * @param aStatus - request status.
       
    50      * @param aTagPendingFlag - tag pending flag (ETrue if few entry is yet to be tagged else EFalse)
       
    51      * @return None
       
    52      */
       
    53     IMPORT_C void GeoTagStaus( TRequestStatus& aStatus, 
       
    54                                    TGeoTaggingSatus& aTagPendingFlag );
       
    55     
       
    56     /**
       
    57      * Cancel tag pending request
       
    58      * @return None
       
    59      */
       
    60     IMPORT_C void CancelTagPendingRequest();
       
    61 
       
    62     /**
       
    63      * Cancel geo tagging request
       
    64      * @return None
       
    65      */
       
    66     IMPORT_C void CancelGeoTaggingRequest();
       
    67 
       
    68     /**
       
    69      * Start geo tagging.
       
    70      * @param aConnectionOption - connection option (ESilent/EInteractive).
       
    71      * @return None
       
    72      */
       
    73     IMPORT_C void StartGeoTagging(TRequestStatus& aStatus, const TConnectionOption aConnectionOption );
       
    74 
       
    75 private:
       
    76 	TPckg<TGeoTaggingSatus> *iTagPendingData;
       
    77     };
       
    78     
       
    79 #endif // R_RLOCATIONGEOTAGGER_H
       
    80 
       
    81 //End of File