diff options
Diffstat (limited to 'include/comphelper/lok.hxx')
-rw-r--r-- | include/comphelper/lok.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/comphelper/lok.hxx b/include/comphelper/lok.hxx index 8ddfb5a84fde..ba4745c8e61b 100644 --- a/include/comphelper/lok.hxx +++ b/include/comphelper/lok.hxx @@ -22,6 +22,16 @@ COMPHELPER_DLLPUBLIC void setActive(); COMPHELPER_DLLPUBLIC bool isActive(); +enum class statusIndicatorCallbackType { Start, SetValue, Finish }; + +COMPHELPER_DLLPUBLIC void setStatusIndicatorCallback(void (*callback)(void *data, statusIndicatorCallbackType type, int percent), void *data); + +COMPHELPER_DLLPUBLIC void statusIndicatorStart(); + +COMPHELPER_DLLPUBLIC void statusIndicatorSetValue(int percent); + +COMPHELPER_DLLPUBLIC void statusIndicatorFinish(); + } } |