locationdataharvester/inc/mylocationsdefines.h
changeset 26 f3533f6eae3f
parent 20 cd10d5b85554
child 31 8db05346071b
equal deleted inserted replaced
24:ccec19943943 26:f3533f6eae3f
    36     // Landmark uid in the landmarks database
    36     // Landmark uid in the landmarks database
    37     TUint32 iLmId;
    37     TUint32 iLmId;
    38    
    38    
    39     // File Path
    39     // File Path
    40     TFileName iFilePath;
    40     TFileName iFilePath;
       
    41     
       
    42     //MK  map tile fetching status
       
    43     TUint32 iFetchingStatus;
    41 };
    44 };
    42 
    45 
       
    46 /** Defines map tile fetching states.
       
    47  */
    43 
    48 
       
    49 enum TMapTileFetchingState
       
    50     {
       
    51     /** Map tile fetching completed */
       
    52     EMapTileFectchingCompleted,
       
    53     /** Map tile fetching in progress */
       
    54     EMapTileFetchingInProgress,
       
    55     /** Map  tile fetching n/w error */
       
    56     EMapTileFetchingNetworkError,
       
    57     /** Map tile fetching invalid address */
       
    58     EMapTileFetchingInvalidAddress,
       
    59     /** Map tile fetching unknown erro */
       
    60     EMapTileFetchingUnknownError
       
    61     };
    44 // contacts category in landmarks db
    62 // contacts category in landmarks db
    45 _LIT( KContactsCategory, "Contacts" );
    63 _LIT( KContactsCategory, "Contacts" );
    46 
    64 
    47 // calendar category in landmarks db
    65 // calendar category in landmarks db
    48 _LIT( KCalendarCategory, "Calendar" );
    66 _LIT( KCalendarCategory, "Calendar" );
    77 _LIT( NColLmUid, "lmuid" );
    95 _LIT( NColLmUid, "lmuid" );
    78 
    96 
    79 // maptile database column names
    97 // maptile database column names
    80 _LIT( NCntColUid, "cntuid" );
    98 _LIT( NCntColUid, "cntuid" );
    81 _LIT( NCntColFilePath, "filepath" );
    99 _LIT( NCntColFilePath, "filepath" );
       
   100 _LIT( MapTileFetchingStatus, "fetchingstatus" );
    82 
   101 
    83 // database table name
   102 // database table name
    84 _LIT( KLookupTable, "lookuptable" );
   103 _LIT( KLookupTable, "lookuptable" );
    85 
   104 
    86 // maptile database table name
   105 // maptile database table name
    95 
   114 
    96 // uid column number
   115 // uid column number
    97 const TInt KColumncntUid = 1;
   116 const TInt KColumncntUid = 1;
    98 // source type column number
   117 // source type column number
    99 const TInt KColumnFilePath = 3;
   118 const TInt KColumnFilePath = 3;
       
   119 // fetching state  column number
       
   120 const TInt KColumnMapTileFetchingStatus = 4;
   100 
   121 
   101 const TInt KBufSize=256;
   122 const TInt KBufSize=256;
   102 
   123 
   103 #endif  // __MYLOCATIONSDEFINES_H__
   124 #endif  // __MYLOCATIONSDEFINES_H__
   104 // End of file
   125 // End of file