src/hbwidgets/devicedialogs/hbdevicenotificationdialogsymbian.cpp
changeset 30 80e4d18b72f5
parent 28 b7da29130b0e
equal deleted inserted replaced
28:b7da29130b0e 30:80e4d18b72f5
   372     \var CHbDeviceNotificationDialogSymbian::TextWrapping CHbDeviceNotificationDialogSymbian::TextWrapAnywhere
   372     \var CHbDeviceNotificationDialogSymbian::TextWrapping CHbDeviceNotificationDialogSymbian::TextWrapAnywhere
   373     Wrap anywhere.
   373     Wrap anywhere.
   374 */
   374 */
   375 
   375 
   376 /*!
   376 /*!
   377     Symbian two phase constructor. Returns a pointer to CHbDeviceNotificationDialogSymbian instance.
   377     Constructs a new CHbDeviceNotificationDialog and returns a pointer it.
   378     \a aObserver Pointer to the observer.
   378     \a aObserver is a pointer to event observer or 0 if no observer.
   379 */
   379 */
   380 EXPORT_C CHbDeviceNotificationDialogSymbian* CHbDeviceNotificationDialogSymbian::NewL(
   380 EXPORT_C CHbDeviceNotificationDialogSymbian* CHbDeviceNotificationDialogSymbian::NewL(
   381     MHbDeviceNotificationDialogObserver* aObserver)
   381     MHbDeviceNotificationDialogObserver* aObserver)
   382     {
   382     {
   383     CHbDeviceNotificationDialogSymbian* self = new (ELeave) CHbDeviceNotificationDialogSymbian();
   383     CHbDeviceNotificationDialogSymbian* self = new (ELeave) CHbDeviceNotificationDialogSymbian();
   386     CleanupStack::Pop(self);
   386     CleanupStack::Pop(self);
   387     return self;
   387     return self;
   388     }
   388     }
   389 
   389 
   390 /*!
   390 /*!
   391     Destructor.
   391     Destructs CHbDeviceNotificationDialogSymbian. The notification launched by ShowL()
       
   392     is closed if observer is set. If there is no observer, it is
       
   393     left executing and closes itself by timeout.
   392 */
   394 */
   393 EXPORT_C CHbDeviceNotificationDialogSymbian::~CHbDeviceNotificationDialogSymbian()
   395 EXPORT_C CHbDeviceNotificationDialogSymbian::~CHbDeviceNotificationDialogSymbian()
   394     {
   396     {
   395     delete d;
   397     delete d;
   396     }
   398     }
   660     {
   662     {
   661     d->Close();
   663     d->Close();
   662     }
   664     }
   663 
   665 
   664 /*!
   666 /*!
   665     Constructor. 
   667     Constructs CHbDeviceNotificationDialogSymbian.
   666 */
   668 */
   667 CHbDeviceNotificationDialogSymbian::CHbDeviceNotificationDialogSymbian()
   669 CHbDeviceNotificationDialogSymbian::CHbDeviceNotificationDialogSymbian()
   668     {
   670     {
   669     }
   671     }
   670 
   672