locationdataharvester/inc/mylocationsdefines.h
changeset 20 cd10d5b85554
parent 17 0f22fb80ebba
child 26 f3533f6eae3f
equal deleted inserted replaced
17:0f22fb80ebba 20:cd10d5b85554
    38    
    38    
    39     // File Path
    39     // File Path
    40     TFileName iFilePath;
    40     TFileName iFilePath;
    41 };
    41 };
    42 
    42 
    43 /** Defines uid source type
    43 
    44  */
    44 // contacts category in landmarks db
    45 enum TUidSourceType
    45 _LIT( KContactsCategory, "Contacts" );
    46 {
    46 
    47     /** Uid Source type calendar */
    47 // calendar category in landmarks db
    48     ESourceCalendar=0,
    48 _LIT( KCalendarCategory, "Calendar" );
    49     /** Uid Source type landmarks */
       
    50     ESourceLandmarks,
       
    51     /** Uid Source type maps history */
       
    52     ESourceMapsHistory,
       
    53     /** Uid Source type contacts default/prefered address */
       
    54     ESourceContactsPref,
       
    55     /** Uid Source type contacts work address */
       
    56     ESourceContactsWork,
       
    57     /** Uid Source type contacts home address */
       
    58     ESourceContactsHome,
       
    59     /** Uid Source type landmarks category */
       
    60     ESourceLandmarksCategory,
       
    61     /** Uid Source type landmarks user created category */
       
    62     ESourceLandmarksUserCat,
       
    63     /** Uid Source type landmarks 'contacts' category */
       
    64     ESourceLandmarksContactsCat,
       
    65     /** Uid Source type landmarks 'calendar' category */
       
    66     ESourceLandmarksCalendarCat,
       
    67     /** Uid Source type maps history' category */
       
    68     ESourceLandmarksHistoryCat
       
    69 };
       
    70 
    49 
    71 // lookup database folder path
    50 // lookup database folder path
    72 _LIT( KLookupDbPath, "c:\\mylocations\\" );
    51 _LIT( KLookupDbPath, "c:\\mylocations\\" );
    73 
    52 
    74 //Mylocations resource file
    53 //Mylocations resource file
   117 // uid column number
    96 // uid column number
   118 const TInt KColumncntUid = 1;
    97 const TInt KColumncntUid = 1;
   119 // source type column number
    98 // source type column number
   120 const TInt KColumnFilePath = 3;
    99 const TInt KColumnFilePath = 3;
   121 
   100 
       
   101 const TInt KBufSize=256;
       
   102 
   122 #endif  // __MYLOCATIONSDEFINES_H__
   103 #endif  // __MYLOCATIONSDEFINES_H__
   123 // End of file
   104 // End of file
   124 
   105