Go to the SVN repository for this file.
1 #ifndef GUI_OBJUTILS___UI_DATA_SOURCE_NOTIF__HPP 2 #define GUI_OBJUTILS___UI_DATA_SOURCE_NOTIF__HPP 61 CUpdate(
int type,
const string&
msg,
doubleprogress_norm = 0.5);
65 const string& GetMessage()
const;
66 doubleGetProgressNorm()
const;
89 virtual voidSetListener(IListener* pListener);
90 virtualIListener* GetListener();
92 virtual voidNotifyListener(CUpdate& update);
110: m_Type(
type), m_Msg(
msg), m_ProgressNorm(progress_norm)
136 returnm_ProgressNorm;
CUpdate - notification send by CUIDataSource to the listener.
const string & GetMessage() const
double GetProgressNorm() const
CDataChangeNotifier listener receiving notification about changes in data(source)
virtual void OnDSChanged(CUpdate &update)=0
Data notification relay class, sends data change notifications to the subscribed listener.
virtual ~CDataChangeNotifier()
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIOBJUTILS_EXPORT
Defines to provide correct exporting from DLLs in Windows.
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
@ eError
An error was encountered while trying to send request or to read and to process the reply.
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
const string & CDCN_GetMessage(const CDataChangeNotifier::CUpdate &update)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4