CTrapCleanup Class Reference

#include <e32base.h>

Link against: euser_v5.lib

class CTrapCleanup : public CBase

Inherits from

Detailed Description

Cleanup stack interface.

The creation and destruction of a cleanup stack is done automatically by GUI applications and servers.

Constructor & Destructor Documentation

CTrapCleanup ( )

IMPORT_CCTrapCleanup()[protected]

Default constructor.

~CTrapCleanup ( )

IMPORT_C~CTrapCleanup()

Destructor.

Frees resources owned by the object, prior to its destruction. This cleanup stack ceases to be the current cleanup stack.

If there is a stack of cleanup stacks, then the next cleanup stack becomes the current cleanup stack.

Member Function Documentation

New ( )

IMPORT_C CTrapCleanup *New()[static]

Allocates and constructs a cleanup stack.

If successfully constructed, this cleanup stack becomes the current cleanup stack.

Return Value
A pointer to the new cleanup stack. This pointer is NULL, if allocation fails.