equal
deleted
inserted
replaced
20 #ifndef CUSERINTERACTIONSUTILS_H |
20 #ifndef CUSERINTERACTIONSUTILS_H |
21 #define CUSERINTERACTIONSUTILS_H |
21 #define CUSERINTERACTIONSUTILS_H |
22 |
22 |
23 // INCLUDES |
23 // INCLUDES |
24 #include <e32base.h> |
24 #include <e32base.h> |
25 #include <E32DEF.H> |
25 #include <e32def.h> |
26 #include <e32std.h> |
26 #include <e32std.h> |
27 #include <apparc.h> |
27 #include <apparc.h> |
28 #include <httpdownloadmgrcommon.h> |
28 #include <HttpDownloadMgrCommon.h> |
29 #include <vwsdef.h> |
29 #include <vwsdef.h> |
30 #include <AknServerApp.h> |
30 #include <AknServerApp.h> |
31 #include "CDownloadUtils.h" |
31 #include "CDownloadUtils.h" |
32 #include <AknTaskList.h> |
32 #include <AknTaskList.h> |
33 |
33 |
356 |
356 |
357 /** |
357 /** |
358 * To Know if its a COD DL |
358 * To Know if its a COD DL |
359 */ |
359 */ |
360 TBool IsCodDownload(); |
360 TBool IsCodDownload(); |
361 |
|
362 /** |
|
363 * Performs a simple check for existence of aFileName. |
|
364 * @param aFileName The filename selected by user, including path |
|
365 * @return TBool indicating if file exists |
|
366 */ |
|
367 TBool IsDuplicateL( const TPtrC& aFileName ); |
|
368 |
361 |
369 protected: // Constructors |
362 protected: // Constructors |
370 |
363 |
371 /** |
364 /** |
372 * C++ default constructor. |
365 * C++ default constructor. |
399 * @param aCounter number of times filename has been modified |
392 * @param aCounter number of times filename has been modified |
400 * @return TBool was new name genearated successfully |
393 * @return TBool was new name genearated successfully |
401 */ |
394 */ |
402 TBool GenerateNewNameL( TPtr& aFileName, TInt& aCounter ); |
395 TBool GenerateNewNameL( TPtr& aFileName, TInt& aCounter ); |
403 |
396 |
|
397 /** |
|
398 * Performs a simple check for existence of aFileName. |
|
399 * @param aFileName The filename selected by user, including path |
|
400 * @return TBool indicating if file exists |
|
401 */ |
|
402 TBool IsDuplicateL( const TPtrC& aFileName ); |
404 |
403 |
405 private: // Data |
404 private: // Data |
406 |
405 |
407 CCoeEnv& iCoeEnv; ///< Reference to CONE environment. |
406 CCoeEnv& iCoeEnv; ///< Reference to CONE environment. |
408 CDownloadMgrUiBase& iDMgrUiBase; ///< Reference to UI base functionality. |
407 CDownloadMgrUiBase& iDMgrUiBase; ///< Reference to UI base functionality. |