equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 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: A class responsible for geotagging of media files in background. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef GEOTAGGER_H_ |
|
19 #define GEOTAGGER_H_ |
|
20 |
|
21 #include <e32base.h> |
|
22 #include <e32property.h> |
|
23 #include <mdesession.h> |
|
24 #include <geotagobserver.h> |
|
25 |
|
26 |
|
27 /** |
|
28 * GeoTagger converts a given cell ID(CGI Info) to geo-coordinates. |
|
29 * Does reverse geocoding to get country and city name. |
|
30 * Creates country and city tag for image/video files. |
|
31 * @since S60 9.2 |
|
32 */ |
|
33 |
|
34 NONSHARABLE_CLASS(CGeoTagger) : public CBase |
|
35 { |
|
36 public: |
|
37 /** |
|
38 * 2-phased constructor. |
|
39 */ |
|
40 IMPORT_C static CGeoTagger* NewL(MGeoTaggerObserver* aObserver, CMdESession* aMdeSession = NULL ); |
|
41 |
|
42 public: //exported API |
|
43 /** |
|
44 * Harvests location tags. |
|
45 * @param aObserver, observer for geotagging. |
|
46 * @return None. |
|
47 */ |
|
48 virtual void CreateGeoTagsL( const TConnectionOption = ESilent ) = 0; |
|
49 |
|
50 /** |
|
51 * Is there any untagged photos with location info?. |
|
52 * @return None. |
|
53 */ |
|
54 virtual void PendingGeoTagsL( TBool aTagInProgress ) = 0; |
|
55 }; |
|
56 |
|
57 #endif // GEOTAGGER_H_ |
|
58 |
|
59 // End of file. |
|
60 |