src/hbcore/devicedialogbase/hbdevicedialogsymbian.cpp
changeset 30 80e4d18b72f5
parent 28 b7da29130b0e
equal deleted inserted replaced
28:b7da29130b0e 30:80e4d18b72f5
   498         return false;
   498         return false;
   499     }
   499     }
   500 }
   500 }
   501 
   501 
   502 /*!
   502 /*!
   503     Constructs CHbDeviceDialogSymbian object. \a f contains construct flags.
   503     Constructs CHbDeviceDialogSymbian and returns a pointer to it.
       
   504     \a f contains construct flags.
   504 */
   505 */
   505 EXPORT_C CHbDeviceDialogSymbian* CHbDeviceDialogSymbian::NewL(TInt aFlags)
   506 EXPORT_C CHbDeviceDialogSymbian* CHbDeviceDialogSymbian::NewL(TInt aFlags)
   506 {
   507 {
   507      CHbDeviceDialogSymbian* self = new (ELeave) CHbDeviceDialogSymbian;
   508      CHbDeviceDialogSymbian* self = new (ELeave) CHbDeviceDialogSymbian;
   508      CleanupStack::PushL(self);
   509      CleanupStack::PushL(self);
   513      }
   514      }
   514      CleanupStack::Pop(self);
   515      CleanupStack::Pop(self);
   515      return self;
   516      return self;
   516 }
   517 }
   517 
   518 
       
   519 /*!
       
   520     Constructs CHbDeviceDialogSymbian.
       
   521 */
   518 CHbDeviceDialogSymbian::CHbDeviceDialogSymbian()
   522 CHbDeviceDialogSymbian::CHbDeviceDialogSymbian()
   519 {
   523 {
   520 }
   524 }
   521 
   525 
       
   526 /*!
       
   527     Destructs CHbDeviceDialogSymbian. The dialog launched by ShowL()
       
   528     is closed if observer is set. If there is no observer, the dialog is
       
   529     left executing and should close itself by timeout.
       
   530 */
   522 EXPORT_C CHbDeviceDialogSymbian::~CHbDeviceDialogSymbian()
   531 EXPORT_C CHbDeviceDialogSymbian::~CHbDeviceDialogSymbian()
   523 {
   532 {
   524     delete d;
   533     delete d;
   525 }
   534 }
   526 
   535