4 #ifndef DJINNI_GENERATED_WALLET_HPP     5 #define DJINNI_GENERATED_WALLET_HPP    11 #ifndef LIBCORE_EXPORT    13        #include <libcore_export.h>    15        #define LIBCORE_EXPORT    19 namespace ledger { 
namespace core { 
namespace api {
    21 class AccountCallback;
    22 class AccountCreationInfoCallback;
    23 class AccountListCallback;
    24 class BitcoinLikeWallet;
    27 class ErrorCodeCallback;
    29 class ExtendedKeyAccountCreationInfoCallback;
    34 struct AccountCreationInfo;
    36 struct ExtendedKeyAccountCreationInfo;
    47     virtual std::string getName() = 0;
    54     virtual void getAccount(int32_t index, 
const std::shared_ptr<AccountCallback> & callback) = 0;
    60     virtual void getAccountCount(
const std::shared_ptr<I32Callback> & callback) = 0;
    68     virtual void getAccounts(int32_t offset, int32_t count, 
const std::shared_ptr<AccountListCallback> & callback) = 0;
    74     virtual void getNextAccountIndex(
const std::shared_ptr<I32Callback> & callback) = 0;
    80     virtual std::shared_ptr<EventBus> getEventBus() = 0;
    86     virtual bool isSynchronizing() = 0;
    92     virtual std::shared_ptr<EventBus> synchronize() = 0;
    98     virtual std::shared_ptr<Preferences> getPreferences() = 0;
   104     virtual std::shared_ptr<Logger> getLogger() = 0;
   111     virtual std::shared_ptr<Preferences> getAccountPreferences(int32_t index) = 0;
   117     virtual std::shared_ptr<BitcoinLikeWallet> asBitcoinLikeWallet() = 0;
   129     virtual bool isInstanceOfBitcoinLikeWallet() = 0;
   135     virtual bool isInstanceOfEthereumLikeWallet() = 0;
   141     virtual bool isInstanceOfRippleLikeWallet() = 0;
   153     virtual void getLastBlock(
const std::shared_ptr<BlockCallback> & callback) = 0;
   160     virtual void getAccountCreationInfo(int32_t accountIndex, 
const std::shared_ptr<AccountCreationInfoCallback> & callback) = 0;
   163     virtual void getExtendedKeyAccountCreationInfo(int32_t accountIndex, 
const std::shared_ptr<ExtendedKeyAccountCreationInfoCallback> & callback) = 0;
   169     virtual void getNextAccountCreationInfo(
const std::shared_ptr<AccountCreationInfoCallback> & callback) = 0;
   172     virtual void getNextExtendedKeyAccountCreationInfo(
const std::shared_ptr<ExtendedKeyAccountCreationInfoCallback> & callback) = 0;
   179     virtual void newAccountWithInfo(
const AccountCreationInfo & accountCreationInfo, 
const std::shared_ptr<AccountCallback> & callback) = 0;
   182     virtual void newAccountWithExtendedKeyInfo(
const ExtendedKeyAccountCreationInfo & extendedKeyAccountCreationInfo, 
const std::shared_ptr<AccountCallback> & callback) = 0;
   188     virtual void eraseDataSince(
const std::chrono::system_clock::time_point & date, 
const std::shared_ptr<ErrorCodeCallback> & callback) = 0;
   191     virtual std::shared_ptr<DynamicObject> getConfiguration() = 0;
   195 #endif //DJINNI_GENERATED_WALLET_HPP Definition: ExtendedKeyAccountCreationInfo.hpp:16
Definition: Wallet.hpp:39
Definition: Currency.hpp:23
Definition: Account.cpp:8
WalletType
Definition: WalletType.hpp:20
Definition: AccountCreationInfo.hpp:16