Update-Installer/src/UpdateDialogCocoa.h

28 lines
513 B
C
Raw Normal View History

#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;
};