policymanagement/pmdmadapter/src/pmadapter.cpp
changeset 73 ae69c2e8bc34
parent 47 dd41e7de3375
equal deleted inserted replaced
71:d2517372cc44 73:ae69c2e8bc34
  1505 // CPmAdapter::NewL( TInt aStatusRef, const TDesC8& aURI, const TDesC8 &aArgument )
  1505 // CPmAdapter::NewL( TInt aStatusRef, const TDesC8& aURI, const TDesC8 &aArgument )
  1506 // -------------------------------------------------------------------------------------
  1506 // -------------------------------------------------------------------------------------
  1507 CPmCommand *CPmCommand::NewL( TInt aStatusRef, const TDesC8& aURI, const TDesC8 &aArgument )
  1507 CPmCommand *CPmCommand::NewL( TInt aStatusRef, const TDesC8& aURI, const TDesC8 &aArgument )
  1508 	{
  1508 	{
  1509 	CPmCommand *self = new ( ELeave ) CPmCommand( aStatusRef, aURI );
  1509 	CPmCommand *self = new ( ELeave ) CPmCommand( aStatusRef, aURI );
       
  1510 	CleanupStack::PushL(self);
  1510 	self->ConstructL( aArgument );
  1511 	self->ConstructL( aArgument );
       
  1512 	CleanupStack::Pop(self); //self
  1511 	return self ;
  1513 	return self ;
  1512 	}
  1514 	}
  1513 	
  1515 	
  1514 
  1516 
  1515 
  1517