summaryrefslogtreecommitdiff
path: root/include/comphelper/profilezone.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-04-14 12:47:14 +0300
committerTor Lillqvist <tml@collabora.com>2021-04-27 09:01:24 +0200
commit5a7903fcb9e22904cf87117015a78e185de04698 (patch)
tree60bf3c5ffea1c31abb776381881d2ecff368f8ea /include/comphelper/profilezone.hxx
parent24418700059d2b6826f800d265f52061c48c34e5 (diff)
Clarify the ProfileRecording API
Instead of a startRecording(bool) function that is used to also stop recording, have separate startRecording() and stopRecording() functions that do what they say. Change-Id: Ifa9ea0e530d5d38baa52f685fc1dc0029d30d023 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114081 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114652
Diffstat (limited to 'include/comphelper/profilezone.hxx')
-rw-r--r--include/comphelper/profilezone.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/comphelper/profilezone.hxx b/include/comphelper/profilezone.hxx
index f1276e64cd67..0c0df2089c98 100644
--- a/include/comphelper/profilezone.hxx
+++ b/include/comphelper/profilezone.hxx
@@ -24,7 +24,8 @@ namespace comphelper
{
namespace ProfileRecording
{
-COMPHELPER_DLLPUBLIC void startRecording(bool bRecording);
+COMPHELPER_DLLPUBLIC void startRecording();
+COMPHELPER_DLLPUBLIC void stopRecording();
COMPHELPER_DLLPUBLIC long long addRecording(const char* aProfileId, long long aCreateTime);