Update-Installer/src/UpdateDialogCocoa.h
Robert Knight 93f58e77da Remove un-implemented updateRetryCancel() method from UpdateObserver
The current update dialogs do not support retry/cancel - if a file
cannot be installed the update will just fail with an error and
any partial install will be reverted.
2011-08-26 15:17:59 +01:00

27 lines
513 B
C++

#pragma once
#include "UpdateObserver.h"
class UpdateDialogPrivate;
class UpdateDialogCocoa : public UpdateObserver
{
public:
UpdateDialogCocoa();
~UpdateDialogCocoa();
void init();
void exec();
// implements UpdateObserver
virtual void updateError(const std::string& errorMessage);
virtual void updateProgress(int percentage);
virtual void updateFinished();
static void* createAutoreleasePool();
static void releaseAutoreleasePool(void* data);
private:
UpdateDialogPrivate* d;
};