kernel/eka/include/e32base.inl
changeset 270 ea2cef07f9fe
parent 0 a41df078684a
equal deleted inserted replaced
255:d45b74d3fb20 270:ea2cef07f9fe
  2968 
  2968 
  2969 
  2969 
  2970 
  2970 
  2971 
  2971 
  2972 // Class TCleanupItem
  2972 // Class TCleanupItem
  2973 inline TCleanupItem::TCleanupItem(TCleanupOperation anOperation)
  2973 inline TCleanupItem::TCleanupItem(TCleanupOperation anOperation, TAny *aPtr)
  2974 	: iOperation(anOperation)
       
  2975 /**
       
  2976 Constructs the object with a cleanup operation.
       
  2977 
       
  2978 @param anOperation  A cleanup operation which will be invoked by the pop and
       
  2979                     destroy action resulting from a subsequent call to
       
  2980 					CleanupStack::PopAndDestroy().
       
  2981 */
       
  2982 	{}
       
  2983 
       
  2984 
       
  2985 
       
  2986 
       
  2987 inline TCleanupItem::TCleanupItem(TCleanupOperation anOperation,TAny *aPtr)
       
  2988 	: iOperation(anOperation), iPtr(aPtr)
  2974 	: iOperation(anOperation), iPtr(aPtr)
  2989 /**
  2975 /**
  2990 Constructs the object with a cleanup operation and a pointer to the object
  2976 Constructs the object with a cleanup operation and a pointer to the object
  2991 to be cleaned up.
  2977 to be cleaned up.
  2992 
  2978 
  2993 @param anOperation A cleanup operation which will be invoked by the pop
  2979 @param anOperation A cleanup operation which will be invoked by the pop
  2994                    and destroy action resulting from a subsequent call to
  2980                    and destroy action resulting from a subsequent call to
  2995 				   CleanupStack::PopAndDestroy().
  2981 				   CleanupStack::PopAndDestroy().
  2996 
  2982 
  2997 @param aPtr        A pointer to an object which is the target of the
  2983 @param aPtr        A pointer to an object which is the target of the
  2998                    cleanup operation.
  2984                    cleanup operation. Defaults to NULL if not supplied.
  2999 */
  2985 */
  3000 	{}
  2986 	{}
  3001 
  2987 
  3002 
  2988 
  3003 
  2989