Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

LibNfcBusiness.h 624B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // Created by robin on 7/22/16.
  3. //
  4. #ifndef MIFARE_TOOLS_LIBNFCBUSINESS_H
  5. #define MIFARE_TOOLS_LIBNFCBUSINESS_H
  6. #include <DBO/Result.h>
  7. #include <DataAccess/LibNfc.h>
  8. #include "NfcDeviceBusiness.h"
  9. class LibNfcBusiness
  10. {
  11. public:
  12. LibNfcBusiness();
  13. virtual ~LibNfcBusiness();
  14. ResultBool init();
  15. void clean();
  16. bool isInitialized() const;
  17. Result<std::vector<std::shared_ptr<NfcDeviceBusiness>>> getDevices() const;
  18. std::shared_ptr<LibNfc> getLibNfc() const;
  19. static std::string getVersion();
  20. protected:
  21. std::shared_ptr<LibNfc> _libNfc;
  22. };
  23. #endif //MIFARE_TOOLS_LIBNFCBUSINESS_H