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.

FreeFareDevice.h 648B

12345678910111213141516171819202122232425262728293031323334
  1. //
  2. // Created by robin on 7/22/16.
  3. //
  4. #ifndef MIFARE_TOOLS_FREEFAREDEVICEBUSINESS_H
  5. #define MIFARE_TOOLS_FREEFAREDEVICEBUSINESS_H
  6. #include "NfcDevice.h"
  7. #include "FreeFareTag.h"
  8. namespace LibNfc
  9. {
  10. namespace FreeFare
  11. {
  12. class FreeFareDeviceInternal;
  13. class FreeFareDevice
  14. {
  15. public:
  16. FreeFareDevice(std::shared_ptr<LibNfc::Core::NfcDevice> device);
  17. LibNfc::Utils::Result<std::vector<std::shared_ptr<FreeFareTag>>> getTags() const;
  18. protected:
  19. std::shared_ptr<LibNfc::Core::NfcDevice> _device;
  20. std::shared_ptr<FreeFareDeviceInternal> _freeFareDevice;
  21. };
  22. }; // FreeFare
  23. }; // LibNfc
  24. #endif //MIFARE_TOOLS_FREEFAREDEVICEBUSINESS_H