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.

NfcDeviceBusiness.h 516B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // Created by robin on 7/22/16.
  3. //
  4. #ifndef MIFARE_TOOLS_NFCDEVICEBUSINESS_H
  5. #define MIFARE_TOOLS_NFCDEVICEBUSINESS_H
  6. #include <DataAccess/NfcDevice.h>
  7. class NfcDeviceBusiness
  8. {
  9. public:
  10. NfcDeviceBusiness(std::shared_ptr<NfcDevice> device);
  11. ResultBool open();
  12. void close();
  13. bool isOpened() const;
  14. const std::string & getConnStr() const;
  15. std::shared_ptr<NfcDevice> getDevice() const;
  16. protected:
  17. std::shared_ptr<NfcDevice> _device;
  18. };
  19. #endif //MIFARE_TOOLS_NFCDEVICEBUSINESS_H