LibreOffice Module onlineupdate (master) 1
Classes | Macros | Functions | Variables
progressui_osx.mm File Reference
#import <Cocoa/Cocoa.h>
#include <stdio.h>
#include <unistd.h>
#include "progressui.h"
#include "readstrings.h"
#include "errors.h"
Include dependency graph for progressui_osx.mm:

Go to the source code of this file.

Classes

class  UpdaterUI
 

Macros

#define TIMER_INTERVAL   0.2
 

Functions

int InitProgressUI (int *pargc, char ***pargv)
 
int ShowProgressUI ()
 
void QuitProgressUI ()
 
void UpdateProgressUI (float progress)
 

Variables

static float sProgressVal
 
static BOOL sQuit = FALSE
 
static StringTable sLabels
 
static const char * sUpdatePath
 

Macro Definition Documentation

◆ TIMER_INTERVAL

#define TIMER_INTERVAL   0.2

Definition at line 14 of file progressui_osx.mm.

Function Documentation

◆ InitProgressUI()

int InitProgressUI ( int pargc,
char ***  pargv 
)

Definition at line 93 of file progressui_osx.mm.

References sUpdatePath.

◆ QuitProgressUI()

void QuitProgressUI ( )

Definition at line 131 of file progressui_osx.mm.

References sQuit, and TRUE.

◆ ShowProgressUI()

int ShowProgressUI ( )

◆ UpdateProgressUI()

void UpdateProgressUI ( float  progress)

Definition at line 138 of file progressui_osx.mm.

References sProgressVal.

Variable Documentation

◆ sLabels

StringTable sLabels
static

Definition at line 18 of file progressui_osx.mm.

Referenced by ShowProgressUI().

◆ sProgressVal

float sProgressVal
static

Definition at line 16 of file progressui_osx.mm.

Referenced by ShowProgressUI(), and UpdateProgressUI().

◆ sQuit

BOOL sQuit = FALSE
static

Definition at line 17 of file progressui_osx.mm.

Referenced by QuitProgressUI(), and ShowProgressUI().

◆ sUpdatePath

const char* sUpdatePath
static

Definition at line 19 of file progressui_osx.mm.

Referenced by InitProgressUI(), and ShowProgressUI().