Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32base.h
Link against: euser.lib

Class CTrapCleanup

class CTrapCleanup : public CBase;

Description

Cleanup stack interface.

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

Derivation

Members

Defined in CTrapCleanup:
CTrapCleanup(), New(), ~CTrapCleanup()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


~CTrapCleanup()

IMPORT_C ~CTrapCleanup();

Description

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.


CTrapCleanup()

protected: IMPORT_C CTrapCleanup();

Description

Default constructor.

[Top]


Member functions


New()

static IMPORT_C CTrapCleanup *New();

Description

Allocates and constructs a cleanup stack.

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

Return value

CTrapCleanup *

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