summaryrefslogtreecommitdiff
path: root/include/comphelper/traceevent.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper/traceevent.hxx')
-rw-r--r--include/comphelper/traceevent.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/comphelper/traceevent.hxx b/include/comphelper/traceevent.hxx
index 3c8bedfe8dec..044d1686b35e 100644
--- a/include/comphelper/traceevent.hxx
+++ b/include/comphelper/traceevent.hxx
@@ -43,6 +43,9 @@ private:
return -1;
}
+ static std::size_t s_nBufferSize;
+ static void (*s_pBufferFullCallback)();
+
protected:
static std::atomic<bool> s_bRecording; // true during recording
@@ -99,6 +102,7 @@ public:
static void startRecording();
static void stopRecording();
+ static void setBufferSizeAndCallback(std::size_t bufferSize, void (*bufferFullCallback)());
static std::vector<OUString> getEventVectorAndClear();