src/hbwidgets/devicedialogs/hbdeviceprogressdialogsymbian.cpp
changeset 30 80e4d18b72f5
parent 28 b7da29130b0e
equal deleted inserted replaced
28:b7da29130b0e 30:80e4d18b72f5
   451     \var CHbDeviceProgressDialogSymbian::TType CHbDeviceProgressDialogSymbian::EWaitDialog
   451     \var CHbDeviceProgressDialogSymbian::TType CHbDeviceProgressDialogSymbian::EWaitDialog
   452     Wait dialog.
   452     Wait dialog.
   453 */
   453 */
   454 
   454 
   455 /*!
   455 /*!
   456     Symbian two phase constructor. Returns a pointer to CHbDeviceNotificationDialogSymbian instance.
   456     Constructs a new CHbDeviceNotificationDialogSymbian and returns a pointer it. 
   457 
   457 
   458     \param aType Must be one of the defined CHbDeviceProgressDialogSymbian::TType enumerations.
   458     \param aType Must be one of the defined CHbDeviceProgressDialogSymbian::TType enumerations.
   459     Default value is CHbDeviceProgressDialogSymbian::EProgressDialog.
   459     Default value is CHbDeviceProgressDialogSymbian::EProgressDialog.
   460     \param aObserver Pointer to observer.
   460     \param aObserver Pointer to event observer. 0 if no observer.
   461 */
   461 */
   462 EXPORT_C CHbDeviceProgressDialogSymbian* CHbDeviceProgressDialogSymbian::NewL(
   462 EXPORT_C CHbDeviceProgressDialogSymbian* CHbDeviceProgressDialogSymbian::NewL(
   463     TType aType,
   463     TType aType,
   464     MHbDeviceProgressDialogObserver* aObserver)
   464     MHbDeviceProgressDialogObserver* aObserver)
   465     {
   465     {
   470     CleanupStack::Pop(self);
   470     CleanupStack::Pop(self);
   471     return self;
   471     return self;
   472     }
   472     }
   473 
   473 
   474 /*!
   474 /*!
   475     Destructor.
   475     Destructs CHbDeviceProgressDialogSymbian. Closes also the dialog widget launched by
       
   476     ShowL().
   476 */
   477 */
   477 EXPORT_C CHbDeviceProgressDialogSymbian::~CHbDeviceProgressDialogSymbian()
   478 EXPORT_C CHbDeviceProgressDialogSymbian::~CHbDeviceProgressDialogSymbian()
   478     {
   479     {
   479     delete d;
   480     delete d;
   480     }
   481     }
   807 EXPORT_C void CHbDeviceProgressDialogSymbian::SetObserver(MHbDeviceProgressDialogObserver* aObserver)
   808 EXPORT_C void CHbDeviceProgressDialogSymbian::SetObserver(MHbDeviceProgressDialogObserver* aObserver)
   808     {
   809     {
   809     d->iObserver = aObserver;
   810     d->iObserver = aObserver;
   810     }
   811     }
   811 
   812 
   812 /*
   813 /*!
   813     Constructor.
   814     Constructs CHbDeviceProgressDialogSymbian.
   814 */
   815 */
   815 CHbDeviceProgressDialogSymbian::CHbDeviceProgressDialogSymbian()
   816 CHbDeviceProgressDialogSymbian::CHbDeviceProgressDialogSymbian()
   816     {
   817     {
   817     }
   818     }
   818 
   819