BTDeviceArrayCleanupStack Class Reference

class BTDeviceArrayCleanupStack

Cleanup utility for CBTDeviceArrays.

Creates a TCleanupItem that calls ResetAndDestroy and then deletes the array.

Public Member Functions
IMPORT_C voidPushL(CBTDeviceArray *)
Private Member Functions
voidResetAndDestroy(TAny *)

Member Functions Documentation

PushL(CBTDeviceArray *)

IMPORT_C voidPushL(CBTDeviceArray *aBTDeviceArray)[static]

Push an object onto the cleanupstack.

leave
This method will leave if an error occurs.

Parameters

CBTDeviceArray * aBTDeviceArray"The CBTDeviceArray object to be pushed onto the cleanupstack.

ResetAndDestroy(TAny *)

voidResetAndDestroy(TAny *aBTDeviceArray)[private, static]

Method used by the cleanup stack to reset and destroy the array.

Parameters

TAny * aBTDeviceArray"The array to be reset and destroyed"