12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- //
- // Created by robin on 6/19/16.
- //
-
- #ifndef MIFARE_TOOLS_NFCDEVICEDBO_H
- #define MIFARE_TOOLS_NFCDEVICEDBO_H
-
-
- #include <string>
- #include <nfc/nfc-types.h>
- #include "libnfc_cpptools/Result.h"
- #include "LibNfcInternal.h"
-
- namespace LibNfc
- {
- namespace Core
- {
-
- class LibNfcInternal;
-
- class NfcDeviceInternal
- {
- public:
- NfcDeviceInternal(const LibNfcInternal* libNfc, const std::string& connStr);
- ~NfcDeviceInternal();
-
- LibNfc::Utils::ResultBool open();
-
- void close();
-
- const std::string & getConnStr() const;
-
- nfc_device * getDevice() const;
-
- private:
- std::string _connStr;
-
- nfc_device* _device;
-
- const LibNfcInternal* _libNfc;
- };
-
- }; // Core
- }; // LibNfc
-
- #endif //MIFARE_TOOLS_NFCDEVICEDBO_H
|