Changeset View
Changeset View
Standalone View
Standalone View
src/ui_interface.cpp
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
void CClientUIInterface::NotifyHeaderTip(bool b, const CBlockIndex *i) { | void CClientUIInterface::NotifyHeaderTip(bool b, const CBlockIndex *i) { | ||||
return g_ui_signals.NotifyHeaderTip(b, i); | return g_ui_signals.NotifyHeaderTip(b, i); | ||||
} | } | ||||
void CClientUIInterface::BannedListChanged() { | void CClientUIInterface::BannedListChanged() { | ||||
return g_ui_signals.BannedListChanged(); | return g_ui_signals.BannedListChanged(); | ||||
} | } | ||||
bool InitError(const std::string &str) { | bool InitError(const bilingual_str &str) { | ||||
uiInterface.ThreadSafeMessageBox(Untranslated(str), "", | uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_ERROR); | ||||
CClientUIInterface::MSG_ERROR); | |||||
return false; | return false; | ||||
} | } | ||||
void InitWarning(const std::string &str) { | void InitWarning(const std::string &str) { | ||||
uiInterface.ThreadSafeMessageBox(Untranslated(str), "", | uiInterface.ThreadSafeMessageBox(Untranslated(str), "", | ||||
CClientUIInterface::MSG_WARNING); | CClientUIInterface::MSG_WARNING); | ||||
} | } |