Move code out of main.cpp
This commit is contained in:
parent
418d0af70f
commit
18e5317baf
7 changed files with 117 additions and 82 deletions
|
@ -19,6 +19,10 @@
|
|||
|
||||
#include "ticker_price.hpp"
|
||||
|
||||
namespace wren {
|
||||
class VM;
|
||||
} //namespace wren
|
||||
|
||||
namespace duck {
|
||||
enum class BitcoinityMatchType {
|
||||
Any,
|
||||
|
@ -27,11 +31,13 @@ enum class BitcoinityMatchType {
|
|||
ExchangeOnly
|
||||
};
|
||||
|
||||
extern const std::string_view g_bitcoinity_wren_module;
|
||||
|
||||
TickerPrice bitcoinity_ticker_price (
|
||||
std::string_view exchange,
|
||||
std::string_view currency,
|
||||
BitcoinityMatchType match_type
|
||||
);
|
||||
|
||||
extern const std::string_view g_bitcoinity_wren_module;
|
||||
void register_bitcoinity_to_wren (wren::VM& vm);
|
||||
} //namespace duck
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue