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/. */
10 #include "updatedefines.h"
19 // Called to perform any initialization of the widget toolkit
20 int InitProgressUI(int* argc
, NS_tchar
*** argv
);
23 // Called on the main thread at startup
24 int ShowProgressUI(bool indeterminate
= false, bool initUIStrings
= true);
25 int InitProgressUIStrings();
27 // Called on the main thread at startup
30 // May be called from any thread
31 void QuitProgressUI();
33 // May be called from any thread: progress is a number between 0 and 100
34 void UpdateProgressUI(float progress
);
36 #endif // PROGRESSUI_H__