equal
deleted
inserted
replaced
18 |
18 |
19 |
19 |
20 |
20 |
21 #include "creator_accesspoint.h" |
21 #include "creator_accesspoint.h" |
22 #include "creator_traces.h" |
22 #include "creator_traces.h" |
23 #include <aplistitemlist.h> |
23 #include <ApListItemList.h> |
24 #include <aplistitem.h> |
24 #include <ApListItem.h> |
25 #include "enginewrapper.h" |
25 #include "enginewrapper.h" |
26 |
26 |
27 static const TInt KAccessPointsFieldLength = 128; |
27 static const TInt KAccessPointsFieldLength = 128; |
28 |
28 |
29 _LIT(KCreatorAccessPointsPrefixName, "CR_"); |
29 _LIT(KCreatorAccessPointsPrefixName, "CR_"); |
186 delete iParameters; |
186 delete iParameters; |
187 } |
187 } |
188 |
188 |
189 //---------------------------------------------------------------------------- |
189 //---------------------------------------------------------------------------- |
190 |
190 |
191 TBool CCreatorAccessPoints::AskDataFromUserL(TInt aCommand, TInt& aNumberOfEntries) |
191 TBool CCreatorAccessPoints::AskDataFromUserL(TInt aCommand) |
192 { |
192 { |
193 LOGSTRING("Creator: CCreatorAccessPoints::AskDataFromUserL"); |
193 LOGSTRING("Creator: CCreatorAccessPoints::AskDataFromUserL"); |
194 |
194 |
|
195 CCreatorModuleBase::AskDataFromUserL( aCommand );//ignore retval |
|
196 |
195 if( aCommand == ECmdDeleteIAPs ) |
197 if( aCommand == ECmdDeleteIAPs ) |
196 { |
198 { |
197 return iEngine->GetEngineWrapper()->YesNoQueryDialog(_L("Delete all Access Points?") ); |
199 return iEngine->GetEngineWrapper()->YesNoQueryDialog(_L("Delete all Access Points?"), this, ECreatorModuleDelete ); |
198 } |
200 } |
199 else if( aCommand == ECmdDeleteCreatorIAPs ) |
201 else if( aCommand == ECmdDeleteCreatorIAPs ) |
200 { |
202 { |
201 return iEngine->GetEngineWrapper()->YesNoQueryDialog(_L("Delete all Access Points created with Creator?") ); |
203 return iEngine->GetEngineWrapper()->YesNoQueryDialog(_L("Delete all Access Points created with Creator?"), this, ECreatorModuleDelete ); |
202 } |
204 } |
203 |
205 |
204 return iEngine->GetEngineWrapper()->EntriesQueryDialog(aNumberOfEntries, _L("How many entries to create?")); |
206 return iEngine->GetEngineWrapper()->EntriesQueryDialog(&iEntriesToBeCreated, _L("How many entries to create?"), EFalse, this, ECreatorModuleStart ); |
205 } |
207 } |
206 |
208 |
207 |
209 |
208 //---------------------------------------------------------------------------- |
210 //---------------------------------------------------------------------------- |
209 |
211 |