|
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 GEOTAGOBSERVER_H_ |
|
19 #define GEOTAGOBSERVER_H_ |
|
20 |
|
21 #include <e32base.h> |
|
22 #include <etel.h> |
|
23 #include <etelmm.h> |
|
24 |
|
25 enum TConnectionOption |
|
26 { |
|
27 ESilent=0, |
|
28 EInteractive |
|
29 }; |
|
30 |
|
31 typedef enum |
|
32 { |
|
33 EGeoTaggingPending = 0x01, |
|
34 EGeoTaggingGoingOn, |
|
35 EGeoTagCmpt |
|
36 }TGeoTaggingSatus; |
|
37 |
|
38 |
|
39 class MGeoTaggerObserver |
|
40 { |
|
41 public: |
|
42 /** |
|
43 * This method is used for notifying completion of geotagging |
|
44 */ |
|
45 virtual void GeoTaggingCompleted( const TInt aError ) = 0; |
|
46 |
|
47 /** |
|
48 * This method is used for notifying completion of query for pending geo tags |
|
49 */ |
|
50 virtual void PendingGeoTagReqComplete( const TInt aError ) = 0; |
|
51 |
|
52 /* |
|
53 * Get registrer network country code |
|
54 * |
|
55 * @return current register n/w info |
|
56 */ |
|
57 virtual RMobilePhone::TMobilePhoneNetworkInfoV2& GetCurrentRegisterNw() = 0; |
|
58 |
|
59 /* |
|
60 * UE is registered to home network? |
|
61 * |
|
62 * @return ETrue if UE is registered at home network else EFalse |
|
63 */ |
|
64 virtual TBool IsRegisteredAtHomeNetwork() = 0; |
|
65 |
|
66 /* |
|
67 * Get home network country code |
|
68 * @param aHomeNwInfoAvailableFlag ETrue if home n/w info available else EFalse |
|
69 * @return user home n/w info |
|
70 */ |
|
71 virtual const RMobilePhone::TMobilePhoneNetworkInfoV1& |
|
72 GetHomeNetworkInfo(TBool& aHomeNwInfoAvailableFlag) = 0; |
|
73 |
|
74 }; |
|
75 |
|
76 |
|
77 #endif // GEOTAGOBSERVER_H_ |
|
78 |
|
79 // End of file. |