epoc32/include/mw/downloadmgrclient.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
    20 #define __DOWNLOADMGR_CLIENT_H__
    20 #define __DOWNLOADMGR_CLIENT_H__
    21 
    21 
    22 //  INCLUDES
    22 //  INCLUDES
    23 #include <e32base.h>
    23 #include <e32base.h>
    24 #include <f32file.h>
    24 #include <f32file.h>
    25 #include <HttpDownloadMgrCommon.h>
    25 #include <httpdownloadmgrcommon.h>
    26 #include <http.h>
    26 #include <http.h>
    27 
    27 
    28 // FORWARD DECLARATIONS
    28 // FORWARD DECLARATIONS
    29 class CDownloadMgrHandler;
    29 class CDownloadMgrHandler;
    30 class RHttpDownload;
    30 class RHttpDownload;
   114 *  Creates a download manager session and performs operations on it 
   114 *  Creates a download manager session and performs operations on it 
   115 *
   115 *
   116 *  @lib -
   116 *  @lib -
   117 *  @since Series 60 2.8
   117 *  @since Series 60 2.8
   118 */
   118 */
       
   119 
   119 NONSHARABLE_CLASS( RHttpDownloadMgr ) : public RSessionBase,
   120 NONSHARABLE_CLASS( RHttpDownloadMgr ) : public RSessionBase,
   120                                         public MHttpDownloadMgrObserver
   121                                         public MHttpDownloadMgrObserver
   121 	{
   122 	{
   122     public:
   123     public:
   123         /**
   124         /**
   362 		* Set next uri observer.
   363 		* Set next uri observer.
   363 		* @param aObserver Observer.
   364 		* @param aObserver Observer.
   364         * @return None.
   365         * @return None.
   365 		*/        
   366 		*/        
   366         IMPORT_C void SetNextUriObserver( MHttpDownloadMgrNextUriObserver* aObserver );
   367         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();
   367 
   375 
   368     protected: // from MHttpDownloadMgrObserver
   376     protected: // from MHttpDownloadMgrObserver
   369 
   377 
   370         /**
   378         /**
   371         * Indicates an event.
   379         * Indicates an event.