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.

LibNfcOperation.cpp 364B

1234567891011121314151617
  1. //
  2. // Created by robin on 10/1/17.
  3. //
  4. #include "LibNfcOperation.h"
  5. LibNfcOperation::LibNfcOperation(QSharedPointer<LibNfcBusiness>& libNfc,
  6. std::function<void(QSharedPointer<LibNfcBusiness>)> operation)
  7. : m_pLibNfc(libNfc)
  8. , m_operation(operation)
  9. {
  10. }
  11. void LibNfcOperation::run()
  12. {
  13. m_operation(m_pLibNfc);
  14. }