mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-30 05:39:03 +01:00
fixed SF# 3496493, 3495656
This commit is contained in:
parent
0dc113b2f3
commit
d9cf671330
@ -121,9 +121,9 @@ public:
|
||||
static const int MIN_PROGRESS_NOTIFICATION_INTERVAL;
|
||||
|
||||
protected:
|
||||
void postNotification(Notification* pNf);
|
||||
/// Posts a notification to the task manager's
|
||||
/// notification center.
|
||||
void postNotification(const Notification::Ptr& pNf);
|
||||
/// Posts a notification to the task manager's
|
||||
/// notification center.
|
||||
|
||||
void taskStarted(Task* pTask);
|
||||
void taskProgress(Task* pTask, float progress);
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include <cstdio>
|
||||
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#define I64_FMT "I64"
|
||||
#elif defined(__APPLE__)
|
||||
#define I64_FMT "q"
|
||||
|
@ -46,11 +46,11 @@
|
||||
|
||||
|
||||
#if defined(POCO_LONG_IS_64_BIT)
|
||||
#define I64_FMT "l"
|
||||
#elif defined(_MSC_VER)
|
||||
#define I64_FMT "I64"
|
||||
#define I64_FMT "l"
|
||||
#elif defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#define I64_FMT "I64"
|
||||
#elif defined(__APPLE__)
|
||||
#define I64_FMT "q"
|
||||
#define I64_FMT "q"
|
||||
#else
|
||||
#define I64_FMT "ll"
|
||||
#endif
|
||||
|
@ -122,7 +122,7 @@ void TaskManager::removeObserver(const AbstractObserver& observer)
|
||||
}
|
||||
|
||||
|
||||
void TaskManager::postNotification(Notification* pNf)
|
||||
void TaskManager::postNotification(const Notification::Ptr& pNf)
|
||||
{
|
||||
_nc.postNotification(pNf);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user