equal
deleted
inserted
replaced
23 |
23 |
24 #include "engine.h" |
24 #include "engine.h" |
25 #include "creator_modulebase.h" |
25 #include "creator_modulebase.h" |
26 |
26 |
27 #include <e32base.h> |
27 #include <e32base.h> |
28 #include <epos_landmarks.h> |
28 #include <EPos_Landmarks.h> |
29 |
29 |
30 class CLandmarkParameters; |
30 class CLandmarkParameters; |
31 class CPosLandmarkDatabase; |
31 class CPosLandmarkDatabase; |
32 class CPosLmOperation; |
32 class CPosLmOperation; |
33 |
33 |
34 static const TInt KLandmarkFieldLength = 256; |
34 static const TInt KLandmarkFieldLength = 256; |
35 |
35 |
36 class CCreatorLandmarks : public CBase, public MCreatorModuleBase |
36 class CCreatorLandmarks : public CCreatorModuleBase |
37 { |
37 { |
38 public: |
38 public: |
39 static CCreatorLandmarks* NewL(CCreatorEngine* aEngine); |
39 static CCreatorLandmarks* NewL(CCreatorEngine* aEngine); |
40 static CCreatorLandmarks* NewLC(CCreatorEngine* aEngine); |
40 static CCreatorLandmarks* NewLC(CCreatorEngine* aEngine); |
41 ~CCreatorLandmarks(); |
41 ~CCreatorLandmarks(); |
44 CCreatorLandmarks(); |
44 CCreatorLandmarks(); |
45 void ConstructL(CCreatorEngine* aEngine); // from MCreatorModuleBase |
45 void ConstructL(CCreatorEngine* aEngine); // from MCreatorModuleBase |
46 TPosLmItemId GetCategoryIdL( TPosLmGlobalCategory aGlobalCategoryID ); |
46 TPosLmItemId GetCategoryIdL( TPosLmGlobalCategory aGlobalCategoryID ); |
47 |
47 |
48 public: |
48 public: |
49 TBool AskDataFromUserL(TInt aCommand, TInt& aNumberOfEntries); // from MCreatorModuleBase |
49 TBool AskDataFromUserL( TInt aCommand ); // from MCreatorModuleBase |
|
50 |
50 TInt CreateLandmarkEntryL(CLandmarkParameters *aParameters); |
51 TInt CreateLandmarkEntryL(CLandmarkParameters *aParameters); |
51 static TPosLmGlobalCategory GetCategoryIdL(const TDesC& aCategoryStr); |
52 static TPosLmGlobalCategory GetCategoryIdL(const TDesC& aCategoryStr); |
52 void DeleteAllL(); |
53 void DeleteAllL(); |
53 void DeleteAllCreatedByCreatorL(); |
54 void DeleteAllCreatedByCreatorL(); |
54 |
55 |