Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

PRInt32 tmTransactionService::GetQueueID ( const nsACString &  aDomainName  )  [protected]

the ID corresponding to the domain name passed in

TM_NO_ID if the name is not found.

Definition at line 432 of file tmTransactionService.cpp.

References tmVector::Size().


  PRUint32 size = mQueueMaps.Size();
  tm_queue_mapping *qmap = nsnull;
  for (PRUint32 index = 0; index < size; index++) {
    qmap = (tm_queue_mapping*) mQueueMaps[index];
    if (qmap && aDomainName.Equals(qmap->domainName))
      return qmap->queueID;
  return TM_NO_ID;

Generated by  Doxygen 1.6.0   Back to index