diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-17 10:59:13 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-21 07:30:23 +0200 |
commit | 1704221067e2bc6ba26eaa83573d29964b413a34 (patch) | |
tree | aaed3556544aa4bee958b9cdd001b061f1af2b32 /include | |
parent | c74ccac7cd94eba052d21cf74e03e214d58942e4 (diff) |
comphelper: add LibreOfficeKit::set/isViewCallback()
Change-Id: Iad0b2ee419327daf478f3ddda2378effe0184067
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/lok.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/comphelper/lok.hxx b/include/comphelper/lok.hxx index 79fa115e6585..2cc38c60e455 100644 --- a/include/comphelper/lok.hxx +++ b/include/comphelper/lok.hxx @@ -36,6 +36,11 @@ COMPHELPER_DLLPUBLIC void setStatusIndicatorCallback(void (*callback)(void *data // Check whether the code is running as invoked through LibreOfficeKit. COMPHELPER_DLLPUBLIC bool isActive(); +/// Check whether clients register a callback for each view. +COMPHELPER_DLLPUBLIC bool isViewCallback(); +/// Set whether clients register a callback for each view. +COMPHELPER_DLLPUBLIC void setViewCallback(bool bViewCallback); + // 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. |