kernel/eka/include/e32base.h
changeset 281 13fbfa31d2ba
parent 109 b3a1d9898418
equal deleted inserted replaced
266:0008ccd16016 281:13fbfa31d2ba
  1312 The class allows cleanup to be more sophisticated than simply deleting objects,
  1312 The class allows cleanup to be more sophisticated than simply deleting objects,
  1313 for example, releasing access to some shared resource.
  1313 for example, releasing access to some shared resource.
  1314 */
  1314 */
  1315 	{
  1315 	{
  1316 public:
  1316 public:
  1317 	inline TCleanupItem(TCleanupOperation anOperation);
  1317 	inline TCleanupItem(TCleanupOperation anOperation, TAny* aPtr = 0);
  1318 	inline TCleanupItem(TCleanupOperation anOperation,TAny* aPtr);
       
  1319 private:
  1318 private:
  1320 	TCleanupOperation iOperation;
  1319 	TCleanupOperation iOperation;
  1321 	TAny* iPtr;
  1320 	TAny* iPtr;
  1322 	friend class TCleanupStackItem;
  1321 	friend class TCleanupStackItem;
  1323 	};
  1322 	};