Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.1 KiB

  1. // TransactionWrap.cpp: implementation of the CTransactionWrap class.
  2. //
  3. // (c) Copyright Schlumberger Technology Corp., unpublished work, created
  4. // 1999. This computer program includes Confidential, Proprietary
  5. // Information and is a Trade Secret of Schlumberger Technology Corp. All
  6. // use, disclosure, and/or reproduction is prohibited unless authorized
  7. // in writing. All Rights Reserved.
  8. //////////////////////////////////////////////////////////////////////
  9. #include "TransactionWrap.h"
  10. #include "cciCard.h"
  11. //////////////////////////////////////////////////////////////////////
  12. // Construction/Destruction
  13. //////////////////////////////////////////////////////////////////////
  14. using namespace cci;
  15. CTransactionWrap::CTransactionWrap(CCard const &rcard)
  16. : m_LockWrap(rcard->SmartCard().Lock())
  17. {}
  18. CTransactionWrap::CTransactionWrap(CAbstractCard const *pcard)
  19. : m_LockWrap(pcard->SmartCard().Lock())
  20. {}
  21. CTransactionWrap::CTransactionWrap(CAbstractCard const &rcard)
  22. : m_LockWrap(rcard.SmartCard().Lock())
  23. {}
  24. CTransactionWrap::~CTransactionWrap()
  25. {}