fixed SF# 3496493, 3495656

This commit is contained in:
Aleksandar Fabijanic 2012-08-22 02:40:41 +00:00
parent 0dc113b2f3
commit d9cf671330
4 changed files with 9 additions and 9 deletions

View File

@ -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);

View File

@ -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"

View File

@ -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

View File

@ -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);
}