src/hbcore/devicedialogbase/hbindicatorsymbian.cpp
changeset 30 80e4d18b72f5
parent 28 b7da29130b0e
equal deleted inserted replaced
28:b7da29130b0e 30:80e4d18b72f5
   275     {
   275     {
   276     SetError(aError);
   276     SetError(aError);
   277     return KErrNone;
   277     return KErrNone;
   278     }
   278     }
   279 
   279 
       
   280 /*!
       
   281     Constructs a new CHbIndicatorSymbian and returns a pointer it.
       
   282 */
   280 EXPORT_C CHbIndicatorSymbian* CHbIndicatorSymbian::NewL()
   283 EXPORT_C CHbIndicatorSymbian* CHbIndicatorSymbian::NewL()
   281     {
   284     {
   282     CHbIndicatorSymbian *me = new (ELeave) CHbIndicatorSymbian();
   285     CHbIndicatorSymbian *me = new (ELeave) CHbIndicatorSymbian();
   283     CleanupStack::PushL(me);
   286     CleanupStack::PushL(me);
   284     me->ConstructL();
   287     me->ConstructL();
   285     CleanupStack::Pop(me);
   288     CleanupStack::Pop(me);
   286     return me;
   289     return me;
   287     }
   290     }
   288 
   291 
       
   292 /*!
       
   293     Destructs CHbIndicatorSymbian.
       
   294 */
   289 EXPORT_C CHbIndicatorSymbian::~CHbIndicatorSymbian()
   295 EXPORT_C CHbIndicatorSymbian::~CHbIndicatorSymbian()
   290 {
   296 {
   291     delete d;
   297     delete d;
   292 }
   298 }
   293 
   299