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