Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoinunits.h
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | |||||
public: | public: | ||||
explicit BitcoinUnits(QObject *parent); | explicit BitcoinUnits(QObject *parent); | ||||
/** | /** | ||||
* Bitcoin units (Bitcoin Cash unit work the same as Bitoin). | * Bitcoin units (Bitcoin Cash unit work the same as Bitoin). | ||||
* @note Source: https://en.bitcoin.it/wiki/Units. | * @note Source: https://en.bitcoin.it/wiki/Units. | ||||
* Please add only sensible ones. | * Please add only sensible ones. | ||||
*/ | */ | ||||
enum Unit { BCC, mBCC, uBCC }; | enum Unit { BCH, mBCH, uBCH }; | ||||
enum SeparatorStyle { separatorNever, separatorStandard, separatorAlways }; | enum SeparatorStyle { separatorNever, separatorStandard, separatorAlways }; | ||||
//! @name Static API | //! @name Static API | ||||
//! Unit conversion and formatting | //! Unit conversion and formatting | ||||
///@{ | ///@{ | ||||
//! Get list of units, for drop-down box | //! Get list of units, for drop-down box | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |