summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2021-07-08 16:21:46 -0400
committerAndras Timar <andras.timar@collabora.com>2021-07-15 15:21:45 +0200
commit0e7021de592b07894c57ab920acb40e10be8b26e (patch)
tree00ef5d94c6215091f7a12127a87deed0bb23d42b /include
parent03ec34f3a556f67c6cf812e9543c15fb1f618383 (diff)
lok: include the label of the status indicator
Change-Id: Ib2714e3d2b6add54ffba753d3519aeba7a3f1959 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118658 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/comphelper/lok.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/comphelper/lok.hxx b/include/comphelper/lok.hxx
index 07b8ef6aa426..99f3dd30dfce 100644
--- a/include/comphelper/lok.hxx
+++ b/include/comphelper/lok.hxx
@@ -33,7 +33,8 @@ enum class statusIndicatorCallbackType
};
COMPHELPER_DLLPUBLIC void setStatusIndicatorCallback(
- void (*callback)(void* data, statusIndicatorCallbackType type, int percent), void* data);
+ void (*callback)(void* data, statusIndicatorCallbackType type, int percent, const char* pText),
+ void* data);
// Functions that can be called from arbitrary places in LibreOffice.
@@ -104,7 +105,7 @@ COMPHELPER_DLLPUBLIC bool isAllowlistedLanguage(const OUString& lang);
// Status indicator handling. Even if in theory there could be several status indicators active at
// the same time, in practice there is only one at a time, so we don't handle any identification of
// status indicator in this API.
-COMPHELPER_DLLPUBLIC void statusIndicatorStart();
+COMPHELPER_DLLPUBLIC void statusIndicatorStart(const OUString& sText);
COMPHELPER_DLLPUBLIC void statusIndicatorSetValue(int percent);
COMPHELPER_DLLPUBLIC void statusIndicatorFinish();
}