Changeset View
Changeset View
Standalone View
Standalone View
src/ui_interface.h
Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Lines | #define ADD_SIGNALS_DECL_WRAPPER(signal_name, rtype, args...) \ | ||||
/** Best header has changed */ | /** Best header has changed */ | ||||
ADD_SIGNALS_DECL_WRAPPER(NotifyHeaderTip, void, bool, const CBlockIndex *); | ADD_SIGNALS_DECL_WRAPPER(NotifyHeaderTip, void, bool, const CBlockIndex *); | ||||
/** Banlist did change. */ | /** Banlist did change. */ | ||||
ADD_SIGNALS_DECL_WRAPPER(BannedListChanged, void, void); | ADD_SIGNALS_DECL_WRAPPER(BannedListChanged, void, void); | ||||
}; | }; | ||||
/** Show warning message **/ | /** Show warning message **/ | ||||
// TODO: InitWarning() should take a bilingual_str parameter. | |||||
void InitWarning(const std::string &str); | void InitWarning(const std::string &str); | ||||
/** Show error message **/ | /** Show error message **/ | ||||
bool InitError(const std::string &str); | bool InitError(const bilingual_str &str); | ||||
extern CClientUIInterface uiInterface; | extern CClientUIInterface uiInterface; | ||||
#endif // BITCOIN_UI_INTERFACE_H | #endif // BITCOIN_UI_INTERFACE_H |