equal
deleted
inserted
replaced
23 // INCLUDES |
23 // INCLUDES |
24 #include "HttpClientAppInstance.h" |
24 #include "HttpClientAppInstance.h" |
25 #include "HttpConnHandler.h" |
25 #include "HttpConnHandler.h" |
26 #include "DownloadDataServ.h" |
26 #include "DownloadDataServ.h" |
27 |
27 |
28 #include <httpdownloadmgrcommon.h> |
28 #include <HttpDownloadMgrCommon.h> |
29 #include <e32base.h> |
29 #include <e32base.h> |
30 #include <es_sock.h> |
30 #include <es_sock.h> |
31 #include <http.h> |
31 #include <http.h> |
32 |
32 |
33 // CONSTANTS |
33 // CONSTANTS |
50 class RFs; |
50 class RFs; |
51 class RFile; |
51 class RFile; |
52 class CFileMan; |
52 class CFileMan; |
53 class CHeaderField; |
53 class CHeaderField; |
54 class CHttpStorage; |
54 class CHttpStorage; |
55 #ifdef DOWNLOADMGR_PATH_PLUGIN_ENABLED_FF |
55 |
56 class CDownloadPathHandler; |
56 |
57 #endif |
|
58 /** |
57 /** |
59 * ?one_line_short_description. |
58 * ?one_line_short_description. |
60 * ?other_description_lines |
59 * ?other_description_lines |
61 * |
60 * |
62 * @lib ?library |
61 * @lib ?library |
458 */ |
457 */ |
459 void Connected(); |
458 void Connected(); |
460 void Suspended(); |
459 void Suspended(); |
461 void Disconnected(); |
460 void Disconnected(); |
462 void ConnectionFailed( TInt aError ); |
461 void ConnectionFailed( TInt aError ); |
463 void SetRetryFlag(TBool aFlag){ iRetryFlag = aFlag; } |
|
464 TBool GetRetryFlag(){ return iRetryFlag;} |
|
465 |
462 |
466 protected: // New functions |
463 protected: // New functions |
467 |
464 |
468 /** |
465 /** |
469 * Does real reset on download |
466 * Does real reset on download |
977 * ConvertDownloadNameUniqueL |
974 * ConvertDownloadNameUniqueL |
978 */ |
975 */ |
979 void CHttpDownload::ConvertDownloadNameUniqueL( HBufC*& filePath, |
976 void CHttpDownload::ConvertDownloadNameUniqueL( HBufC*& filePath, |
980 HBufC*& fileName, |
977 HBufC*& fileName, |
981 HBufC*& fileExtn); |
978 HBufC*& fileExtn); |
982 #ifdef DOWNLOADMGR_PATH_PLUGIN_ENABLED_FF |
979 |
983 /* |
|
984 * Gets the instance of CDownloadPathHandler from the Plugin implementaion, if present |
|
985 */ |
|
986 CDownloadPathHandler* GetDownloadPathPluginInstanceL(); |
|
987 /* |
|
988 * Get Updated path from the Plugin Implementation |
|
989 */ |
|
990 void GetUpdatedPathFromPluginL(CDownloadPathHandler* downloadPathPlugin,TFileName& rootPath, TPtr& fileNamePtr); |
|
991 #endif |
|
992 public: // Data |
980 public: // Data |
993 // ?one_line_short_description_of_data |
981 // ?one_line_short_description_of_data |
994 //?data_declaration; |
982 //?data_declaration; |
995 |
983 |
996 protected: // Data |
984 protected: // Data |
1121 TInt iMoLength; //Multiple Media Object Length |
1109 TInt iMoLength; //Multiple Media Object Length |
1122 TInt iActiveDownload; // Currenlty active Cod Download |
1110 TInt iActiveDownload; // Currenlty active Cod Download |
1123 TInt iActivePlayedDownload; // Currenlty actively played Cod Download |
1111 TInt iActivePlayedDownload; // Currenlty actively played Cod Download |
1124 TInt iMOMoved; // index for bulk move |
1112 TInt iMOMoved; // index for bulk move |
1125 TBool iMoDownloadCompleted; //MO download Completed.But Move will be issued by PD Client |
1113 TBool iMoDownloadCompleted; //MO download Completed.But Move will be issued by PD Client |
1126 TBool iRetryFlag; |
|
1127 |
1114 |
1128 public: // Friend classes |
1115 public: // Friend classes |
1129 //?friend_class_declaration; |
1116 //?friend_class_declaration; |
1130 protected: // Friend classes |
1117 protected: // Friend classes |
1131 |
1118 |