summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/vcl/dockwin.hxx7
-rw-r--r--include/vcl/syswin.hxx7
-rw-r--r--include/vcl/timer.hxx2
3 files changed, 15 insertions, 1 deletions
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx
index aa5dced2d19e..c6d8fdb065f9 100644
--- a/include/vcl/dockwin.hxx
+++ b/include/vcl/dockwin.hxx
@@ -248,6 +248,8 @@ private:
DockingWindow & operator= (const DockingWindow &) = delete;
protected:
+ SAL_DLLPRIVATE void SetIdleDebugName( const sal_Char *pDebugName );
+
using Window::ImplInit;
SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle );
SAL_DLLPRIVATE void ImplInitSettings();
@@ -362,6 +364,11 @@ inline void DockingWindow::SetFloatingPos( const Point& rNewPos )
maFloatPos = rNewPos;
}
+inline void DockingWindow::SetIdleDebugName( const sal_Char *pDebugName )
+{
+ maLayoutIdle.SetDebugName( pDebugName );
+}
+
#endif // INCLUDED_VCL_DOCKWIN_HXX
diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx
index 971cd604de48..a0c3b6972059 100644
--- a/include/vcl/syswin.hxx
+++ b/include/vcl/syswin.hxx
@@ -189,6 +189,8 @@ protected:
virtual void settingOptimalLayoutSize(Window *pBox);
SAL_DLLPRIVATE void DoInitialLayout();
+
+ SAL_DLLPRIVATE void SetIdleDebugName( const sal_Char *pDebugName );
public:
virtual ~SystemWindow() override;
virtual void dispose() override;
@@ -286,6 +288,11 @@ public:
virtual void doDeferredInit(WinBits nBits);
};
+inline void SystemWindow::SetIdleDebugName( const sal_Char *pDebugName )
+{
+ maLayoutIdle.SetDebugName( pDebugName );
+}
+
#endif // INCLUDED_VCL_SYSWIN_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/vcl/timer.hxx b/include/vcl/timer.hxx
index 149ba9099ac9..0e32810b9d12 100644
--- a/include/vcl/timer.hxx
+++ b/include/vcl/timer.hxx
@@ -56,7 +56,7 @@ public:
class VCL_DLLPUBLIC AutoTimer : public Timer
{
public:
- AutoTimer();
+ AutoTimer( const sal_Char *pDebugName = nullptr );
AutoTimer( const AutoTimer& rTimer );
AutoTimer& operator=( const AutoTimer& rTimer );