LibreOffice Module onlineupdate (master)
1
onlineupdate
source
update
updater
progressui.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2
/* vim:set ts=2 sw=2 sts=2 et cindent: */
3
/* This Source Code Form is subject to the terms of the Mozilla Public
4
* License, v. 2.0. If a copy of the MPL was not distributed with this
5
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7
#ifndef PROGRESSUI_H__
8
#define PROGRESSUI_H__
9
10
#include "
updatedefines.h
"
11
#include "types.hxx"
12
13
#if defined(_WIN32)
14
#define NS_main wmain
15
#else
16
#define NS_main main
17
#endif
18
19
// Called to perform any initialization of the widget toolkit
20
int
InitProgressUI
(
int
* argc,
NS_tchar
*** argv);
21
22
#if defined(_WIN32)
23
// Called on the main thread at startup
24
int
ShowProgressUI
(
bool
indeterminate =
false
,
bool
initUIStrings =
true
);
25
int
InitProgressUIStrings();
26
#else
27
// Called on the main thread at startup
28
int
ShowProgressUI
();
29
#endif
30
// May be called from any thread
31
void
QuitProgressUI
();
32
33
// May be called from any thread: progress is a number between 0 and 100
34
void
UpdateProgressUI
(
float
progress);
35
36
#endif
// PROGRESSUI_H__
ShowProgressUI
int ShowProgressUI()
Definition:
progressui_gonk.cxx:24
QuitProgressUI
void QuitProgressUI()
Definition:
progressui_gonk.cxx:30
UpdateProgressUI
void UpdateProgressUI(float progress)
Definition:
progressui_gonk.cxx:35
InitProgressUI
int InitProgressUI(int *argc, NS_tchar ***argv)
Definition:
progressui_gonk.cxx:19
NS_tchar
char NS_tchar
Definition:
types.hxx:20
updatedefines.h
Generated on Sun Jul 30 2023 04:39:37 for LibreOffice Module onlineupdate (master) by
1.9.3