|
Electroneum
|
#include <cstddef>#include <string>#include "device.hpp"#include "log.hpp"#include "device_io_hid.hpp"#include <boost/thread/mutex.hpp>#include <boost/thread/recursive_mutex.hpp>

Go to the source code of this file.
Namespaces | |
| hw | |
| hw::ledger | |
Macros | |
| #define | MINIMAL_APP_VERSION_MAJOR 1 |
| #define | MINIMAL_APP_VERSION_MINOR 0 |
| #define | MINIMAL_APP_VERSION_MICRO 0 |
| #define | VERSION(M, m, u) ((M)<<16|(m)<<8|(u)) |
| #define | VERSION_MAJOR(v) (((v)>>16)&0xFF) |
| #define | VERSION_MINOR(v) (((v)>>8)&0xFF) |
| #define | VERSION_MICRO(v) (((v)>>0)&0xFF) |
| #define | MINIMAL_APP_VERSION VERSION(MINIMAL_APP_VERSION_MAJOR, MINIMAL_APP_VERSION_MINOR, MINIMAL_APP_VERSION_MICRO) |
Functions | |
| void | hw::ledger::register_all (std::map< std::string, std::unique_ptr< device >> ®istry) |
| #define MINIMAL_APP_VERSION VERSION(MINIMAL_APP_VERSION_MAJOR, MINIMAL_APP_VERSION_MINOR, MINIMAL_APP_VERSION_MICRO) |
Definition at line 55 of file device_ledger.hpp.
| #define MINIMAL_APP_VERSION_MAJOR 1 |
Definition at line 46 of file device_ledger.hpp.
| #define MINIMAL_APP_VERSION_MICRO 0 |
Definition at line 48 of file device_ledger.hpp.
| #define MINIMAL_APP_VERSION_MINOR 0 |
Definition at line 47 of file device_ledger.hpp.
| #define VERSION | ( | M, | |
| m, | |||
| u | |||
| ) | ((M)<<16|(m)<<8|(u)) |
Definition at line 50 of file device_ledger.hpp.
| #define VERSION_MAJOR | ( | v | ) | (((v)>>16)&0xFF) |
Definition at line 51 of file device_ledger.hpp.
| #define VERSION_MICRO | ( | v | ) | (((v)>>0)&0xFF) |
Definition at line 53 of file device_ledger.hpp.
| #define VERSION_MINOR | ( | v | ) | (((v)>>8)&0xFF) |
Definition at line 52 of file device_ledger.hpp.