12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //
- // Created by robin on 6/19/16.
- //
-
- #ifndef MIFARE_TOOLS_LIBNFC_H
- #define MIFARE_TOOLS_LIBNFC_H
-
- #include <memory>
- #include <nfc/nfc.h>
- #include "NfcDeviceInternal.h"
- #include "libnfc_cpptools/Result.h"
-
- namespace LibNfc
- {
- namespace Core
- {
-
- class NfcDeviceInternal;
-
- class LibNfcInternal
- {
- public:
- LibNfcInternal();
- virtual ~LibNfcInternal();
-
- LibNfc::Utils::ResultBool init();
-
- void clean();
-
- LibNfc::Utils::Result<std::vector<std::shared_ptr<NfcDeviceInternal>>> getDevices() const;
-
- static std::string getVersion();
-
- nfc_context* getContext() const;
-
- protected:
- nfc_context* _context;
- };
-
- }; // Core
- }; // LibNfc
-
- #endif //MIFARE_TOOLS_LIBNFC_H
|