diff -r 63c982fb92f2 -r b73252188534 mds_plat/location_manager_api/inc/geotagger.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mds_plat/location_manager_api/inc/geotagger.h Thu Aug 19 10:20:41 2010 +0300 @@ -0,0 +1,60 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: A class responsible for geotagging of media files in background. +* +*/ + +#ifndef GEOTAGGER_H_ +#define GEOTAGGER_H_ + +#include +#include +#include +#include + + +/** + * GeoTagger converts a given cell ID(CGI Info) to geo-coordinates. + * Does reverse geocoding to get country and city name. + * Creates country and city tag for image/video files. + * @since S60 9.2 + */ + +NONSHARABLE_CLASS(CGeoTagger) : public CBase + { +public: + /** + * 2-phased constructor. + */ + IMPORT_C static CGeoTagger* NewL(MGeoTaggerObserver* aObserver, CMdESession* aMdeSession = NULL ); + +public: //exported API + /** + * Harvests location tags. + * @param aObserver, observer for geotagging. + * @return None. + */ + virtual void CreateGeoTagsL( const TConnectionOption = ESilent ) = 0; + + /** + * Is there any untagged photos with location info?. + * @return None. + */ + virtual void PendingGeoTagsL( TBool aTagInProgress ) = 0; + }; + +#endif // GEOTAGGER_H_ + +// End of file. +