133 #ifndef OPENTXS_CLIENT_OTRECORDLIST_HPP
134 #define OPENTXS_CLIENT_OTRECORDLIST_HPP
159 const std::string& str_id,
160 const std::string* p_server_id =
nullptr)
const;
163 const std::string& str_id,
164 const std::string* p_nym_id =
nullptr,
165 const std::string* p_server_id =
nullptr,
166 const std::string* p_asset_id =
nullptr)
const;
168 EXPORT
virtual std::string
GetAddressName(
const std::string& str_address)
213 const std::string& str_id,
214 const std::string* p_server_id =
nullptr)
const;
217 const std::string& str_id,
218 const std::string* p_nym_id =
nullptr,
219 const std::string* p_server_id =
nullptr,
220 const std::string* p_asset_id =
nullptr)
const;
222 EXPORT std::string
GetAddressName(
const std::string& str_address)
const;
226 OTLookupCaller& theCaller);
242 bool m_bAutoAcceptCheques;
243 bool m_bAutoAcceptReceipts;
244 bool m_bAutoAcceptTransfers;
245 bool m_bAutoAcceptCash;
246 static std::string s_strTextTo;
247 static std::string s_strTextFrom;
253 static const std::string s_blank;
254 static const std::string s_message_type;
269 return s_strTextTo.c_str();
273 return s_strTextFrom.c_str();
282 s_strTextFrom = text;
301 EXPORT
void SetNymID(std::string str_id);
302 EXPORT
void AddNymID(std::string str_id);
337 const std::string& str_msg_id,
339 bool bIsOutgoing, int32_t nMethodID,
340 const std::string& str_contents,
342 const std::string& str_address,
const std::string& str_other_address,
343 const std::string& str_type,
const std::string& str_type_display,
347 EXPORT int32_t
size()
const;
348 EXPORT std::shared_ptr<OTRecord>
GetRecord(int32_t nIndex);
354 #endif // OPENTXS_CLIENT_OTRECORDLIST_HPP
EXPORT bool DoesAcceptReceiptsAutomatically() const
virtual EXPORT ~OTNameLookup()
EXPORT void SetServerID(std::string str_id)
static OTLookupCaller * s_pCaller
static bool setAddrBookCaller(OTLookupCaller &theCaller)
EXPORT void AddSpecialMsg(const std::string &str_msg_id, bool bIsOutgoing, int32_t nMethodID, const std::string &str_contents, const std::string &str_address, const std::string &str_other_address, const std::string &str_type, const std::string &str_type_display, std::string str_my_nym_id="", time64_t tDate=OT_TIME_ZERO)
EXPORT bool RemoveRecord(int32_t nIndex)
std::weak_ptr< OTRecord > weak_ptr_OTRecord
std::vector< shared_ptr_OTRecord > vec_OTRecordList
std::list< std::string > list_of_strings
EXPORT void AddAssetID(std::string str_id)
EXPORT std::string GetAddressName(const std::string &str_address) const
static EXPORT void setTextTo(std::string text)
EXPORT void SetNymID(std::string str_id)
virtual EXPORT std::string GetAcctName(const std::string &str_id, const std::string *p_nym_id=nullptr, const std::string *p_server_id=nullptr, const std::string *p_asset_id=nullptr) const
EXPORT bool DoesAcceptCashAutomatically() const
EXPORT void ClearAssets()
EXPORT void delCallback()
EXPORT bool DoesAcceptChequesAutomatically() const
EXPORT void ClearContents()
EXPORT void SetAssetID(std::string str_id)
virtual EXPORT std::string GetAddressName(const std::string &str_address) const
EXPORT void AcceptReceiptsAutomatically(bool bVal=true)
EXPORT const list_of_strings & GetNyms() const
EXPORT void setCallback(OTNameLookup *cb)
EXPORT void SetAccountID(std::string str_id)
EXPORT void ClearServers()
virtual EXPORT std::string GetNymName(const std::string &str_id, const std::string *p_server_id=nullptr) const
EXPORT void AcceptTransfersAutomatically(bool bVal=true)
EXPORT void AddServerID(std::string str_id)
EXPORT std::shared_ptr< OTRecord > GetRecord(int32_t nIndex)
EXPORT void ClearAccounts()
EXPORT OTNameLookup * getCallback()
EXPORT std::string GetNymName(const std::string &str_id, const std::string *p_server_id=nullptr) const
EXPORT void AcceptChequesAutomatically(bool bVal=true)
static EXPORT const char * textFrom()
static EXPORT void setTextFrom(std::string text)
EXPORT void AddAccountID(std::string str_id)
EXPORT std::string GetAcctName(const std::string &str_id, const std::string *p_nym_id=nullptr, const std::string *p_server_id=nullptr, const std::string *p_asset_id=nullptr) const
std::map< std::string, std::string > map_of_strings
std::shared_ptr< OTRecord > shared_ptr_OTRecord
EXPORT void AcceptCashAutomatically(bool bVal=true)
EXPORT int32_t size() const
EXPORT bool DoesAcceptTransfersAutomatically() const
static OTLookupCaller * getAddrBookCaller()
static EXPORT const char * textTo()
EXPORT bool PerformAutoAccept()
EXPORT bool isCallbackSet() const
EXPORT void SetFastMode()
EXPORT bool OT_API_Set_AddrBookCallback(OTLookupCaller &theCaller)
EXPORT void AddNymID(std::string str_id)
EXPORT void SortRecords()