Go to the SVN repository for this file.
1 #ifndef GUI_UTILS__USAGE_REPORT_JOB__HPP 2 #define GUI_UTILS__USAGE_REPORT_JOB__HPP 79 virtualEJobState
Run();
89 static boolIsEnabled();
92 static voidSetEnabled(
boolenable =
true);
94 static voidSaveSettings();
95 static voidLoadSettings();
100 static stringx_GetOS();
101 static stringx_GetGbenchVersion();
121 #define REPORT_USAGE(event, args) \ 124 if (!CUsageReportJob::IsEnabled()) \ 126 CReportParams params; \ 127 params.Add("jsevent", (event)) args; \
128CUsageReportJob::ReportUsage(params); \
Temporary object for holding extra report arguments.
std::map< string, string > TStringMap
virtual string GetDescr() const
Returns a human readable description of the Job (optional)
virtual CConstIRef< IAppJobProgress > GetProgress()
return progress object, the function shall be synchronized internally.
static volatile unsigned m_FailedAttempts
virtual void RequestCancel()
RequestCancel() is called to notify the Job that it shall exit Run() function ASAP.
virtual bool IsCanceled() const
virtual CConstIRef< IAppJobError > GetError()
Returns IAppJobError object describing internal error that caused the Job to fail.
virtual CRef< CObject > GetResult()
Returns the Job Result.
static std::mutex m_VersionStringMutex
version string access mutex
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
void Run(void)
Enter the main loop.
#define NCBI_GUIOBJUTILS_EXPORT
Defines to provide correct exporting from DLLs in Windows.
void ReportUsage(const wxString &dialog_name)
Report opening & accepting events in the editing package.
const GenericPointer< typename T::ValueType > T2 value
Multi-threading â mutexes; rw-locks; semaphore.
The NCBI C++/STL use hints.
string ToString(const wxRect &rc)
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