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 void PushL ( CBTDeviceArray *)
Private Member Functions
void ResetAndDestroy ( TAny *)

Member Functions Documentation

PushL(CBTDeviceArray *)

IMPORT_C void PushL ( 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 *)

void ResetAndDestroy ( 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"