equal
deleted
inserted
replaced
17 |
17 |
18 |
18 |
19 #ifndef __DOWNLOADMGR_CLIENT_H__ |
19 #ifndef __DOWNLOADMGR_CLIENT_H__ |
20 #define __DOWNLOADMGR_CLIENT_H__ |
20 #define __DOWNLOADMGR_CLIENT_H__ |
21 |
21 |
|
22 #warning This Download Manager Client API will be removed wk25. Please see http://wikis.in.nokia.com/Browser/APIMigration for more information |
|
23 |
22 // INCLUDES |
24 // INCLUDES |
23 #include <e32base.h> |
25 #include <e32base.h> |
24 #include <f32file.h> |
26 #include <f32file.h> |
25 #include <httpdownloadmgrcommon.h> |
27 #include <HttpDownloadMgrCommon.h> |
26 #include <http.h> |
28 #include <http.h> |
27 |
29 |
28 // FORWARD DECLARATIONS |
30 // FORWARD DECLARATIONS |
29 class CDownloadMgrHandler; |
31 class CDownloadMgrHandler; |
30 class RHttpDownload; |
32 class RHttpDownload; |
114 * Creates a download manager session and performs operations on it |
116 * Creates a download manager session and performs operations on it |
115 * |
117 * |
116 * @lib - |
118 * @lib - |
117 * @since Series 60 2.8 |
119 * @since Series 60 2.8 |
118 */ |
120 */ |
119 |
|
120 NONSHARABLE_CLASS( RHttpDownloadMgr ) : public RSessionBase, |
121 NONSHARABLE_CLASS( RHttpDownloadMgr ) : public RSessionBase, |
121 public MHttpDownloadMgrObserver |
122 public MHttpDownloadMgrObserver |
122 { |
123 { |
123 public: |
124 public: |
124 /** |
125 /** |
363 * Set next uri observer. |
364 * Set next uri observer. |
364 * @param aObserver Observer. |
365 * @param aObserver Observer. |
365 * @return None. |
366 * @return None. |
366 */ |
367 */ |
367 IMPORT_C void SetNextUriObserver( MHttpDownloadMgrNextUriObserver* aObserver ); |
368 IMPORT_C void SetNextUriObserver( MHttpDownloadMgrNextUriObserver* aObserver ); |
368 |
|
369 /** |
|
370 * Checks for possibility of a new donload |
|
371 * @param None |
|
372 * @return TBool,possibility of a new download. |
|
373 */ |
|
374 TBool IsNewDownloadPossible(); |
|
375 |
369 |
376 protected: // from MHttpDownloadMgrObserver |
370 protected: // from MHttpDownloadMgrObserver |
377 |
371 |
378 /** |
372 /** |
379 * Indicates an event. |
373 * Indicates an event. |