From c529623457889a67473f773d080941903e2784fc Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Mon, 3 Oct 2011 16:36:26 +0100 Subject: generic: re-work X error push/pop and error message handling --- vcl/inc/generic/gendata.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vcl/inc/generic') diff --git a/vcl/inc/generic/gendata.hxx b/vcl/inc/generic/gendata.hxx index 0392adc9eae9..ef7725f6a559 100644 --- a/vcl/inc/generic/gendata.hxx +++ b/vcl/inc/generic/gendata.hxx @@ -73,6 +73,10 @@ class VCL_DLLPUBLIC SalGenericData : public SalData return m_eType; } + // Mostly useful for remote protocol backends + virtual void ErrorTrapPush() = 0; + virtual bool ErrorTrapPop( bool bIgnoreError = true ) = 0; // true on error + // Not the prettiest - but helpful for migrating old code ... inline SalDisplay *GetSalDisplay() const { -- cgit