summaryrefslogtreecommitdiff
path: root/framework/inc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-05-06 16:18:42 +0300
committerTor Lillqvist <tml@collabora.com>2015-05-06 17:55:58 +0300
commita00cd9025b017c86431db17ca7076f7434462fd7 (patch)
tree781335898b0a25691959ae272d448603c6d677cf /framework/inc
parent44724236a014072a5a5012a9e77fb9d2a903fe1d (diff)
Add support for progress bar callbacks to LibreOfficeKit clients
The framework bits. Change-Id: I9cbd649c7766284bfcf8846d2b5e129dd2731ee8
Diffstat (limited to 'framework/inc')
-rw-r--r--framework/inc/helper/statusindicator.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/inc/helper/statusindicator.hxx b/framework/inc/helper/statusindicator.hxx
index e8928e2d9b0e..6043cf2a2071 100644
--- a/framework/inc/helper/statusindicator.hxx
+++ b/framework/inc/helper/statusindicator.hxx
@@ -68,6 +68,10 @@ class StatusIndicator : public ::cppu::WeakImplHelper1< css::task::XStatusIndic
*/
css::uno::WeakReference< css::task::XStatusIndicatorFactory > m_xFactory;
+ sal_Int32 m_nRange;
+ // We want the callback percentages to increase monotonically
+ int m_nLastCallbackPercent;
+
// c++ interface
public: