Monero
Loading...
Searching...
No Matches
device.hpp File Reference
#include "crypto/crypto.h"
#include "crypto/chacha.h"
#include "ringct/rctTypes.h"
#include "cryptonote_config.h"
Include dependency graph for device.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hw::device_progress
class  hw::i_device_callback
class  hw::device
struct  hw::reset_mode
class  hw::device_registry

Namespaces

namespace  cryptonote
 Holds cryptonote related classes and helpers.
namespace  hw

Macros

#define USE_DEVICE_LEDGER   1
#define USE_DEVICE_LEDGER   0
#define dfns()

Functions

devicehw::get_device (const std::string &device_descriptor)
bool hw::register_device (const std::string &device_name, device *hw_device)

Macro Definition Documentation

◆ dfns

#define dfns ( )
Value:
throw std::runtime_error(std::string("device function not supported: ")+ std::string(__FUNCTION__) + \
std::string(" (device.hpp line ")+std::to_string(__LINE__)+std::string(").")); \
return false;

◆ USE_DEVICE_LEDGER [1/2]

#define USE_DEVICE_LEDGER   0

◆ USE_DEVICE_LEDGER [2/2]

#define USE_DEVICE_LEDGER   1